#include <geomTransformer.h>
Public Member Functions | |
GeomTransformer () | |
~GeomTransformer () | |
bool | transform_vertices (Geom *geom, const LMatrix4f &mat) |
bool | transform_vertices (GeomNode *node, const LMatrix4f &mat) |
bool | transform_texcoords (Geom *geom, const LMatrix4f &mat) |
bool | transform_texcoords (GeomNode *node, const LMatrix4f &mat) |
bool | set_color (Geom *geom, const Colorf &color) |
bool | set_color (GeomNode *node, const Colorf &color) |
bool | transform_colors (Geom *geom, const LVecBase4f &scale) |
bool | transform_colors (GeomNode *node, const LVecBase4f &scale) |
bool | apply_state (GeomNode *node, const RenderState *state) |
Private Types | |
typedef pmap< SourceVertices, PTA_Vertexf > | Vertices |
typedef pmap< SourceNormals, PTA_Normalf > | Normals |
typedef pmap< SourceTexCoords, PTA_TexCoordf > | TexCoords |
typedef pmap< Colorf, PTA_Colorf > | FColors |
typedef pmap< SourceColors, PTA_Colorf > | TColors |
Private Attributes | |
Vertices | _vertices |
Normals | _normals |
TexCoords | _texcoords |
FColors | _fcolors |
TColors | _tcolors |
|
Definition at line 99 of file geomTransformer.h. |
|
Definition at line 82 of file geomTransformer.h. |
|
Definition at line 109 of file geomTransformer.h. |
|
Definition at line 92 of file geomTransformer.h. |
|
Definition at line 72 of file geomTransformer.h. |
|
Definition at line 29 of file geomTransformer.cxx. |
|
Definition at line 38 of file geomTransformer.cxx. |
|
Definition at line 363 of file geomTransformer.cxx. References GeomNode::_cycler, and CPT. Referenced by GeomNode::apply_attribs_to_vertices(). |
|
Definition at line 258 of file geomTransformer.cxx. References GeomNode::_cycler, PT, and set_color(). |
|
Definition at line 232 of file geomTransformer.cxx. References _fcolors, G_OVERALL, PointerToArray< Colorf >::push_back(), and Geom::set_colors(). Referenced by GeomNode::apply_attribs_to_vertices(), and set_color(). |
|
Definition at line 337 of file geomTransformer.cxx. References GeomNode::_cycler, PT, scale, and transform_colors(). |
|
Definition at line 283 of file geomTransformer.cxx. References GeomTransformer::SourceColors::_colors, GeomTransformer::SourceColors::_scale, _tcolors, PointerToArray< Colorf >::begin(), c, Colorf, PointerToArray< Colorf >::end(), G_OFF, GeomBindType, Geom::get_colors(), index, NULL, PointerToArray< Colorf >::push_back(), PointerToArray< Colorf >::reserve(), scale, and Geom::set_colors(). Referenced by GeomNode::apply_attribs_to_vertices(), and transform_colors(). |
|
Definition at line 206 of file geomTransformer.cxx. References GeomNode::_cycler, PT, and transform_texcoords(). |
|
|
Definition at line 127 of file geomTransformer.cxx. References GeomNode::_cycler, PT, and transform_vertices(). |
|
|
Definition at line 100 of file geomTransformer.h. Referenced by set_color(). |
|
Definition at line 83 of file geomTransformer.h. Referenced by transform_vertices(). |
|
Definition at line 110 of file geomTransformer.h. Referenced by transform_colors(). |
|
Definition at line 93 of file geomTransformer.h. Referenced by transform_texcoords(). |
|
Definition at line 73 of file geomTransformer.h. Referenced by transform_vertices(). |