SoPendulum man page on IRIX

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



							       SoPendulum(3IV)

NAME
     SoPendulum (SoPendulum) - animated oscillating rotation node

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotation >
     SoPendulum

SYNOPSIS
     #include <Inventor_c/nodes/SoPendulum.h>

	  Fields from class SoPendulum:

     SoSFRotation	 rotation0
     SoSFRotation	 rotation1
     SoSFFloat		 speed
     SoSFBool		 on

	  Fields from class SoRotation:

     SoSFRotation	 rotation

	  Functions from class SoPendulum:

     SoPendulum *	 SoPendulumCreate()
     SoType		 SoPendulumGetClassTypeId()

	  Functions from class SoNode:

     void		 SoPendulumSetOverride(SoPendulum *this, SbBool state)
     SbBool		 SoPendulumIsOverride(const SoPendulum *this)
     SoNode *		 SoPendulumCopy(const SoPendulum *this, SbBool
			      copyConnections = FALSE)
     SbBool		 SoPendulumAffectsState(const SoPendulum *this)
     SoNode *		 SoPendulumGetByName(const char *name)
     int		 SoPendulumGetByNameList(const char *name, SoNodeList
			      *list)

	  Functions from class SoFieldContainer:

     void		 SoPendulumSetToDflts(SoPendulum *this)
     SbBool		 SoPendulumHasDfltVals(const SoPendulum *this)
     SbBool		 SoPendulumFldsAreEq(const SoPendulum *this, const
			      SoFieldContainer *fc)
     void		 SoPendulumCopyFieldVals(SoPendulum *this, const
			      SoFieldContainer *fc, SbBool copyConnections =
			      FALSE)
     SbBool		 SoPendulumSet(SoPendulum *this, const char
			      *fieldDataString)
     void		 SoPendulumGet(SoPendulum *this, SbString
			      *fieldDataString)
     int		 SoPendulumGetFields(const SoPendulum *this,
			      SoFieldList *resultList)

Page 1

SoPendulum(3IV)

     SoField *		 SoPendulumGetField(const SoPendulum *this, const char
			      *fieldName)
     SbBool		 SoPendulumGetFieldName(const SoPendulum *this, const
			      SoField *field, SbName *fieldName)
     SbBool		 SoPendulumIsNotifyEnabled(const SoPendulum *this)
     SbBool		 SoPendulumEnableNotify(SoPendulum *this, SbBool flag)

	  Functions from class SoBase:

     void		 SoPendulumRef(SoPendulum *this)
     void		 SoPendulumUnref(const SoPendulum *this)
     void		 SoPendulumUnrefNoDelete(const SoPendulum *this)
     void		 SoPendulumTouch(SoPendulum *this)
     SoType		 SoPendulumGetTypeId(const SoPendulum *this)
     SbBool		 SoPendulumIsOfType(const SoPendulum *this, SoType
			      type)
     void		 SoPendulumSetName(SoPendulum *this, const char *name)
     SbName		 SoPendulumGetName(const SoPendulum *this)

DESCRIPTION
     The SoPendulum class is derived from SoRotation, so it applies a rotation
     to the current transformation. Using engines connected to the realTime
     global field, the rotation value is animated over time between two fixed
     rotations, achieving the effect of a swinging pendulum. The period of the
     swing can be adjusted by changing the speed field. The current rotation
     at any time is available in the rotation field, inherited from SoRotation

FIELDS
     SoSFRotation	 rotation0
     SoSFRotation	 rotation1
	  These define the two fixed rotations that are interpolated to create
	  the pendular motion.

     SoSFFloat		 speed
	  Defines the speed of the pendulum, in cycles per second.

     SoSFBool		 on
	  Allows applications to enable or disable the motion easily.

FUNCTIONS
     SoPendulum *	 SoPendulumCreate()
	  Creates a pendulum node with default settings.

     SoType		 SoPendulumGetClassTypeId()
	  Returns type identifier for this class.

ACTION BEHAVIOR
     SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
     SoRayPickAction

Page 2

							       SoPendulum(3IV)

	  Concatenates interpolated rotation value with the current
	  transformation matrix.

     SoGetMatrixAction
	  Returns transformation matrix specified by the interpolated
	  rotation.

FILE FORMAT/DEFAULTS
     Pendulum {
	  rotation   0 0 1  0
	  rotation0  0 0 1  0
	  rotation1  0 0 1  0
	  speed	     1
	  on	     TRUE
     }

SEE ALSO
     SoRotor, SoShuttle

Page 3

[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