SoScXMLPanTarget(3) Navigation system event target for panning operations.

SYNOPSIS


#include <Inventor/scxml/SoScXMLPanTarget.h>

Inherits SoScXMLNavigationTarget.

Public Member Functions


virtual SoType getTypeId (void) const
Returns the type identification of an object derived from a class inheriting SoBase. This is used for run-time type checking and 'downward' casting.

Static Public Member Functions


static SoType getClassTypeId (void)
This static method returns the SoType object associated with objects of this class.
static void * createInstance (void)

static void initClass (void)
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
static void cleanClass (void)
Does the opposite of initClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin typesystem.
static SoScXMLPanTarget * constructSingleton (void)

static void destructSingleton (void)

static SoScXMLPanTarget * singleton (void)

static const SbName & BEGIN (void)

static const SbName & UPDATE (void)

static const SbName & END (void)

static const SbName & SET_FOCAL_POINT (void)

static const SbName & MOVE (void)

static void panCamera (SoCamera *camera, float vpaspect, const SbPlane &panplane, const SbVec2f &previous, const SbVec2f &current)

static void panSetFocalPoint (SoCamera *camera, const SbVec3f &worldspace)

static void translateCamera (SoCamera *camera, const SbVec3f &translation, SbBool cameraspace=FALSE)

Protected Member Functions


virtual SbBool processOneEvent (const ScXMLEvent *event)

Additional Inherited Members

Detailed Description

Navigation system event target for panning operations.

Member Function Documentation

SoType SoScXMLPanTarget::getClassTypeId (void) [static]

This static method returns the SoType object associated with objects of this class. See Also:

SoBase::getClassTypeId

Reimplemented from SoScXMLNavigationTarget.

SoType SoScXMLPanTarget::getTypeId (void) const [virtual]

Returns the type identification of an object derived from a class inheriting SoBase. This is used for run-time type checking and 'downward' casting. See Also:

SoBase::getTypeId() const

Implements SoScXMLNavigationTarget.

void SoScXMLPanTarget::initClass (void) [static]

Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. See Also:

SoBase::initClass()

Reimplemented from SoScXMLNavigationTarget.

SbBool SoScXMLPanTarget::processOneEvent (const ScXMLEvent *event) [protected], [virtual]

This function processes one event. The base class implementation does nothing.

Reimplemented from ScXMLEventTarget.

Author

Generated automatically by Doxygen for Coin from the source code.