![]() |
http://www.sim.no http://www.coin3d.org |
The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.
#include <Inventor/manips/SoTransformBoxManip.h>
Public Member Functions | |
SoTransformBoxManip (void) | |
Static Public Member Functions | |
static void | initClass (void) |
Protected Member Functions | |
~SoTransformBoxManip () |
The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.
The manipulator class takes care of wrapping up the SoTransformBoxDragger 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.
Here's a simple usage example, in the form of an Inventor format file:
#Inventor V2.1 ascii Separator { TransformBoxManip { } Group { Cone { } } } Translation { translation 2 4 0 } Separator { TransformBoxManip { } Group { Sphere { } } }
SoTransformBoxManip::SoTransformBoxManip | ( | void | ) |
Default constructor. Allocates an SoTransformBoxDragger and an SoSurroundScale node to surround the geometry within our part of the scenegraph.
References SoBaseKit::getPart(), SoSurroundScale::numNodesUpToContainer, SoSurroundScale::numNodesUpToReset, and SoTransformManip::setDragger().
SoTransformBoxManip::~SoTransformBoxManip | ( | ) | [protected] |
Destructor.
void SoTransformBoxManip::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().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:23 for Coin by Doxygen. 1.7.3