20 #ifndef _SAIBROWSER_H_ABSTRACT_
21 #define _SAIBROWSER_H_ABSTRACT_
23 #include "SAIGlobals.h"
25 namespace freeWRLSAI_cpp
30 class saiExecutionContext;
44 virtual saiBrowser* getBrowser(
const SAIParameter* pParams) = 0;
45 virtual saiBrowser* createBrowser(
const SAIParameter* pParams, std::map<std::string, std::string>* pProperties) = 0;
49 virtual const char* getName() = 0;
50 virtual const char* getVersion() = 0;
51 virtual float getCurrentSpeed() = 0;
52 virtual float getCurrentFrameRate() = 0;
56 virtual void replaceWorld(
const char* sceneURI) = 0;
59 virtual void loadURL(
const char* sceneURL) = 0;
61 virtual void setDescription(
const char* strDescription) = 0;
63 virtual saiScene* createX3DFromString(
const char* strX3DSource) = 0;
65 virtual void updateControl(
unsigned int nAction)= 0;
67 virtual void registerBrowserInterest(
unsigned int nAction,
saiBrowser* pRequester) = 0;
69 virtual std::map<std::string, std::string>* getRenderingProperties() = 0;
71 virtual std::map<std::string, std::string>* getBrowserProperties() = 0;
73 virtual void changeViewpoint(
unsigned int nAction) = 0;
75 virtual void print() = 0;
77 virtual void dispose() = 0;
79 virtual bool setBrowserOption(
const char* strOptionName,
void* pOptionValue) = 0;
82 virtual const std::vector<saiProfileDeclaration*>* getSupportedProfiles() = 0;
86 virtual const std::map<std::string,saiComponent*>* getSupportedComponents() = 0;
88 virtual const saiComponent* getComponent(
const char* strComponentName) = 0;
103 #endif _SAIBROWSER_H_ABSTRACT