00001 #ifndef COIN_SONURBSPROFILE_H
00002 #define COIN_SONURBSPROFILE_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <Inventor/nodes/SoSubNode.h>
00028 #include <Inventor/nodes/SoProfile.h>
00029 #include <Inventor/fields/SoMFFloat.h>
00030
00031
00032 class COIN_DLL_API SoNurbsProfile : public SoProfile {
00033 typedef SoProfile inherited;
00034
00035 SO_NODE_HEADER(SoNurbsProfile);
00036
00037 public:
00038 static void initClass(void);
00039 SoNurbsProfile(void);
00040
00041 SoMFFloat knotVector;
00042
00043 virtual void getTrimCurve(SoState * state, int32_t & numpoints,
00044 float *& points, int & floatspervec,
00045 int32_t & numknots, float *& knotvector);
00046 virtual void getVertices(SoState * state, int32_t & numvertices,
00047 SbVec2f *& vertices);
00048
00049 protected:
00050 virtual ~SoNurbsProfile();
00051
00052 private:
00053 void * nurbsrenderer;
00054 };
00055
00056 #endif // !COIN_SONURBSPROFILE_H