K3dPlane Class Reference

#include <K3dPlane.h>

Inheritance diagram for K3dPlane:

K3dPlaneVis K3dPlaneMove K3dPlaneObj K3dPolyPlane List of all members.

Public Member Functions

 K3dPlane ()
 ~K3dPlane ()
K3dPlaneoperator= (K3dPlane &_rkPlane)
void Reset ()
 Reset variables.
K3dVector3ObjGetNormal ()
 Get normal vector.
const K3dVector3ObjGetNormal () const
void SetNormal (K3dVector3Obj *_pNormal)
 Set normal vector.
float & GetDistance ()
 Get or set distance.
const float & GetDistance () const
K3dVector3ObjGetPosition ()
 Get position on the plane.
const K3dVector3ObjGetPosition () const
void SetPosition (K3dVector3Obj *_pPosition)
 Set position on the plane.

Private Attributes

K3dVector3Objm_pPosition
 Some on plane position.
K3dVector3Objm_pNormal
 Normal vector.
float m_fDistance
 Plane distance from origin.

Detailed Description

Definition at line 37 of file K3dPlane.h.


Constructor & Destructor Documentation

K3dPlane::K3dPlane (  ) 

Definition at line 35 of file K3dPlane.cpp.

References m_fDistance, m_pNormal, and m_pPosition.

K3dPlane::~K3dPlane (  ) 

Definition at line 42 of file K3dPlane.cpp.


Member Function Documentation

K3dPlane & K3dPlane::operator= ( K3dPlane _rkPlane  ) 

Definition at line 46 of file K3dPlane.cpp.

References GetDistance(), GetNormal(), and GetPosition().

void K3dPlane::Reset (  )  [inline]

Reset variables.

Definition at line 51 of file K3dPlane.h.

References m_fDistance, m_pNormal, m_pPosition, and K3dVector3::Reset().

K3dVector3Obj* K3dPlane::GetNormal (  )  [inline]

Get normal vector.

Definition at line 59 of file K3dPlane.h.

References m_pNormal.

Referenced by K3dCutPoly::AddNewPlane(), K3dPlaneWork::CalcDistance(), K3dCutPoly::CalcNewEdges(), K3dPlaneWork::CalcPlane(), K3dPlaneWork::CalcVertexArray(), K3dPlaneWork::CheckPlane(), K3dPlaneWork::ComparePlane(), K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), K3dConvex::CreateOnPlaneEdges(), K3dPlaneWork::Init(), K3dIntrLinePlane::LinePlane(), K3dPlaneVis::operator=(), K3dPlaneMove::operator=(), operator=(), K3dDistance::PointPlane(), K3dIntersection::RayPlane(), K3dVorBsp::SetPlane(), K3dTriangulation::TriangulatePolyPlane(), and K3dPlaneWork::UpdateMatrix().

const K3dVector3Obj* K3dPlane::GetNormal (  )  const [inline]

Definition at line 63 of file K3dPlane.h.

References m_pNormal.

void K3dPlane::SetNormal ( K3dVector3Obj _pNormal  )  [inline]

Set normal vector.

Definition at line 69 of file K3dPlane.h.

References m_pNormal.

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

float& K3dPlane::GetDistance (  )  [inline]

Get or set distance.

Definition at line 75 of file K3dPlane.h.

References m_fDistance.

Referenced by K3dPlaneWork::CalcDistance(), K3dPlaneWork::CheckPlane(), K3dConvex::CreateConvexPlane(), K3dIntrLinePlane::LinePlane(), K3dPlaneVis::operator=(), K3dPlaneMove::operator=(), operator=(), K3dDistance::PointPlane(), and K3dIntersection::RayPlane().

const float& K3dPlane::GetDistance (  )  const [inline]

Definition at line 79 of file K3dPlane.h.

References m_fDistance.

K3dVector3Obj* K3dPlane::GetPosition (  )  [inline]

Get position on the plane.

Definition at line 85 of file K3dPlane.h.

References m_pPosition.

Referenced by K3dCutPoly::AddNewPlane(), K3dPlaneWork::CalcDistance(), K3dPlaneWork::CalcPlane(), K3dPlaneWork::CalcVertexArray(), K3dConvex::CheckConvexPlane(), K3dPlaneWork::CheckPlane(), K3dPlaneWork::ComparePlane(), K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), K3dPlaneWork::Init(), K3dPlaneVis::operator=(), K3dPlaneMove::operator=(), operator=(), K3dVorBsp::SetPlane(), K3dPlaneMove::SetRenderMatrix(), and K3dPlaneWork::UpdateMatrix().

const K3dVector3Obj* K3dPlane::GetPosition (  )  const [inline]

Definition at line 89 of file K3dPlane.h.

References m_pPosition.

void K3dPlane::SetPosition ( K3dVector3Obj _pPosition  )  [inline]

Set position on the plane.

Definition at line 95 of file K3dPlane.h.

References m_pPosition.

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


Member Data Documentation

K3dVector3Obj* K3dPlane::m_pPosition [private]

Some on plane position.

Definition at line 39 of file K3dPlane.h.

Referenced by GetPosition(), K3dPlane(), Reset(), and SetPosition().

K3dVector3Obj* K3dPlane::m_pNormal [private]

Normal vector.

Definition at line 40 of file K3dPlane.h.

Referenced by GetNormal(), K3dPlane(), Reset(), and SetNormal().

float K3dPlane::m_fDistance [private]

Plane distance from origin.

Definition at line 41 of file K3dPlane.h.

Referenced by GetDistance(), K3dPlane(), and Reset().


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