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

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

SoTransformBoxManip Class Reference

The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.

More...

#include <Inventor/manips/SoTransformBoxManip.h>

Inheritance diagram for SoTransformBoxManip:
SoTransformManip SoTransform SoTransformation SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoTransformBoxManip (void)

Static Public Member Functions

static void initClass (void)

Protected Member Functions

 ~SoTransformBoxManip ()

Detailed Description

The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.

transformbox.png

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 { }
   }
}
  

Constructor & Destructor Documentation

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.


Member Function Documentation

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().


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:23 for Coin by Doxygen. 1.7.3