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

MayaApi Class Reference

#include <mayaApi.h>

Inheritance diagram for MayaApi:

ReferenceCount List of all members.

Public Member Functions

 ~MayaApi ()
bool is_valid () const
bool read (const Filename &filename)
bool write (const Filename &filename)
bool clear ()
DistanceUnit get_units ()
CoordinateSystem get_coordinate_system ()

Static Public Member Functions

 PT (MayaApi) open_api(string program_name="")

Protected Member Functions

 MayaApi (const string &program_name)
 MayaApi (const MayaApi &copy)
void operator= (const MayaApi &copy)

Private Attributes

bool _is_valid
bool _plug_in

Static Private Attributes

MayaApi * _global_api = (MayaApi *)NULL

Constructor & Destructor Documentation

MayaApi::MayaApi const string &  program_name  )  [protected]
 

Definition at line 43 of file mayaApi.cxx.

References _is_valid, _plug_in, ExecutionEnvironment::get_cwd(), and Filename::to_os_specific().

MayaApi::MayaApi const MayaApi &  copy  )  [protected]
 

Definition at line 94 of file mayaApi.cxx.

References nassertv.

MayaApi::~MayaApi  ) 
 

Definition at line 115 of file mayaApi.cxx.

References _global_api, _is_valid, _plug_in, nassertv, and NULL.


Member Function Documentation

bool MayaApi::clear  ) 
 

Definition at line 248 of file mayaApi.cxx.

CoordinateSystem MayaApi::get_coordinate_system  ) 
 

Definition at line 293 of file mayaApi.cxx.

References CS_yup_right, and CS_zup_right.

DistanceUnit MayaApi::get_units  ) 
 

Definition at line 263 of file mayaApi.cxx.

References DU_centimeters, DU_feet, DU_inches, DU_invalid, DU_kilometers, DU_meters, DU_millimeters, DU_statute_miles, and DU_yards.

bool MayaApi::is_valid  )  const
 

Definition at line 165 of file mayaApi.cxx.

References _is_valid.

void MayaApi::operator= const MayaApi &  copy  )  [protected]
 

Definition at line 105 of file mayaApi.cxx.

References nassertv.

MayaApi::PT MayaApi   )  [static]
 

bool MayaApi::read const Filename filename  ) 
 

Definition at line 191 of file mayaApi.cxx.

References back_to_front_slash(), and Filename::to_os_specific().

bool MayaApi::write const Filename filename  ) 
 

Definition at line 219 of file mayaApi.cxx.

References back_to_front_slash(), Filename::get_extension(), Filename::to_os_specific(), and type.


Member Data Documentation

MayaApi * MayaApi::_global_api = (MayaApi *)NULL [static, private]
 

Definition at line 34 of file mayaApi.cxx.

Referenced by ~MayaApi().

bool MayaApi::_is_valid [private]
 

Definition at line 57 of file mayaApi.h.

Referenced by is_valid(), MayaApi(), and ~MayaApi().

bool MayaApi::_plug_in [private]
 

Definition at line 58 of file mayaApi.h.

Referenced by MayaApi(), and ~MayaApi().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:17 2003 for Panda-Tool by doxygen1.3