![]() |
http://www.sim.no http://www.coin3d.org |
The SoCenterballManip wraps an SoCenterballDragger for convenience.
#include <Inventor/manips/SoCenterballManip.h>
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) |
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.
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.
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.
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.
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.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:07 for Coin by Doxygen. 1.7.3