00001 #ifndef _VRMLSHAPE_H_ 00002 #define _VRMLSHAPE_H_ 00003 00004 #include "VrmlSeparator.h" 00005 #include "VrmlNode.h" 00006 00007 class VrmlShape : public VrmlNode 00008 { 00009 public: 00010 //data 00011 00012 //methods 00013 ~VrmlShape(); 00014 virtual void Parse( char*& buffer ); 00015 virtual void Render( VrmlStack& stack ) const; 00016 virtual void RenderOpenGl( VrmlStack& stack ) const; 00017 IGS_Object* RenderToIGS( VrmlStack& stack ) const; 00018 00019 protected: 00020 VrmlNode* m_Appearance; //IAN IMPROVE: this is a bit of a cop out - is geometry different than group? 00021 VrmlNode* m_Geometry; //IAN IMPROVE: this is a bit of a cop out - is geometry different than group? 00022 }; 00023 00024 #endif