XdkWrl: scene.h Source File

Home | Hierarchy | Members | Alphabetical | Related Pages

# scene.h

Go to the documentation of this file.

    00001 #ifndef XDKWRL_SCENE_H
    00002 #define XDKWRL_SCENE_H
    00003
    00004 #include <xdkwrl/config.h>
    00005 #include <xdkwrl/node.h>
    00006 #include <xdkwrl/fieldtypes/mfnode.h>
    00007 #include <string>
    00008
    00009 namespace wrl
    00010 {
    00011   class ProtoDeclaration;
    00012   class ExternProtoDeclaration;
    00013   //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    00014   // Interface of Scene
    00015   //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    00016   class XDKWRL_EXPORT Scene
    00017   {
    00018   public:
    00019     Scene();
    00020     virtual ~Scene() {};
    00021     void load(const char* fileName,bool verbose=false,bool fast=true);
    00022     void load(const std::string& fileName,bool verbose=false,bool fast=true);
    00023     MFNode nodes;
    00024     std::deque<ProtoDeclaration*> protos;
    00025     std::deque<ExternProtoDeclaration*> externProtos;
    00026   private:
    00027   };
    00028 };
    00029
    00030 #endif // XDKWRL_SCENE_H
    00031
    00032 // Local variables section.
    00033 // This is only used by emacs!
    00034 // Local Variables:
    00035 // ff-search-directories: ("." "../../src/xdkwrl/")
    00036 // End:

Generated on 5 Jan 2007 with version 1.5.1. |