|
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 | |
| virtual | ~SoTransformBoxManip (void) |
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.
| SoTransformBoxManip::~SoTransformBoxManip | ( | void | ) | [protected, virtual] |
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.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Sun May 1 2011 02:58:38 for Coin by Doxygen 1.7.3.