1 #ifndef COIN_SOCYLINDER_H
2 #define COIN_SOCYLINDER_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoShape.h>
29 #include <Inventor/fields/SoSFFloat.h>
30 #include <Inventor/fields/SoSFBitMask.h>
38 static void initClass(
void);
45 ALL = SIDES|TOP|BOTTOM
67 #endif // !COIN_SOCYLINDER_H
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
virtual void GLRender(SoGLRenderAction *action)
Definition: SoShape.cpp:377
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoCylinder.cpp:322
The SoShape class is the superclass for geometry shapes.
Definition: SoShape.h:43
Part
Definition: SoCylinder.h:41
SoSFFloat radius
Definition: SoCylinder.h:48
@ VRML1
Definition: SoNode.h:61
SoCylinder(void)
Definition: SoCylinder.cpp:138
The SoCylinder class is for rendering cylinder shapes.
Definition: SoCylinder.h:32
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:37
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
virtual void rayPick(SoRayPickAction *action)
Definition: SoCylinder.cpp:297
SoSFBitMask parts
Definition: SoCylinder.h:50
virtual SbBool shouldGLRender(SoGLRenderAction *action)
Definition: SoShape.cpp:532
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoShape.cpp:1439
virtual ~SoCylinder()
Definition: SoCylinder.cpp:156
float getComplexityValue(SoAction *action)
Definition: SoShape.cpp:492
void removePart(SoCylinder::Part part)
Definition: SoCylinder.cpp:271
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Definition: SoCylinder.cpp:169
SbBool shouldPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoShape.cpp:1485
SbVec3f & setValue(const float v[3])
Definition: SbVec3f.cpp:461
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoState * getState(void) const
Definition: SoAction.cpp:1028
SbBool hasPart(SoCylinder::Part part) const
Definition: SoCylinder.cpp:290
virtual void generatePrimitives(SoAction *action)=0
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
void setBounds(const float minx, const float miny, const float minz, const float maxx, const float maxy, const float maxz)
Definition: SbBox3f.cpp:260
virtual void GLRender(SoGLRenderAction *action)
Definition: SoCylinder.cpp:207
SbBool shouldRayPick(SoRayPickAction *const action)
Definition: SoShape.cpp:923
void addPart(SoCylinder::Part part)
Definition: SoCylinder.cpp:253
virtual void rayPick(SoRayPickAction *action)
Definition: SoShape.cpp:430
void addNumTriangles(const int num)
Definition: SoGetPrimitiveCountAction.cpp:247
The SoSFFloat class is a container for a floating point value.
Definition: SoSFFloat.h:30
The SoSFBitMask class is a container for a set of bit flags.
Definition: SoSFBitMask.h:29
The SoRayPickAction class does ray intersection with scene graphs.
Definition: SoRayPickAction.h:40
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
The SoGetPrimitiveCountAction class counts the primitives in a scene.
Definition: SoGetPrimitiveCountAction.h:32
SoSFFloat height
Definition: SoCylinder.h:49
virtual void generatePrimitives(SoAction *action)
Definition: SoCylinder.cpp:342
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18