SoNodeSensor man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



							     SoNodeSensor(3IV)

NAME
     SoNodeSensor (SoNodeSens) - sensor class that can be attached to Inventor
     nodes

INHERITS FROM
     SoSensor > SoDelayQueueSensor > SoDataSensor > SoNodeSensor

SYNOPSIS
     #include <Inventor_c/sensors/SoNodeSensor.h>

     typedef SoNodeSensor  SoNodeSens

	  Functions from class SoNodeSensor:

     SoNodeSensor *	 SoNodeSensCreate()
     SoNodeSensor *	 SoNodeSensCreateCB(SoSensorCB *func, void *data)
     void		 SoNodeSensDelete(SoNodeSens *this)
     void		 SoNodeSensAttach(SoNodeSens *this, SoNode *node)
     void		 SoNodeSensDetach(SoNodeSens *this)
     SoNode *		 SoNodeSensGetAttachedNode(const SoNodeSens *this)

	  Functions from class SoDataSensor:

     void		 SoNodeSensSetDelCB(SoNodeSens *this, SoSensorCB
			      *function, void *data)
     SoNode *		 SoNodeSensGetTrigNode(const SoNodeSens *this)
     SoField *		 SoNodeSensGetTrigField(const SoNodeSens *this)
     SoPath *		 SoNodeSensGetTrigPath(const SoNodeSens *this)
     void		 SoNodeSensSetTrigPathFlag(SoNodeSens *this, SbBool
			      flag)
     SbBool		 SoNodeSensGetTrigPathFlag(const SoNodeSens *this)

	  Functions from class SoDelayQueueSensor:

     void		 SoNodeSensSetPri(SoNodeSens *this, uint32_t pri)
     uint32_t		 SoNodeSensGetPri(SoNodeSens *this)
     uint32_t		 SoNodeSensGetDefaultPriority()
     void		 SoNodeSensSched(SoNodeSens *this)
     void		 SoNodeSensUnsched(SoNodeSens *this)
     SbBool		 SoNodeSensIsSched(SoNodeSens *this)

	  Functions from class SoSensor:

     void		 SoNodeSensSetFunc(SoNodeSens *this, SoSensorCB
			      *callbackFunction)
     SoSensorCB *	 SoNodeSensGetFunc(const SoNodeSens *this)
     void		 SoNodeSensSetData(SoNodeSens *this, void
			      *callbackData)
     void *		 SoNodeSensGetData(const SoNodeSens *this)

Page 1

SoNodeSensor(3IV)

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.

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

     void		 SoNodeSensDelete(SoNodeSens *this)
	  Destroys the sensor, freeing up any memory associated with it after
	  unscheduling it.

     void		 SoNodeSensAttach(SoNodeSens *this, SoNode *node)
     void		 SoNodeSensDetach(SoNodeSens *this)
     SoNode *		 SoNodeSensGetAttachedNode(const SoNodeSens *this)
	  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

Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net