SoTransformerManip Class Reference
[Manips]

Transform node with 3D interface for changing scaling, rotation, and translation. More...

#include <Inventor/manips/SoTransformerManip.h>

Inheritance diagram for SoTransformerManip:
SoTransformManip SoTransform SoTransformation SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoTransformerManip ()
void unsquishKnobs ()
SbBool isLocateHighlighting ()
void setLocateHighlighting (SbBool onOff)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Transform node with 3D interface for changing scaling, rotation, and translation.

This is a new manipulator with some improvements over the older Inventor manips. It has the following features: [1] full interface for rotate, translate, and scale, [2] better feedback, [3] locate highlighting.

SoTransformerManip is derived from SoTransform (by way of SoTransformManip). When its fields change, nodes following it in the scene graph rotate, scale, and/or translate.

As a subclass of SoTransformManip, this manipulator also has a 3D interface to edit some of its fields. In this case, the interface edits the scaleFactor , rotation and translation fields.

A manipulator differs from a dragger. When you move a dragger, no other nodes are affected. When you move an SoTransformManip, other nodes move along with it. (See the reference page for SoTransformManip).

The interface for an SoTransformerManip is exactly the same as that of the SoTransformerDragger. To find out more about the interface, see the reference page for SoTransformerDragger. To find out how the manipulator uses a dragger to provide its interface, see the reference page for SoTransformManip.

On screen, this manipulator will surround the objects influenced by its motion. This is because it turns on the surroundScale part of the dragger (See the reference page for SoSurroundScale)

FILE FORMAT/DEFAULT

SEE ALSO

SoTransformerDragger, SoTransform, SoCenterballManip, SoHandleBoxManip, SoJackManip, SoTabBoxManip, SoTrackballManip, SoTransformBoxManip, SoTransformManip

See related examples:

MedicalMIP, VolumeGeometry


Constructor & Destructor Documentation

SoTransformerManip::SoTransformerManip (  ) 

Constructor.


Member Function Documentation

static SoType SoTransformerManip::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTransformManip.

virtual SoType SoTransformerManip::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoTransformManip.

SbBool SoTransformerManip::isLocateHighlighting (  ) 

Returns whether or not the dragger inside this manip will perform locate highlighting.

void SoTransformerManip::setLocateHighlighting ( SbBool  onOff  ) 

Sets whether or not the dragger inside this manip will perform locate highlighting.

Default is TRUE.

void SoTransformerManip::unsquishKnobs (  ) 

Tells the dragger inside this manip to unsquish its rotation and scale knobs during the next traversal.

Ordinarily, the knobs are only unsquished upon readin from file and when the mouse button is released at the end of a drag. If you want this to happen more often, then you should call this method.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/