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  -  SOTEXTURE2TRANSFORM (3)

NAME

SoTexture2Transform — 2D texture transformation node

CONTENTS

Inherits From
Synopsis
Description
Fields
Methods
Action Behavior
File Format/defaults
See Also

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoTexture2Transform

SYNOPSIS

#include <Inventor/nodes/SoTexture2Transform.h>

Fields from class SoTexture2Transform:

    SoSFVec2f    
                    
SoSFVec2f            translation    
SoSFFloat    
                    
SoSFFloat            rotation    
SoSFVec2f    
                    
SoSFVec2f            scaleFactor    
SoSFVec2f    
                    
SoSFVec2f            center

Methods from class SoTexture2Transform:

       
                    
                     SoTexture2Transform()    
static SoType    
                    
static SoType        getClassTypeId()

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 node defines a 2D transformation applied to texture coordinates. This affects the way textures are applied to the surfaces of subsequent shapes. The transformation consists of (in order) a non-uniform scale about an arbitrary center point, a rotation about that same point, and a translation. (Note: while the transformations can be thought of as being applied in that order, the GL matrices are actually premultiplied in the opposite order. Therefore, the operations are listed in the reverse order throughout this reference page.) This allows a user to change the size and position of the textures on objects.

FIELDS

    SoSFVec2f    
                    
SoSFVec2f            translation
Translation in S and T.

    SoSFFloat    
                    
SoSFFloat            rotation
Counter-clockwise rotation of the coordinate space, in radians. This results in a clockwise rotation of the texture on the object.

    SoSFVec2f    
                    
SoSFVec2f            scaleFactor
Scaling factors in S and T.

    SoSFVec2f    
                    
SoSFVec2f            center
Center point used for scaling and rotation.

METHODS

       
                    
                     SoTexture2Transform()
Creates a texture transformation node with default settings.

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

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction
Concatenates transformation with the current texture transformation.

FILE FORMAT/DEFAULTS

Texture2Transform {



translation  0 0
rotation     0
scaleFactor  1 1
center       0 0


}

SEE ALSO

SoTexture2, SoTextureCoordinate2, SoTextureCoordinateFunction

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


SOTEXTURE2TRANSFORM(3IV) (-->)

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