GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOXTFLYVIEWER (3)

NAME

SoXtFlyViewer — viewer component for flying through space, with a constant world up

CONTENTS

Inherits From
Synopsis
Description
Methods
Resources
Usage
See Also

INHERITS FROM

SoXtComponent > SoXtGLWidget > SoXtRenderArea > SoXtViewer > SoXtFullViewer > SoXtConstrainedViewer > SoXtFlyViewer

SYNOPSIS

#include <Inventor/Xt/viewers/SoXtFlyViewer.h>

Methods from class SoXtFlyViewer:

       
                    
                     SoXtFlyViewer(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE, SoXtFullViewer::BuildFlag flag = BUILD_ALL, SoXtViewer::Type type = BROWSER)    
   
                    
                     ~SoXtFlyViewer()

Methods from class SoXtConstrainedViewer:

    void    
                    
void                 setUpDirection(const SbVec3f &newUpDirection)    
SbVec3f    
                    
SbVec3f              getUpDirection()

Methods from class SoXtFullViewer:

    void    
                    
void                 setDecoration(SbBool onOrOff)    
SbBool    
                    
SbBool               isDecoration()    
void    
                    
void                 setPopupMenuEnabled(SbBool trueOrFalse)    
SbBool    
                    
SbBool               isPopupMenuEnabled()    
Widget    
                    
Widget               getAppPushButtonParent() const    
void    
                    
void                 addAppPushButton(Widget newButton)    
void    
                    
void                 insertAppPushButton(Widget newButton, int index)    
void    
                    
void                 removeAppPushButton(Widget oldButton)    
int    
                    
int                  findAppPushButton(Widget oldButton)    
int    
                    
int                  lengthAppPushButton()    
Widget    
                    
Widget               getRenderAreaWidget()

Methods from class SoXtViewer:

    virtual void    
                        
virtual void             setCamera(SoCamera *cam)    
SoCamera *    
                        
SoCamera *               getCamera()    
virtual void    
                        
virtual void             setCameraType(SoType type)    
SoType    
                        
SoType                   getCameraType()    
virtual void    
                        
virtual void             viewAll()    
virtual void    
                        
virtual void             saveHomePosition()    
virtual void    
                        
virtual void             resetToHomePosition()    
virtual void    
                        
virtual void             setHeadlight(SbBool onOrOff)    
SbBool    
                        
SbBool                   isHeadlight()    
SoDirectionalLight *    
                        
SoDirectionalLight *     getHeadlight()    
virtual void    
                        
virtual void             setDrawStyle(SoXtViewer::DrawType type, SoXtViewer::DrawStyle style)    
SoXtViewer::DrawStyle    
                        
SoXtViewer::DrawStyle    getDrawStyle(SoXtViewer::DrawType type)    
virtual void    
                        
virtual void             setBufferingType(SoXtViewer::BufferType type)    
SoXtViewer::BufferType    
                        
SoXtViewer::BufferType   getBufferingType()    
virtual void    
                        
virtual void             setViewing(SbBool onOrOff)    
SbBool    
                        
SbBool                   isViewing() const    
virtual void    
                        
virtual void             setCursorEnabled(SbBool onOrOff)    
SbBool    
                        
SbBool                   isCursorEnabled() const    
void    
                        
void                     setAutoClipping(SbBool onOrOff)    
SbBool    
                        
SbBool                   isAutoClipping() const    
virtual void    
                        
virtual void             setStereoViewing(SbBool onOrOff)    
virtual SbBool    
                        
virtual SbBool           isStereoViewing()    
void    
                        
void                     setStereoOffset(float dist)    
float    
                        
float                    getStereoOffset()    
void    
                        
void                     setDetailSeek(SbBool onOrOff)    
SbBool    
                        
SbBool                   isDetailSeek()    
void    
                        
void                     setSeekTime(float seconds)    
float    
                        
float                    getSeekTime()    
void    
                        
void                     addStartCallback(SoXtViewerCB *f, void *userData = NULL)    
void    
                        
void                     addFinishCallback(SoXtViewerCB *f, void *userData = NULL)    
void    
                        
void                     removeStartCallback(SoXtViewerCB *f, void *userData = NULL)    
void    
                        
void                     removeFinishCallback(SoXtViewerCB *f, void *userData = NULL)    
void    
                        
void                     copyView(Time eventTime)    
void    
                        
void                     pasteView(Time eventTime)    
virtual void    
                        
virtual void             recomputeSceneSize()

Methods from class SoXtRenderArea:

    virtual void    
                          
virtual void               setSceneGraph(SoNode *newScene)    
virtual SoNode *    
                          
virtual SoNode *           getSceneGraph()    
void    
                          
void                       setOverlaySceneGraph(SoNode *newScene)    
SoNode *    
                          
SoNode *                   getOverlaySceneGraph()    
void    
                          
void                       registerDevice(SoXtDevice *)    
void    
                          
void                       unregisterDevice(SoXtDevice *)    
void    
                          
void                       setBackgroundColor(const SbColor &c)    
const SbColor &    
                          
const SbColor &            getBackgroundColor() const    
void    
                          
void                       setBackgroundIndex(int index)    
int    
                          
int                        getBackgroundIndex() const    
void    
                          
void                       setOverlayBackgroundIndex(int index)    
int    
                          
int                        getOverlayBackgroundIndex() const    
void    
                          
void                       setColorMap(int startIndex, int num, const SbColor *colors)    
void    
                          
void                       setOverlayColorMap(int startIndex, int num, const SbColor *colors)    
void    
                          
void                       setViewportRegion(const SbViewportRegion &newRegion)    
const SbViewportRegion &    
                          
const SbViewportRegion &   getViewportRegion() const    
void    
                          
void                       setTransparencyType(SoGLRenderAction::TransparencyType type)    
SoGLRenderAction::TransparencyType    
                          
SoGLRenderAction::TransparencyType getTransparencyType() const    
void    
                          
void                       setAntialiasing(SbBool smoothing, int numPasses)    
void    
                          
void                       getAntialiasing(SbBool &smoothing, int &numPasses) const    
void    
                          
void                       setClearBeforeRender(SbBool trueOrFalse)    
SbBool    
                          
SbBool                     isClearBeforeRender() const    
void    
                          
void                       setClearBeforeOverlayRender(SbBool trueOrFalse)    
SbBool    
                          
SbBool                     isClearBeforeOverlayRender() const    
void    
                          
void                       setAutoRedraw(SbBool trueOrFalse)    
SbBool    
                          
SbBool                     isAutoRedraw() const    
void    
                          
void                       setRedrawPriority(uint32_t priority)    
uint32_t    
                          
uint32_t                   getRedrawPriority() const    
static uint32_t    
                          
static uint32_t            getDefaultRedrawPriority()    
void    
                          
void                       render()    
void    
                          
void                       renderOverlay()    
void    
                          
void                       scheduleRedraw()    
void    
                          
void                       scheduleOverlayRedraw()    
void    
                          
void                       redrawOnSelectionChange(SoSelection *s)    
void    
                          
void                       redrawOverlayOnSelectionChange(SoSelection *s)    
void    
                          
void                       setEventCallback(SoXtRenderAreaEventCB *fcn, void *userData = NULL)    
void    
                          
void                       setGLRenderAction(SoGLRenderAction *ra)    
SoGLRenderAction *    
                          
SoGLRenderAction *         getGLRenderAction() const    
void    
                          
void                       setOverlayGLRenderAction(SoGLRenderAction *ra)    
SoGLRenderAction *    
                          
SoGLRenderAction *         getOverlayGLRenderAction() const    
void    
                          
void                       setSceneManager(SoSceneManager *sm)    
SoSceneManager *    
                          
SoSceneManager *           getSceneManager() const    
void    
                          
void                       setOverlaySceneManager(SoSceneManager *sm)    
SoSceneManager *    
                          
SoSceneManager *           getOverlaySceneManager() const

Methods from class SoXtGLWidget:

    void    
                    
void                 setBorder(SbBool onOrOff)    
SbBool    
                    
SbBool               isBorder() const    
virtual void    
                    
virtual void         setDoubleBuffer(SbBool onOrOff)    
SbBool    
                    
SbBool               isDoubleBuffer()    
Window    
                    
Window               getNormalWindow()    
Window    
                    
Window               getOverlayWindow()    
GLXContext    
                    
GLXContext           getNormalContext()    
GLXContext    
                    
GLXContext           getOverlayContext()    
Widget    
                    
Widget               getNormalWidget()    
Widget    
                    
Widget               getOverlayWidget()    
virtual void    
                    
virtual void         setNormalVisual(XVisualInfo *vis)    
XVisualInfo *    
                    
XVisualInfo *        getNormalVisual()    
virtual void    
                    
virtual void         setOverlayVisual(XVisualInfo *vis)    
XVisualInfo *    
                    
XVisualInfo *        getOverlayVisual()    
void    
                    
void                 setDrawToFrontBufferEnable(SbBool enableFlag)    
SbBool    
                    
SbBool               isDrawToFrontBufferEnable() const

Methods from class SoXtComponent:

    virtual void    
                        
virtual void             show()    
virtual void    
                        
virtual void             hide()    
SbBool    
                        
SbBool                   isVisible()    
Widget    
                        
Widget                   getWidget() const    
SbBool    
                        
SbBool                   isTopLevelShell() const    
Widget    
                        
Widget                   getShellWidget() const    
Widget    
                        
Widget                   getParentWidget() const    
void    
                        
void                     setSize(const SbVec2s &size)    
SbVec2s    
                        
SbVec2s                  getSize()    
Display *    
                        
Display *                getDisplay()    
void    
                        
void                     setTitle(const char *newTitle)    
const char *    
                        
const char *             getTitle() const    
void    
                        
void                     setIconTitle(const char *newIconTitle)    
const char *    
                        
const char *             getIconTitle() const    
void    
                        
void                     setWindowCloseCallback(SoXtComponentCB *func, void *data = NULL)    
static SoXtComponent *    
                        
static SoXtComponent *   getComponent(Widget w)    
const char *    
                        
const char *             getWidgetName() const    
const char *    
                        
const char *             getClassName() const

DESCRIPTION

Fly Viewer — this viewer is intended to simulate flight through space, with a constant world up direction. The viewer only constrains the camera to keep the user from flying upside down. No mouse buttons need to be pressed in order to fly. The mouse position is used only for steering, while mouse clicks are used to increase or decrease the viewer speed.

The viewer allows you to tilt your head up/down/right/left and move in the direction you are looking (forward or backward). The viewer also supports seek to quickly move the camera to a desired object or point.

METHODS

       
                    
                     SoXtFlyViewer(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE, SoXtFullViewer::BuildFlag flag = BUILD_ALL, SoXtViewer::Type type = BROWSER)    
   
                    
                     ~SoXtFlyViewer()
Constructor and destructor which specifies the viewer type. Please refer to the SoXtViewer reference page for a description of the viewer types.

RESOURCES



*SoXtFlyViewer.decoration: on (on | off) *SoXtFlyViewer.seekAnimationTime: 2.0 (float) *SoXtFlyViewer.seekTo: point (point | object) *SoXtFlyViewer.seekDistanceUsage: percentage (percentage | absolute) *SoXtFlyViewer.zoomMin: 1.0 (float) *SoXtFlyViewer.zoomMax: 179.0 (float) *SoXtFlyViewer.autoClipping: on (on | off) *SoXtFlyViewer.nearDistance: 2.4 (float, when autoClipping is off) *SoXtFlyViewer.farDistance: 2.8 (float, when autoClipping is off) *SoXtFlyViewer*BackgroundColor: black (color name or hex value)

USAGE

Left Mouse: Click to increase speed.

<s> + Left Mouse: Alternative to the Seek button. Press (but do not hold down) the <s> key, then click on a target object.

<u> + Left Mouse: Press (but do not hold down) the <u> key, then click on a target object to set the "up" direction to the surface normal. By default +y is the "up" direction.

Middle Mouse: Click to decrease speed.

Left and Middle Mouse: Click boths simultaneously to stop.

Ctrl: Hold the key down to temporary stop and rotate the viewpoint.

Right Mouse: Open the popup menu.

SEE ALSO

SoXtFullViewer, SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtWalkViewer, SoXtExaminerViewer, SoXtPlaneViewer

Search for    or go to Top of page |  Section 3 |  Main Index


SOXTFLYVIEWER(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.