K3dPlaneVis Class Reference

#include <K3dPlaneVis.h>

Inheritance diagram for K3dPlaneVis:

K3dPlane K3dPlaneMove K3dPlaneObj K3dPolyPlane List of all members.

Public Member Functions

 K3dPlaneVis ()
 ~K3dPlaneVis ()
K3dPlaneVisoperator= (K3dPlaneVis &_rkPlaneVis)
TVector3ArrayGetVertexArray ()
 Get four vertices of plane for visualization.
void AddVertex (K3dVector3Obj *_pVertex)
 Add vertex to the array.
void DeleteVertex (K3dVector3Obj *_pVertex)
 Delete vertex index from array.
void DeleteVertexArray ()
 Delete vertex array.
K3dColor3GetColor ()
 Get color.
void SetColor (K3dColor3 *_pColor)
 Set color.
float & GetWidth ()
 Get plane width for visualization.
float & GetHeight ()
 Get plane height for visualization.

Private Attributes

TVector3Array m_vVertex
 Four vertices for visualization.
TVector3Array::iterator m_itVertex
 Vertex array iterator.
K3dColor3m_pColor
 Plane color.
float m_fWidth
 Plane width for visualization.
float m_fHeight
 Plane height for visualization.

Detailed Description

Definition at line 40 of file K3dPlaneVis.h.


Constructor & Destructor Documentation

K3dPlaneVis::K3dPlaneVis (  ) 

Definition at line 35 of file K3dPlaneVis.cpp.

References m_fHeight, m_fWidth, m_pColor, and m_vVertex.

K3dPlaneVis::~K3dPlaneVis (  ) 

Definition at line 43 of file K3dPlaneVis.cpp.


Member Function Documentation

K3dPlaneVis & K3dPlaneVis::operator= ( K3dPlaneVis _rkPlaneVis  ) 

Definition at line 47 of file K3dPlaneVis.cpp.

References GetColor(), K3dPlane::GetDistance(), GetHeight(), K3dPlane::GetNormal(), K3dPlane::GetPosition(), GetVertexArray(), and GetWidth().

TVector3Array& K3dPlaneVis::GetVertexArray (  )  [inline]

Get four vertices of plane for visualization.

Definition at line 54 of file K3dPlaneVis.h.

References m_vVertex.

Referenced by K3dPlaneWork::CalcVertexArray(), K3dPolyPlaneBuild::CalcVertsOnPlane(), K3dPlaneWork::CheckPlane(), K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), operator=(), and K3dPlaneMove::operator=().

void K3dPlaneVis::AddVertex ( K3dVector3Obj _pVertex  )  [inline]

Add vertex to the array.

Definition at line 60 of file K3dPlaneVis.h.

References m_vVertex.

Referenced by K3dPlaneBuild::CreateNewPlaneObj().

void K3dPlaneVis::DeleteVertex ( K3dVector3Obj _pVertex  )  [inline]

Delete vertex index from array.

Definition at line 73 of file K3dPlaneVis.h.

References m_itVertex, and m_vVertex.

void K3dPlaneVis::DeleteVertexArray (  )  [inline]

Delete vertex array.

Definition at line 87 of file K3dPlaneVis.h.

References m_vVertex.

Referenced by K3dPlaneBuild::CreateNewPlaneObj().

K3dColor3* K3dPlaneVis::GetColor (  )  [inline]

Get color.

Definition at line 93 of file K3dPlaneVis.h.

References m_pColor.

Referenced by K3dPlaneBuild::CreateNewPlaneObj(), K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), operator=(), and K3dPlaneMove::operator=().

void K3dPlaneVis::SetColor ( K3dColor3 _pColor  )  [inline]

Set color.

Definition at line 99 of file K3dPlaneVis.h.

References m_pColor.

Referenced by K3dPlaneBuild::CreateNewPlaneObj(), and K3dPolyPlaneBuild::CreateNewPolyPlaneObj().

float& K3dPlaneVis::GetWidth (  )  [inline]

Get plane width for visualization.

Definition at line 105 of file K3dPlaneVis.h.

References m_fWidth.

Referenced by K3dCutPoly::AddNewPlane(), K3dPlaneWork::CalcVertexArray(), K3dBoxBuild::CreatePlane(), operator=(), and K3dPlaneMove::operator=().

float& K3dPlaneVis::GetHeight (  )  [inline]

Get plane height for visualization.

Definition at line 111 of file K3dPlaneVis.h.

References m_fHeight.

Referenced by K3dCutPoly::AddNewPlane(), K3dPlaneWork::CalcVertexArray(), K3dBoxBuild::CreatePlane(), operator=(), and K3dPlaneMove::operator=().


Member Data Documentation

TVector3Array K3dPlaneVis::m_vVertex [private]

Four vertices for visualization.

Reimplemented in K3dPolyPlane.

Definition at line 42 of file K3dPlaneVis.h.

Referenced by AddVertex(), DeleteVertex(), DeleteVertexArray(), GetVertexArray(), and K3dPlaneVis().

TVector3Array::iterator K3dPlaneVis::m_itVertex [private]

Vertex array iterator.

Reimplemented in K3dPolyPlane.

Definition at line 43 of file K3dPlaneVis.h.

Referenced by DeleteVertex().

K3dColor3* K3dPlaneVis::m_pColor [private]

Plane color.

Definition at line 44 of file K3dPlaneVis.h.

Referenced by GetColor(), K3dPlaneVis(), and SetColor().

float K3dPlaneVis::m_fWidth [private]

Plane width for visualization.

Definition at line 45 of file K3dPlaneVis.h.

Referenced by GetWidth(), and K3dPlaneVis().

float K3dPlaneVis::m_fHeight [private]

Plane height for visualization.

Definition at line 46 of file K3dPlaneVis.h.

Referenced by GetHeight(), and K3dPlaneVis().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:33 2007 for K3dEngine by  doxygen 1.5.0