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

NAME

SoSFRotation — field containing a rotation

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoField > SoSField > SoSFRotation

SYNOPSIS

#include <Inventor/fields/SoSFRotation.h>

Methods from class SoSFRotation:

    void    
                    
void                 getValue(const SbVec3f &axis, float &angle) const    
void    
                    
void                 setValue(float q0, float q1, float q2, float q3)    
   
                    
                     setValue(float q[4])    
void    
                    
void                 setValue(const SbVec3f &axis, float angle)    
static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const    
const SbRotation &    
                    
const SbRotation &   getValue() const    
const SbRotation &    
                    
const SbRotation &   operator =(const SbRotation & newValue)    
void    
                    
void                 setValue(const SbRotation & newValue)    
int    
                    
int                  operator ==(const SoSFRotation &f) const    
int    
                    
int                  operator !=(const SoSFRotation &f) const

Methods from class SoField:

    void    
                    
void                 setIgnored(SbBool ignore)    
SbBool    
                    
SbBool               isIgnored() const    
SbBool    
                    
SbBool               isDefault() const    
virtual SbBool    
                    
virtual SbBool       isOfType(SoType type) const    
SbBool    
                    
SbBool               set(const char *valueString)    
void    
                    
void                 get(SbString &valueString)    
void    
                    
void                 touch()    
SbBool    
                    
SbBool               connectFrom(SoField *fromField)    
SbBool    
                    
SbBool               connectFrom(SoEngineOutput *fromEngine)    
void    
                    
void                 disconnect()    
SbBool    
                    
SbBool               isConnected() const    
SbBool    
                    
SbBool               isConnectedFromField() const    
SbBool    
                    
SbBool               getConnectedField(SoField *&writingField) const    
SbBool    
                    
SbBool               isConnectedFromEngine() const    
SbBool    
                    
SbBool               getConnectedEngine(SoEngineOutput *&engineOutput) const    
void    
                    
void                 enableConnection(SbBool flag)    
SbBool    
                    
SbBool               isConnectionEnabled() const    
int    
                    
int                  getForwardConnections(SoFieldList &list) const    
SoFieldContainer *    
                    
SoFieldContainer *   getContainer() const

DESCRIPTION

A field containing a single SbRotation (an arbitrary rotation).

SoSFRotations are written to file as four floating point values separated by whitespace. The 4 values represent an axis of rotation followed by the amount of right-handed rotation about that axis, in radians. For example, a 180 degree rotation about the Y axis is:



0 1 0 3.14159265

METHODS

    void    
                    
void                 getValue(const SbVec3f &axis, float &angle) const
Gets the value of the field as an axis/angle.

    void    
                    
void                 setValue(float q0, float q1, float q2, float q3)    
   
                    
                     setValue(float q[4])
Set the field to the given quaternion.

    void    
                    
void                 setValue(const SbVec3f &axis, float angle)
Set the field to the rotation given by axis/angle.

    static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const
Returns the type for this class or a particular object of this class.

    const SbRotation &    
                    
const SbRotation &   getValue() const
Returns this field’s value.

    const SbRotation &    
                    
const SbRotation &   operator =(const SbRotation & newValue)    
void    
                    
void                 setValue(const SbRotation & newValue)
Sets this field to newValue.

    int    
                    
int                  operator ==(const SoSFRotation &f) const    
int    
                    
int                  operator !=(const SoSFRotation &f) const
Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SbRotation, SoField, SoSField, SoMFRotation

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


SOSFROTATION(3IV) (-->)

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