SoScale1Dragger man page on IRIX

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



							  SoScale1Dragger(3IV)

NAME
     SoScale1Dragger (SoScale1Drag) - object you can scale in one dimension by
     dragging with the mouse

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoBaseKit > SoInteractionKit >
     SoDragger > SoScale1Dragger

SYNOPSIS
     #include <Inventor_c/draggers/SoScale1Dragger.h>

     typedef SoScale1Dragger  SoScale1Drag

	  Fields from class SoScale1Dragger:

     SoSFVec3f		 scaleFactor

	  Fields from class SoDragger:

     SoSFBool		 isActive

	  Fields from class SoInteractionKit:

     SoSFEnum		 renderCaching
     SoSFEnum		 boundingBoxCaching
     SoSFEnum		 renderCulling
     SoSFEnum		 pickCulling

	  Parts from class SoBaseKit:

     (SoNodeKitListPart)  callbackList

	  Functions from class SoScale1Dragger:

     SoScale1Dragger *	       SoScale1DragCreate()
     const SoNodekitCatalog *  SoScale1DragGetClassNkitCat()
     SoType		       SoScale1DragGetClassTypeId()

	  Functions from class SoDragger:

     void		 SoScale1DragAddStartCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragRemoveStartCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragAddMotionCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragRemoveMotionCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragAddFinishCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragRemoveFinishCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)

Page 1

SoScale1Dragger(3IV)

     void		 SoScale1DragAddValueChangedCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     void		 SoScale1DragRemoveValueChangedCB(SoScale1Drag *this,
			      SoDraggerCB *f, void *userData = NULL)
     SbBool		 SoScale1DragEnableValueChangedCBs(SoScale1Drag *this)
     void		 SoScale1DragSetMinGesture(SoScale1Drag *this, int
			      pixels)
     int		 SoScale1DragGetMinGesture(const SoScale1Drag *this)
     void		 SoScale1DragSetMinScale(float newMinScale)
     float		 SoScale1DragGetMinScale()

	  Functions from class SoInteractionKit:

     SbBool		 SoScale1DragSetPartAsPath(SoScale1Drag *this, const
			      char *partName, SoPath *surrogatePath )

	  Functions from class SoBaseKit:

     const SoNodekitCatalog *  SoScale1DragGetCat(const SoScale1Drag *this)
     SoNode *		       SoScale1DragGetPart(SoScale1Drag *this, const
				    char *partName, SbBool makeIfNeeded)
     SbString		       SoScale1DragGetPartString(SoScale1Drag *this,
				    const SoBase *part)
     SoNodeKitPath *	       SoScale1DragCreatePathToPart(SoScale1Drag
				    *this, const char *partName, SbBool
				    makeIfNeeded, const SoPath *pathToExtend =
				    NULL)
     SbBool		       SoScale1DragSetPart(SoScale1Drag *this, const
				    char *partName, SoNode *newPart)
     SbBool		       SoScale1DragSet(SoScale1Drag *this, char
				    *partName, char *parameters)
     SbBool		       SoScale1DragSet2(SoScale1Drag *this, char
				    *nameValuePairs)
     SbBool		       SoScale1DragIsSearchingChildren()
     void		       SoScale1DragSetSearchingChildren(SbBool newVal)

	  Functions from class SoNode:

     void		 SoScale1DragSetOverride(SoScale1Drag *this, SbBool
			      state)
     SbBool		 SoScale1DragIsOverride(const SoScale1Drag *this)
     SoNode *		 SoScale1DragCopy(const SoScale1Drag *this, SbBool
			      copyConnections = FALSE)
     SbBool		 SoScale1DragAffectsState(const SoScale1Drag *this)
     SoNode *		 SoScale1DragGetByName(const char *name)
     int		 SoScale1DragGetByNameList(const char *name,
			      SoNodeList *list)

	  Functions from class SoFieldContainer:

     void		 SoScale1DragSetToDflts(SoScale1Drag *this)

Page 2

							  SoScale1Dragger(3IV)

     SbBool		 SoScale1DragHasDfltVals(const SoScale1Drag *this)
     SbBool		 SoScale1DragFldsAreEq(const SoScale1Drag *this, const
			      SoFieldContainer *fc)
     void		 SoScale1DragCopyFieldVals(SoScale1Drag *this, const
			      SoFieldContainer *fc, SbBool copyConnections =
			      FALSE)
     void		 SoScale1DragGet(SoScale1Drag *this, SbString
			      *fieldDataString)
     int		 SoScale1DragGetFields(const SoScale1Drag *this,
			      SoFieldList *resultList)
     SoField *		 SoScale1DragGetField(const SoScale1Drag *this, const
			      char *fieldName)
     SbBool		 SoScale1DragGetFieldName(const SoScale1Drag *this,
			      const SoField *field, SbName *fieldName)
     SbBool		 SoScale1DragIsNotifyEnabled(const SoScale1Drag *this)
     SbBool		 SoScale1DragEnableNotify(SoScale1Drag *this, SbBool
			      flag)

	  Functions from class SoBase:

     void		 SoScale1DragRef(SoScale1Drag *this)
     void		 SoScale1DragUnref(const SoScale1Drag *this)
     void		 SoScale1DragUnrefNoDelete(const SoScale1Drag *this)
     void		 SoScale1DragTouch(SoScale1Drag *this)
     SoType		 SoScale1DragGetTypeId(const SoScale1Drag *this)
     SbBool		 SoScale1DragIsOfType(const SoScale1Drag *this, SoType
			      type)
     void		 SoScale1DragSetName(SoScale1Drag *this, const char
			      *name)
     SbName		 SoScale1DragGetName(const SoScale1Drag *this)

DESCRIPTION
     SoScale1Dragger is a simple dragger that scales in one dimension when
     dragged with the mouse. It moves along the x axis of its local space, as
     determined by its location in the scene graph. Transformation nodes
     placed before it will affect both the dragger and the direction of
     motion.

     This node has a scaleFactor field which always reflects its size in local
     space. If you set the field, the dragger will change accordingly. You can
     also connect fields of other nodes or engines from this one to make them
     follow the dragger's motion.

     This dragger contains four parts, scaler, scalerActive, feedback, and
     feedbackActive.

     Each of these is set by default from a resource described in the Dragger
     Resources section of the online reference page for this class. You can
     change the parts in any instance of this dragger using
     SoDraggerSetPart().

Page 3

SoScale1Dragger(3IV)

     You can make your program use different default resources for the parts
     by copying the file /usr/share/data/draggerDefaults/scale1Dragger.iv into
     your own directory, editing the file, and then setting the environment
     variable SO_DRAGGER_DIR to be a path to that directory.

FIELDS
     SoSFVec3f		 scaleFactor
	  Scale factor affecting the dragger.

FUNCTIONS
     SoScale1Dragger *	       SoScale1DragCreate()
	  Constructor.

     const SoNodekitCatalog *  SoScale1DragGetClassNkitCat()
	  Returns an SoNodekitCatalog for this class

     SoType		       SoScale1DragGetClassTypeId()
	  Returns type identifier for this class.

CATALOG PARTS
     ___________________________________________________________
			      All parts
							NULL by
      Part Name	       Part Type	 Default Type	Default

      callbackList     NodeKitListPart	 --		  yes
      scaler	       Separator	 --		  yes
      scalerActive     Separator	 --		  yes
      feedback	       Separator	 --		  yes
      feedbackActive   Separator	 --		  yes

     ___________________________________________________________
     |

								|

     ________________________________________________________________
	    Extra information for list parts from above table

      Part Name	     Container Type   Permissible Types

				      Callback, EventCallback
      callbackList   Separator

     ________________________________________________________________
     |

								     |

DRAGGER RESOURCES
     Resource:	       scale1Scaler
     Part:	       scaler
     Appearance:       white line, small cubes ends
     Description:      picking this initiates scaling

     Resource:	       scale1ScalerActive
     Part:	       scalerActive
     Appearance:       yellow version of scaler, adds wireframe yellow cube
     Description:      displayed during scaling instead of the scaler

Page 4

							  SoScale1Dragger(3IV)

     Resource:	       scale1Feedback
     Part:	       feedback
     Appearance:       thin purple 3-D crosshair
     Description:      shows center of scale when still

     Resource:	       scale1FeedbackActive
     Part:	       feedbackActive
     Appearance:       thin, slightly brighter purple 3-D crosshair
     Description:      shows center of scale while in motion

FILE FORMAT/DEFAULTS
     Scale1Dragger {
	  renderCaching	      AUTO
	  boundingBoxCaching  AUTO
	  renderCulling	      AUTO
	  pickCulling	      AUTO
	  isActive	      FALSE
	  scaleFactor	      1 1 1
	  callbackList	      NULL
	  scaler	      <scale1Scaler resource>
	  scalerActive	      <scale1ScalerActive resource>
	  feedback	      <scale1Feedback resource>
	  feedbackActive      <scale1FeedbackActive resource>
     }

SEE ALSO
     SoInteractionKit, SoDragger, SoCenterballDragger,
     SoDirectionalLightDragger, SoDragPointDragger, SoHandleBoxDragger,
     SoJackDragger, SoPointLightDragger, SoRotateCylindricalDragger,
     SoRotateDiscDragger, SoRotateSphericalDragger, SoScale2Dragger,
     SoScale2UniformDragger, SoScaleUniformDragger, SoSpotLightDragger,
     SoTabBoxDragger, SoTabPlaneDragger, SoTrackballDragger,
     SoTransformBoxDragger, SoTransformerDragger, SoTranslate1Dragger,
     SoTranslate2Dragger

Page 5

[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