#include <K3dPoly.h>
Inheritance diagram for K3dPoly:
Public Member Functions | |
K3dPoly () | |
~K3dPoly () | |
void | DeletePoly () |
Delete all polyhedron data. | |
TVertexArray & | GetVertexArray () |
Get vertex array. | |
void | AddVertex (K3dVertexObj *_pVertex) |
Add vertex to the array. | |
void | DeleteVertex (K3dVertexObj *_pVertex) |
Delete vertex index from array. | |
TLineArray & | GetEdgeArray () |
Get edge array. | |
void | AddEdge (K3dLineObj *_pEdge) |
Add edge to the array. | |
void | DeleteEdge (K3dLineObj *_pEdge) |
Delete edge from array. | |
TPolyPlaneArray & | GetPlaneArray () |
Get plane array. | |
void | AddPlane (K3dPolyPlane *_pPlane) |
Add plane to the array. | |
void | DeletePlane (K3dPolyPlane *_pPlane) |
Delete plane from array. | |
Private Attributes | |
TVertexArray | m_vVertex |
Vertex array. | |
TLineArray | m_vEdge |
Edge array. | |
TPolyPlaneArray | m_vPlane |
Plane array. | |
TVertexArray::iterator | m_itVertex |
Vertex array iterator. | |
TLineArray::iterator | m_itEdge |
Edge array iterator. | |
TPolyPlaneArray::iterator | m_itPlane |
Edge array iterator. |
Definition at line 39 of file K3dPoly.h.
K3dPoly::K3dPoly | ( | ) |
K3dPoly::~K3dPoly | ( | ) |
Definition at line 41 of file K3dPoly.cpp.
void K3dPoly::DeletePoly | ( | ) |
TVertexArray& K3dPoly::GetVertexArray | ( | ) | [inline] |
Get vertex array.
Definition at line 54 of file K3dPoly.h.
References m_vVertex.
Referenced by K3dPolyWork::CheckPoly(), and K3dConvex::CreatePolyFromVertexArray().
void K3dPoly::AddVertex | ( | K3dVertexObj * | _pVertex | ) | [inline] |
Add vertex to the array.
Definition at line 60 of file K3dPoly.h.
References m_itVertex, and m_vVertex.
Referenced by K3dBoxBuild::CreateSceneBox().
void K3dPoly::DeleteVertex | ( | K3dVertexObj * | _pVertex | ) | [inline] |
Delete vertex index from array.
Definition at line 72 of file K3dPoly.h.
References m_itVertex, and m_vVertex.
TLineArray& K3dPoly::GetEdgeArray | ( | ) | [inline] |
Get edge array.
Definition at line 86 of file K3dPoly.h.
References m_vEdge.
Referenced by K3dPolyWork::CheckPoly(), K3dConvex::CreatePolyFromVertexArray(), K3dCutPoly::Cut(), K3dCutPoly::DeleteOpositeEdges(), and K3dPolyWork::VisiblePoly().
void K3dPoly::AddEdge | ( | K3dLineObj * | _pEdge | ) | [inline] |
Add edge to the array.
Definition at line 92 of file K3dPoly.h.
References m_itEdge, and m_vEdge.
Referenced by K3dBoxBuild::CreateSceneBox(), and K3dCutPoly::Cut().
void K3dPoly::DeleteEdge | ( | K3dLineObj * | _pEdge | ) | [inline] |
Delete edge from array.
Definition at line 104 of file K3dPoly.h.
References m_itEdge, and m_vEdge.
Referenced by K3dCutPoly::Cut(), and K3dCutPoly::DeleteOpositeEdges().
TPolyPlaneArray& K3dPoly::GetPlaneArray | ( | ) | [inline] |
Get plane array.
Definition at line 118 of file K3dPoly.h.
References m_vPlane.
Referenced by K3dPolyWork::CheckPoly(), K3dConvex::CreatePolyFromVertexArray(), K3dCutPoly::DeleteOpositePlane(), and K3dTriangulation::TriangulatePoly().
void K3dPoly::AddPlane | ( | K3dPolyPlane * | _pPlane | ) | [inline] |
Add plane to the array.
Definition at line 124 of file K3dPoly.h.
References m_itPlane, and m_vPlane.
Referenced by K3dCutPoly::AddNewPlane(), and K3dBoxBuild::CreateSceneBox().
void K3dPoly::DeletePlane | ( | K3dPolyPlane * | _pPlane | ) | [inline] |
Delete plane from array.
Definition at line 136 of file K3dPoly.h.
References m_itPlane, and m_vPlane.
Referenced by K3dCutPoly::DeleteOpositePlane().
TVertexArray K3dPoly::m_vVertex [private] |
Vertex array.
Definition at line 41 of file K3dPoly.h.
Referenced by AddVertex(), DeletePoly(), DeleteVertex(), and GetVertexArray().
TLineArray K3dPoly::m_vEdge [private] |
Edge array.
Definition at line 42 of file K3dPoly.h.
Referenced by AddEdge(), DeleteEdge(), DeletePoly(), and GetEdgeArray().
TPolyPlaneArray K3dPoly::m_vPlane [private] |
Plane array.
Definition at line 43 of file K3dPoly.h.
Referenced by AddPlane(), DeletePlane(), DeletePoly(), and GetPlaneArray().
TVertexArray::iterator K3dPoly::m_itVertex [private] |
Vertex array iterator.
Definition at line 44 of file K3dPoly.h.
Referenced by AddVertex(), and DeleteVertex().
TLineArray::iterator K3dPoly::m_itEdge [private] |
Edge array iterator.
Definition at line 45 of file K3dPoly.h.
Referenced by AddEdge(), and DeleteEdge().
TPolyPlaneArray::iterator K3dPoly::m_itPlane [private] |
Edge array iterator.
Definition at line 46 of file K3dPoly.h.
Referenced by AddPlane(), and DeletePlane().