VIEW3DOGL::RCConeModel Struct Reference

3D Model of a cone More...

Inherits VIEW3DOGL::TRCOglModelComponent< RCConeModel >.

Inheritance diagram for VIEW3DOGL::RCConeModel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCConeModel (const RCString &sKey, const RSModelCtorArg &CtorArg, const TPosePropertyPtr &PosePtr=TPosePropertyPtr(), const TSkinPropertyPtr &SkinPtr=TSkinPropertyPtr(), TReal nRadius=1, TReal nLength=1, TReal nLinTexScale=-1, TBool bDrawBase=true, TReal nAccuracy=2.0)

Static Public Attributes

static const RCQuaternion PX_ALLIGNED
static const RCQuaternion PY_ALLIGNED
static const RCQuaternion PZ_ALLIGNED
static const RCQuaternion NX_ALLIGNED
static const RCQuaternion NY_ALLIGNED
static const RCQuaternion NZ_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 (RCConeModel) MParamMember("Radius"
RCRealParamHandler MParamMember ("Length", m_nLength, RCRealParamHandler) MParamMember("LinTexScale"
RCRealParamHandler RCRealParamHandler MParamMember ("DrawBase", m_bDrawBase, RCBoolParamHandler) MParamMember("Accuracy"

Protected Attributes

 m_nRadius
RCRealParamHandler m_nLinTexScale
RCRealParamHandler RCRealParamHandler m_nAccuracy
RCRealParamHandler RCRealParamHandler
RCRealParamHandler MParamMembersEnd()
protected TReal 
m_nLength
TReal m_nLinTexScale
TBool m_bDrawBase
TReal m_nAccuracy

Detailed Description

3D Model of a cone

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


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