SoTransformBoxManip.3coin2

Langue: en

Version: 374234 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoTransformBoxManip -

The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.

SYNOPSIS


#include <Inventor/manips/SoTransformBoxManip.h>

Inherits SoTransformManip.

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.


 

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

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

Author

Generated automatically by Doxygen for Coin from the source code.