#include <builderPrimTempl.h>
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 ©) |
INLINE BuilderPrimTempl & | operator= (const BuilderPrimTempl ©) |
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 |
|
Definition at line 139 of file builderPrimTempl.h. |
|
Definition at line 46 of file builderPrimTempl.h. |
|
Definition at line 47 of file builderPrimTempl.h. |
|
Definition at line 44 of file builderPrimTempl.h. |
|
Definition at line 45 of file builderPrimTempl.h. |
|
Definition at line 42 of file builderPrimTempl.h. |
|
Definition at line 138 of file builderPrimTempl.h. |
|
Definition at line 43 of file builderPrimTempl.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
|
|
|
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
|
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
|
|
|
|
Referenced by BuilderPrim::nonindexed_copy(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by operator<<(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 142 of file builderPrimTempl.h. |
|
Definition at line 144 of file builderPrimTempl.h. |
|
Definition at line 143 of file builderPrimTempl.h. |
|
Definition at line 141 of file builderPrimTempl.h. |