Multi-Pipe viewer component which uses a virtual trackball to view the data. More...
#include <Inventor/MP/Win/viewers/SoWinMPExaminerViewer.h>
Public Member Functions | |
SoWinMPExaminerViewer (SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SoWinMPFullViewer::BuildFlag flag=BUILD_ALL, SoWinMPViewer::Type type=BROWSER) | |
~SoWinMPExaminerViewer () | |
void | setFeedbackVisibility (SbBool onOrOff) |
SbBool | isFeedbackVisible () const |
void | setFeedbackSize (int newSize) |
int | getFeedbackSize () const |
void | setAnimationEnabled (SbBool onOrOff) |
SbBool | isAnimationEnabled () |
void | stopAnimating () |
SbBool | isAnimating () |
virtual void | viewAll () |
virtual void | resetToHomePosition () |
virtual void | setCamera (SoCamera *cam) |
virtual void | setViewing (SbBool onOrOff) |
virtual void | setCursorEnabled (SbBool onOrOff) |
Except for its constructor and destructor, this class is identical to SoWinExaminerViewer.
NOTE: This class does not exist in Open Inventor 10.0 and later.SoWinMPExaminerViewer::SoWinMPExaminerViewer | ( | SoWidget | parent = NULL , |
|
const char * | name = NULL , |
|||
SbBool | buildInsideParent = TRUE , |
|||
SoWinMPFullViewer::BuildFlag | flag = BUILD_ALL , |
|||
SoWinMPViewer::Type | type = BROWSER | |||
) |
SoWinMPExaminerViewer::~SoWinMPExaminerViewer | ( | ) |
int SoWinMPExaminerViewer::getFeedbackSize | ( | ) | const [inline] |
SbBool SoWinMPExaminerViewer::isAnimating | ( | ) | [inline] |
SbBool SoWinMPExaminerViewer::isAnimationEnabled | ( | ) | [inline] |
SbBool SoWinMPExaminerViewer::isFeedbackVisible | ( | ) | const [inline] |
virtual void SoWinMPExaminerViewer::resetToHomePosition | ( | ) | [virtual] |
Restores the camera values.
Reimplemented from SoWinMPViewer.
void SoWinMPExaminerViewer::setAnimationEnabled | ( | SbBool | onOrOff | ) |
virtual void SoWinMPExaminerViewer::setCamera | ( | SoCamera * | cam | ) | [virtual] |
Sets the edited camera.
Setting the camera is only needed if the first camera found in the scene when setting the scene graph isn't the one the user really wants to edit.
Reimplemented from SoWinMPFullViewer.
virtual void SoWinMPExaminerViewer::setCursorEnabled | ( | SbBool | onOrOff | ) | [virtual] |
Sets whether the viewer is allowed to change the cursor over the renderArea window.
When disabled, the cursor is undefined by the viewer and will not change as the mode of the viewer changes. When re-enabled, the viewer will reset it to the appropriate icon.
Disabling the cursor enables the application to set the cursor directly on the viewer window or on any parent widget of the viewer. This can be used when setting a busy cursor on the application shell.
Reimplemented from SoWinMPViewer.
void SoWinMPExaminerViewer::setFeedbackSize | ( | int | newSize | ) |
void SoWinMPExaminerViewer::setFeedbackVisibility | ( | SbBool | onOrOff | ) |
virtual void SoWinMPExaminerViewer::setViewing | ( | SbBool | onOrOff | ) | [virtual] |
Sets whether the viewer is turned on or off.
When turned on, messages are consumed by the viewer. When viewing is off, messages are processed by the viewer's render area. This means messages will be sent down to the scene graph for processing (i.e. picking can occur). Note that if the application has registered a message callback, it will be invoked on every message, whether viewing is turned on or not. However, the return value of this callback (which specifies whether the callback handled the message or not) is ignored when viewing is on. That is, the viewer will process the message even if the callback already did. This is to ensure that the viewing paradigm is not broken (default viewing is on).
Reimplemented from SoWinMPFullViewer.
void SoWinMPExaminerViewer::stopAnimating | ( | ) |
virtual void SoWinMPExaminerViewer::viewAll | ( | ) | [virtual] |
Changes the camera position to view the entire scene (the camera zoom or orientation isn't changed).
Reimplemented from SoWinMPViewer.