Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/linmath/coordinateSystem.h File Reference

#include <pandabase.h>
#include <typedef.h>
#include <string>

Go to the source code of this file.

Defines

#define IS_LEFT_HANDED_COORDSYSTEM(cs)   ((cs==CS_zup_left) || (cs==CS_yup_left))

Enumerations

enum  CoordinateSystem {
  CS_default, CS_zup_right, CS_yup_right, CS_zup_left,
  CS_yup_left, CS_invalid
}

Functions

CoordinateSystem EXPCL_PANDA parse_coordinate_system_string (const string &str)
bool EXPCL_PANDA is_right_handed (CoordinateSystem cs=CS_default)
ostream EXPCL_PANDA & operator<< (ostream &out, CoordinateSystem cs)

Variables

END_PUBLISH CoordinateSystem
EXPCL_PANDA 
default_coordinate_system


Detailed Description

Definition in file coordinateSystem.h.


Define Documentation

#define IS_LEFT_HANDED_COORDSYSTEM cs   )     ((cs==CS_zup_left) || (cs==CS_yup_left))
 

Definition at line 58 of file coordinateSystem.h.


Enumeration Type Documentation

enum CoordinateSystem
 

Enumeration values:
CS_default 
CS_zup_right 
CS_yup_right 
CS_zup_left 
CS_yup_left 
CS_invalid 

Definition at line 33 of file coordinateSystem.h.

Referenced by GLGraphicsStateGuardian::bind_light(), EggXfmAnimData::clear_contents(), ConfigureFn(), GraphicsStateGuardian::enable_normals(), ClientBase::get_last_poll_time(), EggXfmSAnim::get_order(), init_liblinmath(), PerspectiveLens::is_linear(), GraphicsStateGuardian::push_frame_buffer(), EggCoordinateSystem::set_value(), and GraphicsStateGuardian::wants_normals().


Function Documentation

bool EXPCL_PANDA is_right_handed CoordinateSystem  cs = CS_default  ) 
 

Definition at line 64 of file coordinateSystem.cxx.

ostream EXPCL_PANDA& operator<< ostream &  out,
CoordinateSystem  cs
 

Definition at line 86 of file coordinateSystem.cxx.

References CS_invalid, CS_yup_left, CS_yup_right, CS_zup_left, and CS_zup_right.

CoordinateSystem EXPCL_PANDA parse_coordinate_system_string const string &  str  ) 
 

Definition at line 34 of file coordinateSystem.cxx.

Referenced by ConfigureFn().


Variable Documentation

END_PUBLISH CoordinateSystem EXPCL_PANDA default_coordinate_system
 

Definition at line 53 of file coordinateSystem.h.

Referenced by ParametricCurveCollection::adjust_hpr(), BoundingHexahedron::BoundingHexahedron(), TrackerNode::get_orient(), PerspectiveLens::is_linear(), TrackerNode::set_tracker_coordinate_system(), and Trackball::Trackball().


Generated on Fri May 2 00:45:50 2003 for Panda by doxygen1.3