示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#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_);
 }
示例#10
0
 bool operator==(Angle const& _lhs, Angle const& _rhs)
 {
   return OMNI_TEST_MEMBER_EQUAL(angle_);
 }