class MwCylinder : public MwGeometry
Inheritance:
Public Fields
-
MwSFBool bottom
-
-
MwSFFloat height
- Size in y dimension
-
MwSFFloat radius
- Radius in x and z dimensions
-
MwSFBool side
-
-
MwSFBool top
-
Public Methods
-
virtual void generatePrimitives()
-
Public Methods
virtual void addGState(pfGeoState *gstate)
static pfGeoSet* getCone(float baseRadius, float height, int ntris, int which)
static pfGeoSet* getCylinder(float radius, float height, int ntris, int which)
pfGeoSet* getGeoSet()
static pfGeoSet* getSphere(float radius, int slices, int stacks)
virtual MbBool hasColoredVertices()
virtual MbBool hasTexCoords()
virtual MbBool isSolid()
virtual void transformTexCoords(MwTextureTransform *)
Protected Classes
enum Part
Protected Fields
pfGeoSet* gset
Protected Methods
static void makeCylinder(GeoBaggage &baggage, float baseRadius, float topRadius, float ymin, float ymax, int slices, int stacks)
static void makeDisk(GeoBaggage &baggage, float innerRadius, float outerRadius, float dist, int slices, int loops )
Protected
enum Part
Private Methods
MW_NODE_ABSTRACT_HEADER(MwGeometry)
Documentation
virtual void generatePrimitives()
MwSFBool bottom
MwSFBool side
MwSFBool top
MwSFFloat radius
- Radius in x and z dimensions
MwSFFloat height
- Size in y dimension
- This class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de