class MwGeometry : public MwNode


Inheritance:


Public Methods

virtual void addGState(pfGeoState *gstate)
IndexedFaceSet and E* override this
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()
All primitives are solid
virtual void transformTexCoords(MwTextureTransform *)

Protected Classes

enum Part

Protected Fields

pfGeoSet* gset
Performer node that holds the primitives

Protected Methods

virtual void generatePrimitives()
Method defined by derived classes to generate the primitives
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

MW_NODE_ABSTRACT_HEADER(MwGeometry)

virtual void addGState(pfGeoState *gstate)
IndexedFaceSet and E* override this

pfGeoSet* getGeoSet()

static pfGeoSet* getSphere(float radius, int slices, int stacks)

static pfGeoSet* getCone(float baseRadius, float height, int ntris, int which)

static pfGeoSet* getCylinder(float radius, float height, int ntris, int which)

virtual MbBool hasColoredVertices()

virtual MbBool hasTexCoords()

virtual MbBool isSolid()
All primitives are solid

virtual void transformTexCoords(MwTextureTransform *)

enum Part

virtual void generatePrimitives()
Method defined by derived classes to generate the primitives

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 )

pfGeoSet* gset
Performer node that holds the primitives


Direct child classes:
MwText
MwSphere
MwPointSet
MwIndexedLineSet
MwIndexedFaceSet
MwExtrusion
MwElevationGrid
MwCylinder
MwCone
MwBox

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