00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SONONINDEXEDSHAPE_H
00021
#define COIN_SONONINDEXEDSHAPE_H
00022
00023
#include <Inventor/nodes/SoSubNode.h>
00024
#include <Inventor/nodes/SoVertexShape.h>
00025
#include <Inventor/fields/SoSFInt32.h>
00026
00027
00028 class COIN_DLL_API SoNonIndexedShape :
public SoVertexShape {
00029
typedef SoVertexShape inherited;
00030
00031 SO_NODE_ABSTRACT_HEADER(SoNonIndexedShape);
00032
00033
public:
00034
static void initClass(
void);
00035
00036
SoSFInt32 startIndex;
00037
00038
protected:
00039 SoNonIndexedShape(
void);
00040
virtual ~SoNonIndexedShape();
00041
00042
void computeCoordBBox(
SoAction * action,
int numVertices,
00043
SbBox3f & box,
SbVec3f & center);
00044
00045
void fixNumVerticesPointers(
SoState *state,
const int32_t *&start,
const int32_t *&end,
00046 int32_t *dummyarray)
const;
00047
00048 };
00049
00050
00051
00052
#endif // !COIN_SONONINDEXEDSHAPE_H