SoFieldSensor man page on IRIX

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



							    SoFieldSensor(3IV)

NAME
     SoFieldSensor (SoFieldSens) - sensor class that can be attached to
     Inventor fields

INHERITS FROM
     SoSensor > SoDelayQueueSensor > SoDataSensor > SoFieldSensor

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

     typedef SoFieldSensor  SoFieldSens

	  Functions from class SoFieldSensor:

     SoFieldSensor *	 SoFieldSensCreate()
     SoFieldSensor *	 SoFieldSensCreateCB(SoSensorCB *func, void *data)
     void		 SoFieldSensDelete(SoFieldSens *this)
     void		 SoFieldSensAttach(SoFieldSens *this, SoField *field)
     void		 SoFieldSensDetach(SoFieldSens *this)
     SoField *		 SoFieldSensGetAttachedField(const SoFieldSens *this)

	  Functions from class SoDataSensor:

     void		 SoFieldSensSetDelCB(SoFieldSens *this, SoSensorCB
			      *function, void *data)
     SoNode *		 SoFieldSensGetTrigNode(const SoFieldSens *this)
     SoField *		 SoFieldSensGetTrigField(const SoFieldSens *this)
     SoPath *		 SoFieldSensGetTrigPath(const SoFieldSens *this)
     void		 SoFieldSensSetTrigPathFlag(SoFieldSens *this, SbBool
			      flag)
     SbBool		 SoFieldSensGetTrigPathFlag(const SoFieldSens *this)

	  Functions from class SoDelayQueueSensor:

     void		 SoFieldSensSetPri(SoFieldSens *this, uint32_t pri)
     uint32_t		 SoFieldSensGetPri(SoFieldSens *this)
     uint32_t		 SoFieldSensGetDefaultPriority()
     void		 SoFieldSensSched(SoFieldSens *this)
     void		 SoFieldSensUnsched(SoFieldSens *this)
     SbBool		 SoFieldSensIsSched(SoFieldSens *this)

	  Functions from class SoSensor:

     void		 SoFieldSensSetFunc(SoFieldSens *this, SoSensorCB
			      *callbackFunction)
     SoSensorCB *	 SoFieldSensGetFunc(const SoFieldSens *this)
     void		 SoFieldSensSetData(SoFieldSens *this, void
			      *callbackData)
     void *		 SoFieldSensGetData(const SoFieldSens *this)

Page 1

SoFieldSensor(3IV)

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.

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

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

     void		 SoFieldSensAttach(SoFieldSens *this, SoField *field)
     void		 SoFieldSensDetach(SoFieldSens *this)
     SoField *		 SoFieldSensGetAttachedField(const SoFieldSens *this)
	  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

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