VIEW3DOGL::RCCylinderModel Struct Reference

3D Model of a cyllidner More...

Inherits VIEW3DOGL::TRCOglModelComponent< RCCylinderModel >.

Inheritance diagram for VIEW3DOGL::RCCylinderModel:

Inheritance graph
[legend]
Collaboration diagram for VIEW3DOGL::RCCylinderModel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCCylinderModel (const RCString &sKey, const RSModelCtorArg &CtorArg, const TPosePropertyPtr &PosePtr=TPosePropertyPtr(), const TSkinPropertyPtr &SkinPtr=TSkinPropertyPtr(), TReal nRadius=1, TReal nLength=1, TReal nAngTexScale=-1, TReal nLinTexScale=-1, TLong nComponentMask=CCF_FLAT_CYLINDER, TReal nAccuracy=2.0)

Static Public Attributes

static const RCQuaternion X_ALLIGNED
static const RCQuaternion Y_ALLIGNED
static const RCQuaternion Z_ALLIGNED

Protected Member Functions

virtual void DoConstruction ()
void ConstructFlatEnd (TVertexList &TempVertexList, TBool bFront, TInt nResolution)
void ConstructCappedEnd (TVertexList &TempVertexList, TBool bFront, TInt nResolution)
void CalcCappedCoords (TVertexList &TempVertexList, TInt nResolution)
void AdjustFlatVertex (RSVertex &Vertex, const RCVector &Normal)
TReal GetPhiTexScale () const
 MParamMembersStart (RCCylinderModel) MParamMember("Radius"
RCRealParamHandler MParamMember ("Length", m_nLength, RCRealParamHandler) MParamMember("AngTexScale"
RCRealParamHandler RCRealParamHandler MParamMember ("LinTexScale", m_nLinTexScale, RCRealParamHandler) MParamMember("ComponentMask"

Protected Attributes

 m_nRadius
RCRealParamHandler m_nAngTexScale
RCRealParamHandler RCRealParamHandler m_nComponentMask
RCRealParamHandler RCRealParamHandler
RCCylinderComponentMaskParamHandler
MParamMember("Accuracy", m_nAccuracy,
RCRealParamHandler) MParamMembersEnd()
protected TReal 
m_nLength
TReal m_nAngTexScale
TReal m_nLinTexScale
TLong m_nComponentMask
TReal m_nAccuracy

Detailed Description

3D Model of a cyllidner

Author:
Patrik Stellmann
This class models a cylinder while it can be specified which part of the cylinder is to be constructed. For the ends you can chose between flat ends and half spheres. the cylinder is alligned along z-axis.


The documentation for this struct was generated from the following files:
Generated on Thu Feb 16 12:48:18 2006 for Simulator Bob by  doxygen 1.4.6-NO