Panda3D
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
coordinateSystem.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "typedef.h"

Go to the source code of this file.

Macros

#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

EXPCL_PANDA_LINMATH std::string format_coordinate_system (CoordinateSystem cs)
 
EXPCL_PANDA_LINMATH CoordinateSystem get_default_coordinate_system ()
 
EXPCL_PANDA_LINMATH bool is_right_handed (CoordinateSystem cs=CS_default)
 
EXPCL_PANDA_LINMATH std::ostream & operator<< (std::ostream &out, CoordinateSystem cs)
 
EXPCL_PANDA_LINMATH std::istream & operator>> (std::istream &in, CoordinateSystem &cs)
 
EXPCL_PANDA_LINMATH CoordinateSystem parse_coordinate_system_string (const std::string &str)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-09-24

Definition in file coordinateSystem.h.

Macro Definition Documentation

◆ IS_LEFT_HANDED_COORDSYSTEM

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

Definition at line 47 of file coordinateSystem.h.

Enumeration Type Documentation

◆ CoordinateSystem

enum CoordinateSystem

Definition at line 23 of file coordinateSystem.h.

Function Documentation

◆ format_coordinate_system()

EXPCL_PANDA_LINMATH std::string format_coordinate_system ( CoordinateSystem cs)

Definition at line 73 of file coordinateSystem.cxx.

◆ get_default_coordinate_system()

EXPCL_PANDA_LINMATH CoordinateSystem get_default_coordinate_system ( )

Definition at line 37 of file coordinateSystem.cxx.

◆ is_right_handed()

EXPCL_PANDA_LINMATH bool is_right_handed ( CoordinateSystem cs = CS_default)

Definition at line 80 of file coordinateSystem.cxx.

◆ operator<<()

EXPCL_PANDA_LINMATH std::ostream & operator<< ( std::ostream & out,
CoordinateSystem cs )

Definition at line 101 of file coordinateSystem.cxx.

◆ operator>>()

EXPCL_PANDA_LINMATH std::istream & operator>> ( std::istream & in,
CoordinateSystem & cs )

Definition at line 130 of file coordinateSystem.cxx.

◆ parse_coordinate_system_string()

EXPCL_PANDA_LINMATH CoordinateSystem parse_coordinate_system_string ( const std::string & str)

Definition at line 44 of file coordinateSystem.cxx.