K3dBlock Class Reference

#include <K3dBlock.h>

Inheritance diagram for K3dBlock:

K3dBlockObj List of all members.

Public Member Functions

 K3dBlock ()
 ~K3dBlock ()
K3dVector3GetCentre ()
 Get or set block centre.
int & GetNumFaces ()
 Get or set number of block faces.
int & GetFirstFaceId ()
 Get or set first face index in global vertex array.

Private Attributes

int m_iNumFaces
 Number of block faces.
int m_iFirstFaceId
 First face index in global data.
K3dVector3 m_kCentre
 Block centre.

Detailed Description

Definition at line 38 of file K3dBlock.h.


Constructor & Destructor Documentation

K3dBlock::K3dBlock (  ) 

Definition at line 35 of file K3dBlock.cpp.

References m_kCentre, and K3dVector3::Reset().

K3dBlock::~K3dBlock (  ) 

Definition at line 40 of file K3dBlock.cpp.


Member Function Documentation

K3dVector3& K3dBlock::GetCentre (  )  [inline]

Get or set block centre.

Definition at line 49 of file K3dBlock.h.

References m_kCentre.

int& K3dBlock::GetNumFaces (  )  [inline]

Get or set number of block faces.

Definition at line 55 of file K3dBlock.h.

References m_iNumFaces.

int& K3dBlock::GetFirstFaceId (  )  [inline]

Get or set first face index in global vertex array.

Definition at line 61 of file K3dBlock.h.

References m_iFirstFaceId.


Member Data Documentation

int K3dBlock::m_iNumFaces [private]

Number of block faces.

Definition at line 40 of file K3dBlock.h.

Referenced by GetNumFaces().

int K3dBlock::m_iFirstFaceId [private]

First face index in global data.

Definition at line 41 of file K3dBlock.h.

Referenced by GetFirstFaceId().

K3dVector3 K3dBlock::m_kCentre [private]

Block centre.

Definition at line 42 of file K3dBlock.h.

Referenced by GetCentre(), and K3dBlock().


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