Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Functions
omni::geometry Namespace Reference

Namespace for geometry functionality. More...

Data Structures

class  AffineTransform
 An affine linear transform with rotation, scale and translation. More...
 
struct  Angle
 Struct for representing an angle (stored in degrees internally) More...
 
class  Box
 A box defines a 3D bounding box with a min and max point. More...
 
struct  EulerAngles
 Mixin class for a zyx Euler Angle Rotation system. More...
 
struct  PolarVec
 polar 3D vector defined by th two angles phi, theta and a radial distance More...
 
struct  Vertex
 A vertex is a geometry entity with a position, normal and texture. More...
 
struct  Vertex2D
 A Warp vertex is a geometry entity with a position, normal and texture. More...
 

Functions

bool operator== (AffineTransform const &_lhs, AffineTransform const &_rhs)
 
bool operator== (Angle const &_lhs, Angle const &_rhs)
 
bool operator== (EulerAngles const &_lhs, EulerAngles const &_rhs)
 
bool operator== (PolarVec const &_lhs, PolarVec const &_rhs)
 

Detailed Description

Namespace for geometry functionality.

Function Documentation

bool omni::geometry::operator== ( Angle const &  _lhs,
Angle const &  _rhs 
)
88  {
89  return OMNI_TEST_MEMBER_EQUAL(angle_);
90  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::geometry::operator== ( EulerAngles const &  _lhs,
EulerAngles const &  _rhs 
)
98  {
99  return
100  OMNI_TEST_MEMBER_EQUAL(yaw_) &&
101  OMNI_TEST_MEMBER_EQUAL(pitch_) &&
102  OMNI_TEST_MEMBER_EQUAL(roll_);
103  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::geometry::operator== ( PolarVec const &  _lhs,
PolarVec const &  _rhs 
)
159  {
160  return
161  OMNI_TEST_MEMBER_EQUAL(longitude_) &&
162  OMNI_TEST_MEMBER_EQUAL(latitude_) &&
163  OMNI_TEST_MEMBER_EQUAL(radius_);
164  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::geometry::operator== ( AffineTransform const &  _lhs,
AffineTransform const &  _rhs 
)
162  {
163  return
164  OMNI_TEST_MEMBER_EQUAL(rotationEnabled_) &&
165  OMNI_TEST_MEMBER_EQUAL(rotation_) &&
166  OMNI_TEST_MEMBER_EQUAL(scaleEnabled_) &&
167  OMNI_TEST_MEMBER_EQUAL(scale_) &&
168  OMNI_TEST_MEMBER_EQUAL(uniformScaleEnabled_) &&
169  OMNI_TEST_MEMBER_EQUAL(translationEnabled_) &&
170  OMNI_TEST_MEMBER_EQUAL(translation_);
171  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125