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

EggCurve Class Reference

#include <eggCurve.h>

Inheritance diagram for EggCurve:

EggPrimitive EggNode EggAttributes EggRenderMode EggNamedObject EggObject Namable TypedReferenceCount TypedObject ReferenceCount EggNurbsCurve List of all members.

Public Types

enum  CurveType { CT_none, CT_xyz, CT_hpr, CT_t }

Public Member Functions

INLINE EggCurve (const string &name="")
INLINE EggCurve (const EggCurve &copy)
INLINE EggCurve & operator= (const EggCurve &copy)
INLINE void set_subdiv (int subdiv)
INLINE int get_subdiv () const
INLINE void set_curve_type (CurveType type)
INLINE CurveType get_curve_type () const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

CurveType string_curve_type (const string &string)
TypeHandle get_class_type ()
void init_type ()

Private Attributes

int _subdiv
CurveType _type

Static Private Attributes

TypeHandle _type_handle

Member Enumeration Documentation

enum EggCurve::CurveType
 

Enumeration values:
CT_none 
CT_xyz 
CT_hpr 
CT_t 

Definition at line 37 of file eggCurve.h.


Constructor & Destructor Documentation

INLINE EggCurve::EggCurve const string &  name = ""  ) 
 

INLINE EggCurve::EggCurve const EggCurve &  copy  ) 
 


Member Function Documentation

virtual TypeHandle EggCurve::force_init_type void   )  [inline, virtual]
 

Reimplemented from EggPrimitive.

Reimplemented in EggNurbsCurve.

Definition at line 69 of file eggCurve.h.

References EggPrimitive::get_class_type(), and EggPrimitive::init_type().

TypeHandle EggCurve::get_class_type void   )  [inline, static]
 

Reimplemented from EggPrimitive.

Reimplemented in EggNurbsCurve.

Definition at line 58 of file eggCurve.h.

Referenced by EggNurbsCurve::force_init_type(), and EggNurbsCurve::get_type().

INLINE CurveType EggCurve::get_curve_type  )  const
 

Referenced by EggLoader::make_node(), and EggNurbsCurve::write().

INLINE int EggCurve::get_subdiv  )  const
 

Referenced by EggNurbsCurve::write().

virtual TypeHandle EggCurve::get_type void   )  const [inline, virtual]
 

Reimplemented from EggPrimitive.

Reimplemented in EggNurbsCurve.

Definition at line 66 of file eggCurve.h.

References EggPrimitive::get_class_type().

void EggCurve::init_type void   )  [inline, static]
 

Reimplemented from EggPrimitive.

Reimplemented in EggNurbsCurve.

Definition at line 61 of file eggCurve.h.

References EggPrimitive::get_class_type(), EggPrimitive::init_type(), and register_type().

Referenced by EggNurbsCurve::force_init_type(), and init_libegg().

INLINE EggCurve& EggCurve::operator= const EggCurve &  copy  ) 
 

INLINE void EggCurve::set_curve_type CurveType  type  ) 
 

INLINE void EggCurve::set_subdiv int  subdiv  ) 
 

EggCurve::CurveType EggCurve::string_curve_type const string &  string  )  [static]
 

Definition at line 35 of file eggCurve.cxx.

References cmp_nocase_uh(), CT_hpr, CT_none, CT_t, and CT_xyz.


Member Data Documentation

int EggCurve::_subdiv [private]
 

Definition at line 53 of file eggCurve.h.

CurveType EggCurve::_type [private]
 

Definition at line 54 of file eggCurve.h.

TypeHandle EggCurve::_type_handle [static, private]
 

Reimplemented from EggPrimitive.

Reimplemented in EggNurbsCurve.

Definition at line 24 of file eggCurve.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:03 2003 for Panda by doxygen1.3