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

BuilderPrimTempl< VTX > Class Template Reference

#include <builderPrimTempl.h>

List of all members.

Public Types

typedef VTX Vertex
typedef TYPENAME VTX::VType VType
typedef TYPENAME VTX::NType NType
typedef TYPENAME VTX::TType TType
typedef TYPENAME VTX::CType CType
typedef TYPENAME VTX::Attrib DAttrib

Public Member Functions

INLINE BuilderPrimTempl ()
INLINE BuilderPrimTempl (const BuilderPrimTempl &copy)
INLINE BuilderPrimTempl & operator= (const BuilderPrimTempl &copy)
void remove_doubled_verts (int closed)
bool is_valid () const
INLINE bool has_normal () const
INLINE bool has_color () const
INLINE bool has_pixel_size () const
INLINE bool has_overall_normal () const
INLINE bool has_overall_color () const
INLINE bool has_overall_pixel_size () const
INLINE bool has_vertex_normal () const
INLINE bool has_vertex_color () const
INLINE bool has_vertex_texcoord () const
INLINE bool has_vertex_pixel_size () const
INLINE bool has_component_normal () const
INLINE bool has_component_color () const
INLINE bool has_component_pixel_size () const
INLINE bool has_any_normal () const
INLINE bool has_any_color () const
INLINE bool has_any_texcoord () const
INLINE bool has_any_pixel_size () const
INLINE BuilderPrimTempl & clear ()
INLINE BuilderPrimTempl & clear_vertices ()
INLINE BuilderPrimTempl & set_attrib (const DAttrib &attrib)
INLINE BuilderPrimType get_type () const
INLINE BuilderPrimTempl & set_type (BuilderPrimType t)
INLINE NType get_normal () const
INLINE BuilderPrimTempl & set_normal (const NType &n)
INLINE CType get_color () const
INLINE BuilderPrimTempl & set_color (const CType &c)
INLINE float get_pixel_size () const
INLINE BuilderPrimTempl & set_pixel_size (float s)
INLINE BuilderPrimTempl & add_vertex (const Vertex &v)
INLINE int get_num_verts () const
INLINE Vertex & get_vertex (int n)
INLINE const Vertex & get_vertex (int n) const
INLINE BuilderPrimTempl & add_component (const DAttrib &attrib)
INLINE int get_num_components () const
INLINE DAttrib & get_component (int n)
INLINE const DAttrib & get_component (int n) const
INLINE bool operator< (const BuilderPrimTempl &other) const
ostream & output (ostream &out) const

Protected Types

typedef pvector< Vertex > Verts
typedef pvector< DAttrib > Components

Protected Member Functions

INLINE int sort_value () const
void update_overall_attrib ()

Protected Attributes

Verts _verts
Components _components
BuilderPrimType _type
int _overall

template<class VTX>
class BuilderPrimTempl< VTX >


Member Typedef Documentation

template<class VTX>
typedef pvector<DAttrib> BuilderPrimTempl< VTX >::Components [protected]
 

Definition at line 139 of file builderPrimTempl.h.

template<class VTX>
typedef TYPENAME VTX::CType BuilderPrimTempl< VTX >::CType
 

Definition at line 46 of file builderPrimTempl.h.

template<class VTX>
typedef TYPENAME VTX::Attrib BuilderPrimTempl< VTX >::DAttrib
 

Definition at line 47 of file builderPrimTempl.h.

template<class VTX>
typedef TYPENAME VTX::NType BuilderPrimTempl< VTX >::NType
 

Definition at line 44 of file builderPrimTempl.h.

template<class VTX>
typedef TYPENAME VTX::TType BuilderPrimTempl< VTX >::TType
 

Definition at line 45 of file builderPrimTempl.h.

template<class VTX>
typedef VTX BuilderPrimTempl< VTX >::Vertex
 

Definition at line 42 of file builderPrimTempl.h.

template<class VTX>
typedef pvector<Vertex> BuilderPrimTempl< VTX >::Verts [protected]
 

Definition at line 138 of file builderPrimTempl.h.

template<class VTX>
typedef TYPENAME VTX::VType BuilderPrimTempl< VTX >::VType
 

Definition at line 43 of file builderPrimTempl.h.


Constructor & Destructor Documentation

template<class VTX>
INLINE BuilderPrimTempl< VTX >::BuilderPrimTempl (   ) 
 

template<class VTX>
INLINE BuilderPrimTempl< VTX >::BuilderPrimTempl (  const BuilderPrimTempl< VTX > &  copy  ) 
 


Member Function Documentation

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::add_component (  const DAttrib &  attrib  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::add_vertex (  const Vertex &  v  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::clear (   ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::clear_vertices (   ) 
 

template<class VTX>
INLINE CType BuilderPrimTempl< VTX >::get_color (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE const DAttrib& BuilderPrimTempl< VTX >::get_component (  int  n  )  const
 

template<class VTX>
INLINE DAttrib& BuilderPrimTempl< VTX >::get_component (  int  n  ) 
 

template<class VTX>
INLINE NType BuilderPrimTempl< VTX >::get_normal (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE int BuilderPrimTempl< VTX >::get_num_components (   )  const
 

template<class VTX>
INLINE int BuilderPrimTempl< VTX >::get_num_verts (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE float BuilderPrimTempl< VTX >::get_pixel_size (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE BuilderPrimType BuilderPrimTempl< VTX >::get_type (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE const Vertex& BuilderPrimTempl< VTX >::get_vertex (  int  n  )  const
 

template<class VTX>
INLINE Vertex& BuilderPrimTempl< VTX >::get_vertex (  int  n  ) 
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_any_color (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_any_normal (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_any_pixel_size (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_any_texcoord (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_color (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_component_color (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_component_normal (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_component_pixel_size (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_normal (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_overall_color (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_overall_normal (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_overall_pixel_size (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_pixel_size (   )  const
 

Referenced by BuilderPrim::nonindexed_copy().

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_vertex_color (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_vertex_normal (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_vertex_pixel_size (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::has_vertex_texcoord (   )  const
 

template<class VTX>
bool BuilderPrimTempl< VTX >::is_valid (   )  const
 

template<class VTX>
INLINE bool BuilderPrimTempl< VTX >::operator< (  const BuilderPrimTempl< VTX > &  other  )  const
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::operator= (  const BuilderPrimTempl< VTX > &  copy  ) 
 

template<class VTX>
ostream& BuilderPrimTempl< VTX >::output (  ostream &  out  )  const
 

Referenced by operator<<().

template<class VTX>
void BuilderPrimTempl< VTX >::remove_doubled_verts (  int  closed  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::set_attrib (  const DAttrib &  attrib  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::set_color (  const CType &  c  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::set_normal (  const NType &  n  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::set_pixel_size (  float  s  ) 
 

template<class VTX>
INLINE BuilderPrimTempl& BuilderPrimTempl< VTX >::set_type (  BuilderPrimType  t  ) 
 

template<class VTX>
INLINE int BuilderPrimTempl< VTX >::sort_value (   )  const [protected]
 

template<class VTX>
void BuilderPrimTempl< VTX >::update_overall_attrib (   )  [protected]
 


Member Data Documentation

template<class VTX>
Components BuilderPrimTempl< VTX >::_components [protected]
 

Definition at line 142 of file builderPrimTempl.h.

template<class VTX>
int BuilderPrimTempl< VTX >::_overall [protected]
 

Definition at line 144 of file builderPrimTempl.h.

template<class VTX>
BuilderPrimType BuilderPrimTempl< VTX >::_type [protected]
 

Definition at line 143 of file builderPrimTempl.h.

template<class VTX>
Verts BuilderPrimTempl< VTX >::_verts [protected]
 

Definition at line 141 of file builderPrimTempl.h.


The documentation for this class was generated from the following file:
Generated on Fri Apr 18 00:11:27 2003 for Panda by doxygen1.3