Ivf/IvfComponent.h File Reference
#include <Inventor/SbBasic.h>
#include <SoVersion.h>
#include <Inventor/SoModule.h>
Go to the source code of this file.
Define Documentation
#define __IVFDLL "Ivf.dll" |
#define __IVFLIB "Ivf.lib" |
#define IVF_COMMAND_HANDLER |
( |
ComponentName, |
|
|
CmdName |
|
) |
|
#define IVF_COMMAND_HANDLER_BETA2 |
( |
ComponentName, |
|
|
VwrName, |
|
|
CmdName |
|
) |
|
Value:
for beta2 compatability
#define IVF_COMPONENT_BASE |
( |
|
) |
|
Value:public:\
virtual void IvfCreateComponent(CWnd *pWnd, void *pVwrArgs=NULL);\
virtual void IvfDestroyComponent();\
virtual void IvfSetSceneGraph(SoNode *pRoot) ;\
virtual SoNode * IvfGetSceneGraph();\
virtual SoNode * IvfGetBaseViewerSceneGraph();\
virtual void IvfReleaseSceneGraph();\
virtual void IvfSetBackgroundColor(SbColor &bg);\
virtual void IvfSetHeadlight(BOOL);\
virtual BOOL IvfIsHeadlight();\
virtual void IvfSetActiveCamera(SoCamera *pCam);\
virtual SoCamera * IvfGetActiveCamera();\
virtual void IvfSaveHomePosition();\
virtual void IvfResetToHomePosition();\
virtual void IvfViewAll();\
virtual SoGLRenderAction * IvfGetGLRenderAction();\
virtual const SbViewportRegion & IvfGetViewportRegion();\
virtual SoSceneManager *IvfGetSceneManager();\
virtual BOOL IvfIsViewing();\
virtual void IvfSetViewing(BOOL flag);
This macro is used by classes derived from CIvfComponent for convenient declaration of the minimum set of methods that must be defined by the derived class.
These are all of the methods that are declared as pure virtual functions in CIvfComponent.
#define IVF_MFC_ON_METHOD_NAME |
( |
CmdName |
|
) |
On##CmdName |
These macros are used in the MFC application view class implementation to route commands to the IVF component object.
If you use these macros, you cannot use the ClassWizard to edit the view's code.
#define IVF_MFC_ON_UPD_METHOD_NAME |
( |
CmdName |
|
) |
OnUpdate##CmdName |
#define IVF_ON_METHOD_NAME |
( |
CmdName |
|
) |
IvfOn##CmdName |
#define IVF_ON_UPD_METHOD_NAME |
( |
CmdName |
|
) |
IvfOnUpdate##CmdName |