CIvfSceneViewer Class Reference
[Ivf Classes]

Ivf wrapper for an SoSceneViewer. More...

#include <Ivf/Viewers/IvfSceneViewer.h>

Inheritance diagram for CIvfSceneViewer:
CIvfComponent

List of all members.

Public Types

enum  IvfSvEViewerType {
  SV_VWR_NONE = -1,
  SV_VWR_EXAMINER,
  SV_VWR_FLY,
  SV_VWR_WALK,
  SV_VWR_PLANE
}
enum  IvfSvEManipMode {
  SV_NONE,
  SV_TRANSFORMER,
  SV_TRACKBALL,
  SV_HANDLEBOX,
  SV_JACK,
  SV_CENTERBALL,
  SV_XFBOX,
  SV_TABBOX
}

Public Member Functions

 CIvfSceneViewer ()
 IVF_COMPONENT_BASE ()
virtual void IvfRemoveManips ()
virtual void IvfRestoreManips ()
IvfSvEManipMode IvfGetCurrManipMode ()
IvfSvEViewerType IvfGetCurrViewerType ()
void IvfOnFileInfo ()
void IvfOnUpdateFileInfo (CCmdUI *pCmdUI)
void IvfOnFileImport ()
void IvfOnUpdateFileImport (CCmdUI *pCmdUI)
void IvfOnViewScreendoortransparency ()
void IvfOnUpdateViewScreendoortransparency (CCmdUI *pCmdUI)
void IvfOnViewBlendedtransparency ()
void IvfOnUpdateViewBlendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewDelayedblendedtransparency ()
void IvfOnUpdateViewDelayedblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewSortedblendedtransparency ()
void IvfOnUpdateViewSortedblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewSortedLayersblendedtransparency ()
void IvfOnUpdateViewSortedLayersblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewSortedTrianglesblendedtransparency ()
void IvfOnUpdateViewSortedTrianglesblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewSortedObjectTrianglesblendedtransparency ()
void IvfOnUpdateViewSortedObjectTrianglesblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewDelayedSortedLayersblendedtransparency ()
void IvfOnUpdateViewDelayedSortedLayersblendedtransparency (CCmdUI *pCmdUI)
void IvfOnViewViewselection ()
void IvfOnUpdateViewViewselection (CCmdUI *pCmdUI)
void IvfOnViewFog ()
void IvfOnUpdateViewFog (CCmdUI *pCmdUI)
void IvfOnViewAntialiasing ()
void IvfOnUpdateViewAntialiasing (CCmdUI *pCmdUI)
void IvfOnViewEditbackgroundcolor ()
void IvfOnUpdateViewEditbackgroundcolor (CCmdUI *pCmdUI)
void IvfOnUpdateViewExaminer (CCmdUI *pCmdUI)
void IvfOnViewExaminer ()
void IvfOnViewFly ()
void IvfOnUpdateViewFly (CCmdUI *pCmdUI)
void IvfOnViewPlane ()
void IvfOnUpdateViewPlane (CCmdUI *pCmdUI)
void IvfOnViewWalk ()
void IvfOnUpdateViewWalk (CCmdUI *pCmdUI)
void IvfOnViewPicedit ()
void IvfOnUpdateViewPicedit (CCmdUI *pCmdUI)
void IvfOnSelectionShiftselection ()
void IvfOnUpdateSelectionShiftselection (CCmdUI *pCmdUI)
void IvfOnSelectionSingleselection ()
void IvfOnUpdateSelectionSingleselection (CCmdUI *pCmdUI)
void IvfOnSelectionToggleselection ()
void IvfOnUpdateSelectionToggleselection (CCmdUI *pCmdUI)
void IvfOnEditorsColoreditor ()
void IvfOnUpdateEditorsColoreditor (CCmdUI *pCmdUI)
void IvfOnEditorsMaterialeditor ()
void IvfOnUpdateEditorsMaterialeditor (CCmdUI *pCmdUI)
void IvfOnEditorsTransformsliders ()
void IvfOnUpdateEditorsTransformsliders (CCmdUI *pCmdUI)
void IvfOnManipsCenterball ()
void IvfOnUpdateManipsCenterball (CCmdUI *pCmdUI)
void IvfOnManipsHandlebox ()
void IvfOnUpdateManipsHandlebox (CCmdUI *pCmdUI)
void IvfOnManipsJack ()
void IvfOnUpdateManipsJack (CCmdUI *pCmdUI)
void IvfOnManipsNone ()
void IvfOnUpdateManipsNone (CCmdUI *pCmdUI)
void IvfOnManipsReplace ()
void IvfOnUpdateManipsReplace (CCmdUI *pCmdUI)
void IvfOnManipsTabbox ()
void IvfOnUpdateManipsTabbox (CCmdUI *pCmdUI)
void IvfOnManipsTransformer ()
void IvfOnUpdateManipsTransformer (CCmdUI *pCmdUI)
void IvfOnManipsTrackball ()
void IvfOnUpdateManipsTrackball (CCmdUI *pCmdUI)
void IvfOnManipsTransformbox ()
void IvfOnUpdateManipsTransformbox (CCmdUI *pCmdUI)
void IvfOnLightsCreatedirlight ()
void IvfOnUpdateLightsCreatedirlight (CCmdUI *pCmdUI)
void IvfOnLightsCreatepointlight ()
void IvfOnUpdateLightsCreatepointlight (CCmdUI *pCmdUI)
void IvfOnLightsCreatespotlight ()
void IvfOnUpdateLightsCreatespotlight (CCmdUI *pCmdUI)
void IvfOnUpdateLightsHideallicons (CCmdUI *pCmdUI)
void IvfOnLightsHideallicons ()
void IvfOnLightsAmbientlighting ()
void IvfOnUpdateLightsAmbientlighting (CCmdUI *pCmdUI)
void IvfOnLightsShowallicons ()
void IvfOnUpdateLightsShowallicons (CCmdUI *pCmdUI)
void IvfOnLightsTurnalloff ()
void IvfOnUpdateLightsTurnalloff (CCmdUI *pCmdUI)
void IvfOnLightsTurnallon ()
void IvfOnUpdateLightsTurnallon (CCmdUI *pCmdUI)
void IvfOnUpdateFilePrint (CCmdUI *pCmdUI)
void IvfOnUpdateFilePrintPreview (CCmdUI *pCmdUI)
void IvfOnUpdateFilePrintSetup (CCmdUI *pCmdUI)

Protected Member Functions

virtual ~CIvfSceneViewer ()
virtual BOOL IvfGetLightName (LPTSTR buf, int buflen, SoType lightType, BOOL &modified)
virtual void IvfPrePasteAction ()
virtual void IvfPostPasteAction ()
virtual void IvfPreCopyAction ()
virtual void IvfPostCopyAction ()
virtual void IvfPreCutAction ()
virtual void IvfOnPaint ()
virtual void IvfOnPaint (CWnd *pWnd)
virtual BOOL IvfOnUpdateFrameTitle (CString &strTitle)
virtual void IvfOnInitialUpdate (CWnd *pWnd)
virtual void IvfOnDeactivateComponent ()
virtual void IvfOnActivateComponent (CView *pView=NULL)
virtual BOOL IvfPreTranslateMessage (MSG *pMsg)
virtual BOOL IvfOnCommand (WPARAM wParam, LPARAM lParam)
virtual void IvfOnDestroy ()
BOOL IvfUpdateWindowText ()
void IvfFindTopWindow ()
void IvfDrawTopMenuBar ()
virtual BOOL IvfIsSceneViewer ()

Static Protected Member Functions

static void IvfBgColorChangedCB (void *userData, const SbColor *c)

Protected Attributes

SoSceneViewer * m_pSV
CString m_strTitle
CWnd * m_pTopWnd
int m_nFirstLightMenuId

Detailed Description

Ivf wrapper for an SoSceneViewer.

Note: Although the class name is CIvfSceneViewer, the header file name is IvfSceneViewer.h.

SEE ALSO

SceneViewer

Deprecated:

Deprecated since Open Inventor 9500
The whole Ivf viewer API is no longer supported. Examples of custom viewers can be found in section MFC examples user interface of the Reference Manual.

Member Enumeration Documentation

Scene viewer manipulators.

Enumerator:
SV_NONE 
SV_TRANSFORMER 

None.

SV_TRACKBALL 

Transformer manip.

SV_HANDLEBOX 

Trackball manip.

SV_JACK 

Handlebox manip.

SV_CENTERBALL 

Jack manip.

SV_XFBOX 

Centerball manip.

SV_TABBOX 

TransformBox manip.

TabBox manip

Scene viewer type.

Enumerator:
SV_VWR_NONE 

No viewer.

SV_VWR_EXAMINER 

Examiner viewer.

SV_VWR_FLY 

Fly viewer.

SV_VWR_WALK 

Walk viewer.

SV_VWR_PLANE 

Plane viewer.


Constructor & Destructor Documentation

CIvfSceneViewer::CIvfSceneViewer (  ) 
virtual CIvfSceneViewer::~CIvfSceneViewer (  )  [protected, virtual]

Member Function Documentation

CIvfSceneViewer::IVF_COMPONENT_BASE (  ) 

This macro declares the minimum number of methods necessary to create a class derived from CIvfComponent.

static void CIvfSceneViewer::IvfBgColorChangedCB ( void *  userData,
const SbColor c 
) [static, protected]

this is added to the background color editor to tell us when the background color has changed.

rickb

void CIvfSceneViewer::IvfDrawTopMenuBar (  )  [protected]
void CIvfSceneViewer::IvfFindTopWindow (  )  [protected]
IvfSvEManipMode CIvfSceneViewer::IvfGetCurrManipMode (  ) 
IvfSvEViewerType CIvfSceneViewer::IvfGetCurrViewerType (  ) 
virtual BOOL CIvfSceneViewer::IvfGetLightName ( LPTSTR  buf,
int  buflen,
SoType  lightType,
BOOL &  modified 
) [protected, virtual]
virtual BOOL CIvfSceneViewer::IvfIsSceneViewer (  )  [protected, virtual]

This method queries if the underlying viewer iss a SceneViewer or not.

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfOnActivateComponent ( CView *  pActivateView = NULL  )  [protected, virtual]

This method is invoked prior to activation of the component in a MDI application.

Reimplemented from CIvfComponent.

virtual BOOL CIvfSceneViewer::IvfOnCommand ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

This method is used to route commands to the SoWin component.

TRUE is returned if the command is processed, FALSE otherwise.

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfOnDeactivateComponent (  )  [protected, virtual]

This method is invoked prior to component deactivation in a MDI application.

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfOnDestroy (  )  [protected, virtual]

This method is invoked when the MFC object that is polymorphic with the IVF component object is about to be destroyed.

Reimplemented from CIvfComponent.

void CIvfSceneViewer::IvfOnEditorsColoreditor (  ) 
void CIvfSceneViewer::IvfOnEditorsMaterialeditor (  ) 
void CIvfSceneViewer::IvfOnEditorsTransformsliders (  ) 
void CIvfSceneViewer::IvfOnFileImport (  ) 
void CIvfSceneViewer::IvfOnFileInfo (  ) 

CIvfSceneViewer specific menu command handlers.

virtual void CIvfSceneViewer::IvfOnInitialUpdate ( CWnd *  pWnd  )  [protected, virtual]

This method is invoked during the first update of the window containing the component.

Reimplemented from CIvfComponent.

void CIvfSceneViewer::IvfOnLightsAmbientlighting (  ) 
void CIvfSceneViewer::IvfOnLightsCreatedirlight (  ) 
void CIvfSceneViewer::IvfOnLightsCreatepointlight (  ) 
void CIvfSceneViewer::IvfOnLightsCreatespotlight (  ) 
void CIvfSceneViewer::IvfOnLightsHideallicons (  ) 
void CIvfSceneViewer::IvfOnLightsShowallicons (  ) 
void CIvfSceneViewer::IvfOnLightsTurnalloff (  ) 
void CIvfSceneViewer::IvfOnLightsTurnallon (  ) 
void CIvfSceneViewer::IvfOnManipsCenterball (  ) 
void CIvfSceneViewer::IvfOnManipsHandlebox (  ) 
void CIvfSceneViewer::IvfOnManipsJack (  ) 
void CIvfSceneViewer::IvfOnManipsNone (  ) 
void CIvfSceneViewer::IvfOnManipsReplace (  ) 
void CIvfSceneViewer::IvfOnManipsTabbox (  ) 
void CIvfSceneViewer::IvfOnManipsTrackball (  ) 
void CIvfSceneViewer::IvfOnManipsTransformbox (  ) 
void CIvfSceneViewer::IvfOnManipsTransformer (  ) 
virtual void CIvfSceneViewer::IvfOnPaint ( CWnd *  pWnd  )  [protected, virtual]

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfOnPaint (  )  [protected, virtual]

Paint message handler (default calls BeginPaint/EndPaint).

No params version is the old one. Starting with release 2.2.1, the IVF AppWizard generates code in the app to override the default CView OnPaint handler and call the second version.

Reimplemented from CIvfComponent.

void CIvfSceneViewer::IvfOnSelectionShiftselection (  ) 
void CIvfSceneViewer::IvfOnSelectionSingleselection (  ) 
void CIvfSceneViewer::IvfOnSelectionToggleselection (  ) 
void CIvfSceneViewer::IvfOnUpdateEditorsColoreditor ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateEditorsMaterialeditor ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateEditorsTransformsliders ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateFileImport ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateFileInfo ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateFilePrint ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateFilePrintPreview ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateFilePrintSetup ( CCmdUI *  pCmdUI  ) 
virtual BOOL CIvfSceneViewer::IvfOnUpdateFrameTitle ( CString &  strTitle  )  [protected, virtual]
void CIvfSceneViewer::IvfOnUpdateLightsAmbientlighting ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsCreatedirlight ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsCreatepointlight ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsCreatespotlight ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsHideallicons ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsShowallicons ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsTurnalloff ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateLightsTurnallon ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsCenterball ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsHandlebox ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsJack ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsNone ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsReplace ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsTabbox ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsTrackball ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsTransformbox ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateManipsTransformer ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateSelectionShiftselection ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateSelectionSingleselection ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateSelectionToggleselection ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewAntialiasing ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewBlendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewDelayedblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewDelayedSortedLayersblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewEditbackgroundcolor ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewExaminer ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewFly ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewFog ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewPicedit ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewPlane ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewScreendoortransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewSortedblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewSortedLayersblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewSortedObjectTrianglesblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewSortedTrianglesblendedtransparency ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewViewselection ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnUpdateViewWalk ( CCmdUI *  pCmdUI  ) 
void CIvfSceneViewer::IvfOnViewAntialiasing (  ) 
void CIvfSceneViewer::IvfOnViewBlendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewDelayedblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewDelayedSortedLayersblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewEditbackgroundcolor (  ) 
void CIvfSceneViewer::IvfOnViewExaminer (  ) 
void CIvfSceneViewer::IvfOnViewFly (  ) 
void CIvfSceneViewer::IvfOnViewFog (  ) 
void CIvfSceneViewer::IvfOnViewPicedit (  ) 
void CIvfSceneViewer::IvfOnViewPlane (  ) 
void CIvfSceneViewer::IvfOnViewScreendoortransparency (  ) 
void CIvfSceneViewer::IvfOnViewSortedblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewSortedLayersblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewSortedObjectTrianglesblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewSortedTrianglesblendedtransparency (  ) 
void CIvfSceneViewer::IvfOnViewViewselection (  ) 
void CIvfSceneViewer::IvfOnViewWalk (  ) 
virtual void CIvfSceneViewer::IvfPostCopyAction (  )  [protected, virtual]

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfPostPasteAction (  )  [protected, virtual]

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfPreCopyAction (  )  [protected, virtual]

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfPreCutAction (  )  [protected, virtual]

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfPrePasteAction (  )  [protected, virtual]

These are called just before and after the respective edit operations to allow the viewer to make adjustments before and after.

Reimplemented from CIvfComponent.

virtual BOOL CIvfSceneViewer::IvfPreTranslateMessage ( MSG *  pMsg  )  [protected, virtual]
virtual void CIvfSceneViewer::IvfRemoveManips (  )  [virtual]

These functions prune and restore manipulators from and to the scene graph.

Used before saving to storage, clipboard, etc.

Reimplemented from CIvfComponent.

virtual void CIvfSceneViewer::IvfRestoreManips (  )  [virtual]

Reimplemented from CIvfComponent.

BOOL CIvfSceneViewer::IvfUpdateWindowText (  )  [protected]

CIvfSceneViewer specific utility methods.


Member Data Documentation

SoSceneViewer* CIvfSceneViewer::m_pSV [protected]

pointer to the SoSceneViewer object we create

CWnd* CIvfSceneViewer::m_pTopWnd [protected]
CString CIvfSceneViewer::m_strTitle [protected]

CIvfSceneViewer specific member variables.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/