Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

GLPointSet.h

Go to the documentation of this file.
00001 
00002 //                            GLPointSet.h                                    //
00004 
00005 #ifndef GLPOINTSET_H
00006 #define GLPOINTSET_H
00007 
00008 #include "X3DGLGeometryNode.h"
00009 
00010 #include <vector>
00011 
00012 namespace X3DTK {
00013 
00014 class PointSet;
00015 
00018 
00019 class GLPointSet : public X3DGLGeometryNode
00020 {
00021 public:
00023   GLPointSet();
00025   virtual SFNode clone() const;
00027   ~GLPointSet();
00028 
00030   inline SFBool &getColor() const {return (SFBool &)_color;};
00032   inline MFVec3f &getPointArray() const {return (MFVec3f &)_pointArray;};
00034   inline std::vector<C4UB_V3F> &getPointSetArray() const {return (std::vector<C4UB_V3F> &)_pointSetArray;};
00035 
00036 protected: 
00038   GLPointSet(const GLPointSet &P);
00039   
00040 private:
00041   //GL attributes
00042   SFBool _color;
00043   
00044   MFVec3f _pointArray;
00045   std::vector<C4UB_V3F> _pointSetArray;
00046 };
00047 
00048 }
00049 
00050 #endif

Generated on Wed May 14 10:38:09 2003 for X3DToolKit by doxygen1.3