Example #1
0
 bool operator==(Rotatable const& _lhs, Rotatable const& _rhs)
 {
   return
     OMNI_TEST_MEMBER_EQUAL(yaw_) &&
     OMNI_TEST_MEMBER_EQUAL(pitch_) &&
     OMNI_TEST_MEMBER_EQUAL(yaw_);
 }
Example #2
0
 /// Test for equality. ScreenSetup is ignored
 bool  operator==(Tracker const& _lhs,
                  Tracker const& _rhs)
 {
   return
     OMNI_TEST_MEMBER_EQUAL(center_) &&
     OMNI_TEST_MEMBER_EQUAL(direction_);
 }
Example #3
0
 bool operator==(WarpGrid const& _lhs, WarpGrid const& _rhs)
 {
     return
         OMNI_TEST_MEMBER_EQUAL(horizontal_) &&
         OMNI_TEST_MEMBER_EQUAL(vertical_) &&
         OMNI_TEST_MEMBER_EQUAL(points_);
 }
Example #4
0
 bool operator==(Equirectangular const& _lhs, Equirectangular const& _rhs)
 {
   const Rotatable& _blhs(_lhs);
   const Rotatable& _brhs(_rhs);
   return (_blhs == _brhs) &&
     OMNI_TEST_MEMBER_EQUAL(stripTop_) &&
     OMNI_TEST_MEMBER_EQUAL(stripBottom_);
 }
Example #5
0
 bool operator==(WarpPoint const& _lhs, WarpPoint const& _rhs)
 {
   return 
     OMNI_TEST_MEMBER_EQUAL(pos_) &&
     OMNI_TEST_MEMBER_EQUAL(c1_) &&
     OMNI_TEST_MEMBER_EQUAL(c2_) &&
     OMNI_TEST_MEMBER_EQUAL(selected_);
 }
Example #6
0
 bool operator==(
   ExportSettings const& _lhs,
   ExportSettings const& _rhs) {
   return
     OMNI_TEST_MEMBER_EQUAL(outputType_) &&
     OMNI_TEST_MEMBER_EQUAL(outputMode_) &&
     OMNI_TEST_MEMBER_EQUAL(separationMode_) &&
     OMNI_TEST_MEMBER_EQUAL(excludeUnassignedProjectors_);
 }
Example #7
0
 bool operator==(Tuning const& _lhs, Tuning const& _rhs)
 {
   return 
     OMNI_TEST_MEMBER_EQUAL(color_) &&
     OMNI_TEST_MEMBER_EQUAL(projector_) &&
     OMNI_TEST_PTR_MEMBER_EQUAL(projectorSetup_) &&
     OMNI_TEST_MEMBER_EQUAL(warpGrid_) &&
     OMNI_TEST_MEMBER_EQUAL(blendMask_);
 }
Example #8
0
 bool operator==(AffineTransform const& _lhs, AffineTransform const& _rhs) {
     return
         OMNI_TEST_MEMBER_EQUAL(rotationEnabled_) &&
         OMNI_TEST_MEMBER_EQUAL(rotation_) &&
         OMNI_TEST_MEMBER_EQUAL(scaleEnabled_) &&
         OMNI_TEST_MEMBER_EQUAL(scale_) &&
         OMNI_TEST_MEMBER_EQUAL(uniformScaleEnabled_) &&
         OMNI_TEST_MEMBER_EQUAL(translationEnabled_) &&
         OMNI_TEST_MEMBER_EQUAL(translation_);
 }
Example #9
0
 bool operator==(Tuning const& _lhs, Tuning const& _rhs)
 {
     return
         OMNI_TEST_MEMBER_EQUAL(color_) &&
         OMNI_TEST_MEMBER_EQUAL(projector_) &&
         OMNI_TEST_MEMBER_EQUAL(warpGrid_) &&
         OMNI_TEST_MEMBER_EQUAL(blendMask_) &&
         OMNI_TEST_MEMBER_EQUAL(outputDisabled_) &&
         OMNI_TEST_MEMBER_EQUAL(overlapOpacity_) &&
         OMNI_TEST_MEMBER_EQUAL(colorCorrection_);
 }
Example #10
0
 bool operator==(Angle const& _lhs, Angle const& _rhs)
 {
   return OMNI_TEST_MEMBER_EQUAL(angle_);
 }