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

NAME

SoNodeSensor — sensor class that can be attached to Inventor nodes

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoSensor > SoDelayQueueSensor > SoDataSensor > SoNodeSensor

SYNOPSIS

#include <Inventor/sensors/SoNodeSensor.h>

Methods from class SoNodeSensor:

       
                    
                     SoNodeSensor()    
   
                    
                     SoNodeSensor(SoSensorCB *func, void *data)    
   
                    
                     ~SoNodeSensor()    
void    
                    
void                 attach(SoNode *node)    
void    
                    
void                 detach()    
SoNode *    
                    
SoNode *             getAttachedNode() 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

Node sensors detect changes to nodes, calling a callback function whenever any field of the node or, if the node is a group node, any children of the node change.

METHODS

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

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

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

SEE ALSO

SoFieldSensor, SoPathSensor, SoDataSensor

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


SONODESENSOR(3IV) (-->)

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