00001 #ifndef _VRMLINLINE_H_ 00002 #define _VRMLINLINE_H_ 00003 00004 #include "VrmlNode.h" 00005 00006 class VrmlBboxCenter; 00007 class VrmlBboxSize; 00008 00009 class VrmlInline : public VrmlNode 00010 { 00011 public: 00012 //data 00013 00014 //methods 00015 VrmlInline(); 00016 ~VrmlInline(); 00017 virtual void Parse( char*& buffer ); 00018 bool ParseFile( const char* filename ); 00019 virtual void Render( VrmlStack& stack ) const; 00020 virtual void RenderOpenGl( VrmlStack& stack ) const; 00021 virtual IGS_Object* RenderToIGS( VrmlStack& stack ) const; 00022 static void SetRootPath( const char* path ); 00023 00024 protected: 00025 VrmlBboxCenter* m_BboxCenter; 00026 VrmlBboxSize* m_BboxSize; 00027 std::vector< VrmlNode* > m_Subnodes; 00028 static char m_RootPath[ 256 ]; 00029 }; 00030 #endif