SoCenterballManip.3coin2

Langue: en

Version: 374194 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoCenterballManip -

The SoCenterballManip wraps an SoCenterballDragger for convenience.

SYNOPSIS


#include <Inventor/manips/SoCenterballManip.h>

Inherits SoTransformManip.

Public Member Functions


SoCenterballManip (void)

Static Public Member Functions


static void initClass (void)

Protected Member Functions


~SoCenterballManip ()

virtual void setDragger (SoDragger *newDragger)

Static Protected Member Functions


static void fieldSensorCB (void *f, SoSensor *s)

static void valueChangedCB (void *f, SoDragger *d)

Detailed Description

The SoCenterballManip wraps an SoCenterballDragger for convenience.


 

The manipulator class takes care of wrapping up the SoCenterballDragger in a simple and convenient API for the application programmer, making it automatically surround the geometry it influences and taking care of the book-keeping routines for it's interaction with the relevant fields of an SoTransformation node.

Constructor & Destructor Documentation

SoCenterballManip::SoCenterballManip (void)Default constructor. Allocates an SoCenterballDragger and an SoSurroundScale node to surround the geometry within our part of the scenegraph.

References SoBaseKit::getPart(), SoSurroundScale::numNodesUpToContainer, SoSurroundScale::numNodesUpToReset, and setDragger().

SoCenterballManip::~SoCenterballManip () [protected]Destructor.

Member Function Documentation

void SoCenterballManip::initClass (void) [static]Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoTransformManip.

Referenced by SoInteraction::init().

void SoCenterballManip::setDragger (SoDragger * newdragger) [protected, virtual]Sets up the dragger instance to be controlled by this manipulator.

Reimplemented from SoTransformManip.

References SoTransformManip::setDragger().

Referenced by SoCenterballManip().

void SoCenterballManip::fieldSensorCB (void * m, SoSensor * d) [static, protected]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.

Callback to update motion matrix when a field is modified.

Reimplemented from SoTransformManip.

References SoTransformManip::fieldSensorCB().

void SoCenterballManip::valueChangedCB (void * m, SoDragger * dragger) [static, protected]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.

Callback to update field values when motion matrix changes.

Reimplemented from SoTransformManip.

References SoTransformManip::valueChangedCB().

Author

Generated automatically by Doxygen for Coin from the source code.