1 #ifndef COIN_SOPOINTSET_H
2 #define COIN_SOPOINTSET_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoNonIndexedShape.h>
29 #include <Inventor/fields/SoSFInt32.h>
37 static void initClass(
void);
54 SoNormalBundle * bundle);
62 Binding findNormalBinding(
SoState *
const state)
const;
63 Binding findMaterialBinding(
SoState *
const state)
const;
66 #endif // !COIN_SOPOINTSET_H
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
int getNum(void) const
Definition: SoMField.h:86
virtual void GLRender(SoGLRenderAction *action)
Definition: SoShape.cpp:377
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
void setTextureCoordIndex(const int idx)
Definition: SoPointDetail.cpp:141
void pop(void)
Definition: SoState.cpp:284
virtual SbBool shouldGLRender(SoGLRenderAction *action)
Definition: SoVertexShape.cpp:176
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
@ VRML1
Definition: SoNode.h:61
void push(void)
Definition: SoState.cpp:265
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Definition: SoPointSet.cpp:310
uint32_t getCacheContext(void) const
Definition: SoGLRenderAction.cpp:902
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:37
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
virtual void GLRender(SoGLRenderAction *action)
Definition: SoPointSet.cpp:188
The SoNonIndexedShape class is the superclass for all non-indexed vertex based shapes.
Definition: SoNonIndexedShape.h:32
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoPointSet.cpp:317
void finishVertexArray(SoGLRenderAction *action, const SbBool vbo, const SbBool normpervertex, const SbBool texpervertex, const SbBool colorpervertex)
Definition: SoShape.cpp:1794
void beginShape(SoAction *const action, const TriangleShape shapetype, SoDetail *const detail=NULL)
Definition: SoShape.cpp:1349
SoSFInt32 numPoints
Definition: SoPointSet.h:40
The SoSFInt32 class is a container for a 32-bit integer value.
Definition: SoSFInt32.h:30
SoSFInt32 startIndex
Definition: SoNonIndexedShape.h:40
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Definition: SoPointSet.cpp:149
void setDetail(SoDetail *const d)
Definition: SoPrimitiveVertex.cpp:260
void setTextureCoords(const SbVec2f &texcoords)
Definition: SoPrimitiveVertex.cpp:178
virtual SbBool generateDefaultNormals(SoState *, SoNormalCache *nc)
Definition: SoPointSet.cpp:291
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoShape.cpp:1439
The SoPointSet class is used to display a set of 3D points.
Definition: SoPointSet.h:31
SbBool shouldPrimitiveCount(SoGetPrimitiveCountAction *action)
Definition: SoShape.cpp:1485
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition: SoPrimitiveVertex.h:33
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
void addNumPoints(const int num)
Definition: SoGetPrimitiveCountAction.cpp:267
SoState * getState(void) const
Definition: SoAction.cpp:1028
void computeCoordBBox(SoAction *action, int numVertices, SbBox3f &box, SbVec3f ¢er)
Definition: SoNonIndexedShape.cpp:86
void setNormalIndex(const int idx)
Definition: SoPointDetail.cpp:132
void setPoint(const SbVec3f &point)
Definition: SoPrimitiveVertex.cpp:140
The SoPointDetail class is for storing detailed information for a single 3D point.
Definition: SoPointDetail.h:29
SbBool startVertexArray(SoGLRenderAction *action, const SoCoordinateElement *coords, const SbVec3f *pervertexnormals, const SbBool texpervertex, const SbBool colorpervertex)
Definition: SoShape.cpp:1649
virtual void generatePrimitives(SoAction *action)=0
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition: SoGetBoundingBoxAction.h:34
virtual SbBool generateDefaultNormals(SoState *state, SoNormalBundle *bundle)
Definition: SoVertexShape.cpp:149
SoMFVec3f vertex
Definition: SoVertexProperty.h:53
void shapeVertex(const SoPrimitiveVertex *const v)
Definition: SoShape.cpp:1364
The SoVertexProperty class collects the functionality of various appearance nodes.
Definition: SoVertexProperty.h:33
SoPointSet(void)
Definition: SoPointSet.cpp:126
void endShape(void)
Definition: SoShape.cpp:1377
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
Definition: SoShape.cpp:364
void setMaterialIndex(const int idx)
Definition: SoPointDetail.cpp:123
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
virtual void generatePrimitives(SoAction *action)
Definition: SoPointSet.cpp:340
void setCoordinateIndex(const int idx)
Definition: SoPointDetail.cpp:114
void setNormal(const SbVec3f &normal)
Definition: SoPrimitiveVertex.cpp:157
virtual void doAction(SoAction *action)
Definition: SoNode.cpp:761
SoSFNode vertexProperty
Definition: SoVertexShape.h:50
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
virtual ~SoPointSet()
Definition: SoPointSet.cpp:136
void setMaterialIndex(const int index)
Definition: SoPrimitiveVertex.cpp:246
void getVertexData(SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals)
Definition: SoVertexShape.cpp:268
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17