Coin Logo http://www.sim.no
http://www.coin3d.org

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions

SoCenterballManip Class Reference

The SoCenterballManip wraps an SoCenterballDragger for convenience.

More...

#include <Inventor/manips/SoCenterballManip.h>

Inheritance diagram for SoCenterballManip:
SoTransformManip SoTransform SoTransformation SoNode SoFieldContainer SoBase

List of all members.

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.

centerball.png

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.

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.


The documentation for this class was generated from the following files:

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