#include <K3dPlane.h>
Inheritance diagram for K3dPlane:

Public Member Functions | |
| K3dPlane () | |
| ~K3dPlane () | |
| K3dPlane & | operator= (K3dPlane &_rkPlane) |
| void | Reset () |
| Reset variables. | |
| K3dVector3Obj * | GetNormal () |
| Get normal vector. | |
| const K3dVector3Obj * | GetNormal () const |
| void | SetNormal (K3dVector3Obj *_pNormal) |
| Set normal vector. | |
| float & | GetDistance () |
| Get or set distance. | |
| const float & | GetDistance () const |
| K3dVector3Obj * | GetPosition () |
| Get position on the plane. | |
| const K3dVector3Obj * | GetPosition () const |
| void | SetPosition (K3dVector3Obj *_pPosition) |
| Set position on the plane. | |
Private Attributes | |
| K3dVector3Obj * | m_pPosition |
| Some on plane position. | |
| K3dVector3Obj * | m_pNormal |
| Normal vector. | |
| float | m_fDistance |
| Plane distance from origin. | |
Definition at line 37 of file K3dPlane.h.
| K3dPlane::K3dPlane | ( | ) |
| K3dPlane::~K3dPlane | ( | ) |
Definition at line 42 of file K3dPlane.cpp.
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] |
| 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] |
| 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] |
| 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().
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().
1.5.0