GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOTRANSFORMERMANIP (3)

NAME

SoTransformerManip — transform node with 3D interface for changing scaling, rotation, and translation

CONTENTS

Inherits From
Synopsis
Description
Methods
File Format/defaults
See Also

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoTransformation > SoTransform > SoTransformManip > SoTransformerManip

SYNOPSIS

#include <Inventor/manips/SoTransformerManip.h>

Fields from class SoTransform:

    SoSFVec3f    
                    
SoSFVec3f            translation    
SoSFRotation    
                    
SoSFRotation         rotation    
SoSFVec3f    
                    
SoSFVec3f            scaleFactor    
SoSFRotation    
                    
SoSFRotation         scaleOrientation    
SoSFVec3f    
                    
SoSFVec3f            center

Methods from class SoTransformerManip:

       
                    
                     SoTransformerManip()    
static SoType    
                    
static SoType        getClassTypeId()    
void    
                    
void                 setLocateHighlighting(SbBool onOff )    
SbBool    
                    
SbBool               isLocateHighlighting()    
void    
                    
void                 unsquishKnobs()

Methods from class SoTransformManip:

    SoDragger *    
                    
SoDragger *          getDragger()    
SbBool    
                    
SbBool               replaceNode(SoPath *p )    
SbBool    
                    
SbBool               replaceManip(SoPath *p, SoTransform *newOne ) const

Methods from class SoTransform:

    void    
                    
void                 pointAt(const SbVec3f &fromPoint, const SbVec3f &toPoint)    
void    
                    
void                 getScaleSpaceMatrix(SbMatrix &mat, SbMatrix &inv) const    
void    
                    
void                 getRotationSpaceMatrix(SbMatrix &mat, SbMatrix &inv) const    
void    
                    
void                 getTranslationSpaceMatrix(SbMatrix &mat, SbMatrix &inv) const    
void    
                    
void                 multLeft(const SbMatrix &mat)    
void    
                    
void                 multRight(const SbMatrix &mat)    
void    
                    
void                 combineLeft(SoTransformation *nodeOnRight)    
void    
                    
void                 combineRight(SoTransformation *nodeOnLeft)    
void    
                    
void                 setMatrix(const SbMatrix &mat)    
void    
                    
void                 recenter(const SbVec3f &newCenter)

Methods from class SoNode:

    void    
                    
void                 setOverride(SbBool state)    
SbBool    
                    
SbBool               isOverride() const    
SoNode *    
                    
SoNode *             copy(SbBool copyConnections = FALSE) const    
virtual SbBool    
                    
virtual SbBool       affectsState() const    
static SoNode *    
                    
static SoNode *      getByName(const SbName &name)    
static int    
                    
static int           getByName(const SbName &name, SoNodeList &list)

Methods from class SoFieldContainer:

    void    
                    
void                 setToDefaults()    
SbBool    
                    
SbBool               hasDefaultValues() const    
SbBool    
                    
SbBool               fieldsAreEqual(const SoFieldContainer *fc) const    
void    
                    
void                 copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)    
SbBool    
                    
SbBool               set(const char *fieldDataString)    
void    
                    
void                 get(SbString &fieldDataString)    
virtual int    
                    
virtual int          getFields(SoFieldList &resultList) const    
virtual SoField *    
                    
virtual SoField *    getField(const SbName &fieldName) const    
SbBool    
                    
SbBool               getFieldName(const SoField *field, SbName &fieldName) const    
SbBool    
                    
SbBool               isNotifyEnabled() const    
SbBool    
                    
SbBool               enableNotify(SbBool flag)

Methods from class SoBase:

    void    
                    
void                 ref()    
void    
                    
void                 unref() const    
void    
                    
void                 unrefNoDelete() const    
void    
                    
void                 touch()    
virtual SoType    
                    
virtual SoType       getTypeId() const    
SbBool    
                    
SbBool               isOfType(SoType type) const    
virtual void    
                    
virtual void         setName(const SbName &name)    
virtual SbName    
                    
virtual SbName       getName() const

DESCRIPTION

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)

METHODS

       
                    
                     SoTransformerManip()
Constructor.

    static SoType    
                    
static SoType        getClassTypeId()
Returns type identifier for this class.

    void    
                    
void                 setLocateHighlighting(SbBool onOff )    
SbBool    
                    
SbBool               isLocateHighlighting()
Controls whether or not the dragger inside this manip will perform locate highlighting is used. Default is TRUE.

    void    
                    
void                 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.

FILE FORMAT/DEFAULTS

TransformerManip {



translation       0 0 0
rotation          0 0 1  0
scaleFactor       1 1 1
scaleOrientation  0 0 1  0
center            0 0 0


}

SEE ALSO

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

Search for    or go to Top of page |  Section 3 |  Main Index


SOTRANSFORMERMANIP(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.