00001 00020 #ifndef SEPARATOR_H_ 00021 #define SEPARATOR_H_ 00022 00023 #include <vector> 00024 #include "Node.hh" 00025 #include "Attribute.hh" 00026 00027 using namespace std; 00028 00029 namespace vrml1 { 00030 00031 enum e_renderCulling { ON, OFF, AUTO }; 00032 00033 00034 class Separator : public vrml1::Node 00035 { 00036 public: 00037 Separator(); 00038 virtual ~Separator(); 00039 00040 virtual void setAttribute(Attribute *A); 00041 void addNode(Node* &N); 00042 00043 unsigned int getNodeCount() const; 00044 const Node* getNode(unsigned int idx) const; 00045 00046 private: 00047 e_renderCulling m_renderCulling; 00048 00049 vector<Node*> m_Nodes; 00050 }; 00051 00052 } 00053 00054 #endif /*SEPARATOR_H_*/