#include <basic/geometry/vrml_reader/VrmlIndexedFaceSet.h>
Inherits VrmlNode.
Inheritance diagram for VrmlIndexedFaceSet:
Public Member Functions | |
Keyword | GetKeyword (char *&buffer) |
virtual void | Parse (char *&buffer) |
virtual void | Render (VrmlStack &stack) const |
virtual void | RenderOpenGl (VrmlStack &stack) const |
virtual IGS_Object * | RenderToIGS (VrmlStack &stack) const |
VrmlIndexedFaceSet () | |
virtual | ~VrmlIndexedFaceSet () |
Protected Member Functions | |
void | ComputeNormals (VrmlStack &stack) const |
Vector4 | GetNormal (const int index, VrmlStack &stack) const |
void | ParseNodeColor (char *&buffer) |
void | ParseNodeCoord (char *&buffer) |
void | ParseNodeCoordIndex (char *&buffer) |
void | ParseNodeIgnore (char *&buffer) |
void | ParseNodeMaterialIndex (char *&buffer) |
void | ParseNodeNormalIndex (char *&buffer) |
void | ParseNodeTexCoord (char *&buffer) |
virtual void | ParseSubnode (Keyword keyword, char *&buffer) |
Protected Attributes | |
std::vector< int > | indexes |
std::vector< Vector4 > | m_Normals |
VrmlNode * | m_Coords |
bool | m_NormalsComputed |
VrmlNode * | m_TexCoord |
Definition at line 8 of file VrmlIndexedFaceSet.h.
|
Definition at line 21 of file VrmlIndexedFaceSet.cpp. |
|
Definition at line 34 of file VrmlIndexedFaceSet.cpp. References m_Coords, m_TexCoord, and VrmlNode::Release(). Here is the call graph for this function: ![]() |
|
Definition at line 55 of file VrmlIndexedFaceSet.cpp. References VrmlCoordinate3::GetCoordinate(), indexes, m_Normals, Vector4::Normalize(), and VrmlStack::vrmlCoordinate3. Referenced by GetNormal(). Here is the call graph for this function: ![]() |
|
Reimplemented from VrmlNode. Definition at line 104 of file VrmlIndexedFaceSet.cpp. References VrmlNode::GetKeywordString(), VRML_Ccw, VRML_CoordIndex, VRML_Invalid, VRML_MaterialIndex, VRML_NormalIndex, VRML_TextureCoordIndex, VrmlKeywordCcw, VrmlKeywordCoordIndex, VrmlKeywordMaterialIndex, VrmlKeywordNormalIndex, and VrmlKeywordTextureCoordIndex. Here is the call graph for this function: ![]() |
|
Definition at line 89 of file VrmlIndexedFaceSet.cpp. References ComputeNormals(), m_Normals, and m_NormalsComputed. Referenced by RenderOpenGl(). Here is the call graph for this function: ![]() |
|
Reimplemented from VrmlNode. Definition at line 140 of file VrmlIndexedFaceSet.cpp. References EatWhite(), VrmlNode::GetKeyword(), and ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 161 of file VrmlIndexedFaceSet.cpp. References EatWhite(). Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 173 of file VrmlIndexedFaceSet.cpp. References VrmlNode::AddRef(), EatWhite(), VrmlNode::GetKeyword(), m_Coords, VrmlNode::ParseNode(), VRML_Define, and VRML_Use. Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 192 of file VrmlIndexedFaceSet.cpp. References EatWhite(), and indexes. Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 228 of file VrmlIndexedFaceSet.cpp. References EatWhite(). Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 241 of file VrmlIndexedFaceSet.cpp. References EatWhite(). Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 277 of file VrmlIndexedFaceSet.cpp. References EatWhite(). Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 311 of file VrmlIndexedFaceSet.cpp. References VrmlNode::AddRef(), EatWhite(), VrmlNode::GetKeyword(), m_TexCoord, VrmlNode::ParseNode(), VRML_Define, and VRML_Use. Referenced by ParseSubnode(). Here is the call graph for this function: ![]() |
|
Definition at line 330 of file VrmlIndexedFaceSet.cpp. References IJG_Assert, ParseNodeColor(), ParseNodeCoord(), ParseNodeCoordIndex(), ParseNodeIgnore(), ParseNodeMaterialIndex(), ParseNodeNormalIndex(), ParseNodeTexCoord(), VRML_Ccw, VRML_Color, VRML_ColorPerVertex, VRML_Convex, VRML_Coord, VRML_CoordIndex, VRML_CreaseAngle, VRML_MaterialIndex, VRML_Normal, VRML_NormalIndex, VRML_NormalPerVertex, VRML_Solid, VRML_TexCoord, VRML_TexCoordIndex, VRML_TextureCoordIndex, and VRML_Vector. Referenced by Parse(). Here is the call graph for this function: ![]() |
|
Reimplemented from VrmlNode. Definition at line 400 of file VrmlIndexedFaceSet.cpp. References m_Coords, and VrmlNode::Render(). Referenced by RenderOpenGl(), and RenderToIGS(). Here is the call graph for this function: ![]() |
|
Reimplemented from VrmlNode. Definition at line 413 of file VrmlIndexedFaceSet.cpp. References VrmlCoordinate3::GetCoordinate(), GetNormal(), Matrix4x4::GetValuesOpenGl(), indexes, VrmlStack::m_Matrix, Render(), and VrmlStack::vrmlCoordinate3. Here is the call graph for this function: ![]() |
|
Reimplemented from VrmlNode. Definition at line 501 of file VrmlIndexedFaceSet.cpp. References IGS_Mesh::AddFacet(), MeshFacet::AddVertexIndex(), MeshFacet::Clear(), indexes, and Render(). Here is the call graph for this function: ![]() |
|
Definition at line 35 of file VrmlIndexedFaceSet.h. Referenced by ComputeNormals(), ParseNodeCoordIndex(), RenderOpenGl(), and RenderToIGS(). |
|
Definition at line 37 of file VrmlIndexedFaceSet.h. Referenced by ParseNodeCoord(), Render(), and ~VrmlIndexedFaceSet(). |
|
Definition at line 36 of file VrmlIndexedFaceSet.h. Referenced by ComputeNormals(), and GetNormal(). |
|
Definition at line 38 of file VrmlIndexedFaceSet.h. Referenced by GetNormal(). |
|
Definition at line 39 of file VrmlIndexedFaceSet.h. Referenced by ParseNodeTexCoord(), and ~VrmlIndexedFaceSet(). |