K3dPlaneMove Class Reference

#include <K3dPlaneMove.h>

Inheritance diagram for K3dPlaneMove:

K3dPlaneVis K3dPlane K3dPlaneObj K3dPolyPlane List of all members.

Public Member Functions

 K3dPlaneMove ()
 ~K3dPlaneMove ()
K3dPlaneMoveoperator= (K3dPlaneMove &_rkPlaneMove)
K3dVector3ObjGetRelPosition ()
 Get relative position.
const K3dVector3ObjGetRelPosition () const
 Get relative position.
void SetRelPosition (K3dVector3Obj *_pRelPosition)
 Set relative position.
K3dVector3ObjGetRelNormal ()
 Get relative normal vector.
void SetRelNormal (K3dVector3Obj *_pRelNormal)
 Set relative normal vector.
K3dVector3ObjGetRotation ()
 Get rotation.
void SetRotation (K3dVector3Obj *_pRotation)
 Set rotation.
K3dMatrixGetMatrix ()
 Get render matrix.
void SetMatrix (K3dMatrix *_pMatrix)
 Set render matrix.
K3dMatrixGetRotMatrix ()
 Get rotation matrix.
void SetRotMatrix (K3dMatrix *_pRotMatrix)
 Set rotation matrix.

Private Member Functions

void SetRenderMatrix ()
 Set render matrix from position and rotation.

Private Attributes

K3dVector3Objm_pRotation
 Plane rotation angle.
K3dVector3Objm_pRelPosition
 Relative plane position.
K3dVector3Objm_pRelNormal
 Relative normal vector.
K3dMatrixm_pMatrix
 Render matrix.
K3dMatrixm_pRotMatrix
 Rotation matrix.

Detailed Description

Definition at line 41 of file K3dPlaneMove.h.


Constructor & Destructor Documentation

K3dPlaneMove::K3dPlaneMove (  ) 

Definition at line 35 of file K3dPlaneMove.cpp.

References m_pMatrix, m_pRelNormal, m_pRelPosition, m_pRotation, and m_pRotMatrix.

K3dPlaneMove::~K3dPlaneMove (  ) 

Definition at line 44 of file K3dPlaneMove.cpp.


Member Function Documentation

void K3dPlaneMove::SetRenderMatrix (  )  [private]

Set render matrix from position and rotation.

Definition at line 67 of file K3dPlaneMove.cpp.

References K3dPlane::GetPosition(), m_pMatrix, m_pRotMatrix, and K3dMatrix::Translation().

K3dPlaneMove & K3dPlaneMove::operator= ( K3dPlaneMove _rkPlaneMove  ) 

Definition at line 48 of file K3dPlaneMove.cpp.

References K3dPlaneVis::GetColor(), K3dPlane::GetDistance(), K3dPlaneVis::GetHeight(), GetMatrix(), K3dPlane::GetNormal(), K3dPlane::GetPosition(), GetRelNormal(), GetRelPosition(), GetRotation(), GetRotMatrix(), K3dPlaneVis::GetVertexArray(), and K3dPlaneVis::GetWidth().

K3dVector3Obj* K3dPlaneMove::GetRelPosition (  )  [inline]

Get relative position.

Definition at line 58 of file K3dPlaneMove.h.

References m_pRelPosition.

Referenced by K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), K3dPlaneWork::Init(), operator=(), and K3dPlaneWork::UpdateMatrix().

const K3dVector3Obj* K3dPlaneMove::GetRelPosition (  )  const [inline]

Get relative position.

Definition at line 64 of file K3dPlaneMove.h.

References m_pRelPosition.

void K3dPlaneMove::SetRelPosition ( K3dVector3Obj _pRelPosition  )  [inline]

Set relative position.

Definition at line 70 of file K3dPlaneMove.h.

References m_pRelPosition.

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

K3dVector3Obj* K3dPlaneMove::GetRelNormal (  )  [inline]

Get relative normal vector.

Definition at line 76 of file K3dPlaneMove.h.

References m_pRelNormal.

Referenced by K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), K3dPlaneWork::Init(), operator=(), and K3dPlaneWork::UpdateMatrix().

void K3dPlaneMove::SetRelNormal ( K3dVector3Obj _pRelNormal  )  [inline]

Set relative normal vector.

Definition at line 82 of file K3dPlaneMove.h.

References m_pRelNormal.

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

K3dVector3Obj* K3dPlaneMove::GetRotation (  )  [inline]

Get rotation.

Definition at line 88 of file K3dPlaneMove.h.

References m_pRotation.

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

void K3dPlaneMove::SetRotation ( K3dVector3Obj _pRotation  )  [inline]

Set rotation.

Definition at line 94 of file K3dPlaneMove.h.

References m_pRotation.

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

K3dMatrix* K3dPlaneMove::GetMatrix (  )  [inline]

Get render matrix.

Definition at line 100 of file K3dPlaneMove.h.

References m_pMatrix.

Referenced by K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), operator=(), and K3dPlaneWork::UpdateMatrix().

void K3dPlaneMove::SetMatrix ( K3dMatrix _pMatrix  )  [inline]

Set render matrix.

Definition at line 106 of file K3dPlaneMove.h.

References m_pMatrix.

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

K3dMatrix* K3dPlaneMove::GetRotMatrix (  )  [inline]

Get rotation matrix.

Definition at line 112 of file K3dPlaneMove.h.

References m_pRotMatrix.

Referenced by K3dPolyPlaneBuild::CreateNewPolyPlaneObj(), operator=(), and K3dPlaneWork::UpdateMatrix().

void K3dPlaneMove::SetRotMatrix ( K3dMatrix _pRotMatrix  )  [inline]

Set rotation matrix.

Definition at line 118 of file K3dPlaneMove.h.

References m_pRotMatrix.

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


Member Data Documentation

K3dVector3Obj* K3dPlaneMove::m_pRotation [private]

Plane rotation angle.

Definition at line 43 of file K3dPlaneMove.h.

Referenced by GetRotation(), K3dPlaneMove(), and SetRotation().

K3dVector3Obj* K3dPlaneMove::m_pRelPosition [private]

Relative plane position.

Definition at line 44 of file K3dPlaneMove.h.

Referenced by GetRelPosition(), K3dPlaneMove(), and SetRelPosition().

K3dVector3Obj* K3dPlaneMove::m_pRelNormal [private]

Relative normal vector.

Definition at line 45 of file K3dPlaneMove.h.

Referenced by GetRelNormal(), K3dPlaneMove(), and SetRelNormal().

K3dMatrix* K3dPlaneMove::m_pMatrix [private]

Render matrix.

Definition at line 46 of file K3dPlaneMove.h.

Referenced by GetMatrix(), K3dPlaneMove(), SetMatrix(), and SetRenderMatrix().

K3dMatrix* K3dPlaneMove::m_pRotMatrix [private]

Rotation matrix.

Definition at line 47 of file K3dPlaneMove.h.

Referenced by GetRotMatrix(), K3dPlaneMove(), SetRenderMatrix(), and SetRotMatrix().


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