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

NAME

SoSFEngine — field containing a pointer to a engine

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoField > SoSField > SoSFEngine

SYNOPSIS

#include <Inventor/fields/SoSFEngine.h>

Methods from class SoSFEngine:

    static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const    
SoEngine *    
                    
SoEngine *           getValue() const    
SoEngine *    
                    
SoEngine *           operator =(SoEngine * newValue)    
void    
                    
void                 setValue(SoEngine * newValue)    
int    
                    
int                  operator ==(const SoSFEngine &f) const    
int    
                    
int                  operator !=(const SoSFEngine &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

This field maintains a pointer to an SoEngine instance, correctly maintaining its reference count.

SoSFEngines are written to file as the engine they are pointing to. For example:



mySoSFEngineField ElapsedTime {}

is an SoSFEngine field named ’mySoSFEngineField’, pointing to an SoElapsedTime engine. If the engine is used elsewhere, the regular DEF/USE instancing mechanism applies:


anotherSoSFEngineField USE calculator

is an SoSFEngine field that points to a engine named ’calculator’ that was DEF’ed earlier in the scene.

METHODS

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

    SoEngine *    
                    
SoEngine *           getValue() const
Returns this field’s value.

    SoEngine *    
                    
SoEngine *           operator =(SoEngine * newValue)    
void    
                    
void                 setValue(SoEngine * newValue)
Sets this field to newValue.

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

SEE ALSO

SoField, SoSField, SoMFEngine, SoEngine

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


SOSFENGINE(3IV) (-->)

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