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

NAME

SoFieldSensor — sensor class that can be attached to Inventor fields

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoSensor > SoDelayQueueSensor > SoDataSensor > SoFieldSensor

SYNOPSIS

#include <Inventor/sensors/SoFieldSensor.h>

Methods from class SoFieldSensor:

       
                    
                     SoFieldSensor()    
   
                    
                     SoFieldSensor(SoSensorCB *func, void *data)    
   
                    
                     ~SoFieldSensor()    
void    
                    
void                 attach(SoField *field)    
void    
                    
void                 detach()    
SoField *    
                    
SoField *            getAttachedField() const

Methods from class SoDataSensor:

    void    
                    
void                 setDeleteCallback(SoSensorCB *function, void *data)    
SoNode *    
                    
SoNode *             getTriggerNode() const    
SoField *    
                    
SoField *            getTriggerField() const    
SoPath *    
                    
SoPath *             getTriggerPath() const    
void    
                    
void                 setTriggerPathFlag(SbBool flag)    
SbBool    
                    
SbBool               getTriggerPathFlag() const

Methods from class SoDelayQueueSensor:

    void    
                    
void                 setPriority(uint32_t pri)    
uint32_t    
                    
uint32_t             getPriority()    
static uint32_t    
                    
static uint32_t      getDefaultPriority()    
virtual void    
                    
virtual void         schedule()    
virtual void    
                    
virtual void         unschedule()    
virtual SbBool    
                    
virtual SbBool       isScheduled()

Methods from class SoSensor:

    void    
                    
void                 setFunction(SoSensorCB *callbackFunction)    
SoSensorCB *    
                    
SoSensorCB *         getFunction() const    
void    
                    
void                 setData(void *callbackData)    
void *    
                    
void *               getData() const

DESCRIPTION

Field sensors detect changes to fields, calling a callback function whenever the field changes. The field may be part of a node, an input of an engine, or a global field.

METHODS

       
                    
                     SoFieldSensor()    
   
                    
                     SoFieldSensor(SoSensorCB *func, void *data)
Creation methods. The second method takes the callback function and data to be called when the sensor is triggered.

       
                    
                     ~SoFieldSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.

    void    
                    
void                 attach(SoField *field)    
void    
                    
void                 detach()    
SoField *    
                    
SoField *            getAttachedField() const
The attach() method makes this sensor detect changes to the given field. The detach() method unschedules this sensor (if it is scheduled) and makes it ignore changes to the scene graph. The getAttachedField() method returns the field that this sensor is sensing, or NULL if it is not attached to any field.

SEE ALSO

SoNodeSensor, SoPathSensor, SoDataSensor

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


SOFIELDSENSOR(3IV) (-->)

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