[BACK]Return to README CVS log [TXT][DIR] Up to [Development] / inventor / apps / samples / manip

File: [Development] / inventor / apps / samples / manip / README (download)

Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:55:59 2000 UTC (17 years, 2 months ago) by naaman
Branch: sgi, MAIN
CVS Tags: start, release-2_1_5-9, release-2_1_5-8, release-2_1_5-10, HEAD
Changes since 1.1: +0 -0 lines

Initial check-in based on 2.1.5 (SGI IRIX) source tree.

This directory contains a sample program to demonstrate how callbacks can
be added to constrain the motion of draggers and manipulators.
constrainManip reads in a file and puts constraints on every dragger or 
manipulator it finds.

To run, type:

constrainManip [-noConstraints] ]
	       [-translateMin x] [-translateMax x] 
	       [-scaleMin x] [-scaleMax x] 
	       [-rotateMin] [-rotateMax] fileName

where:
   -noConstraints    -- don't put any constraints on the draggers.

   -translateMin x   -- minimum value constraint on the translation field
   -translateMax x   -- maximum value constraint on the translation field

   -scaleMin x       -- minimum value constraint on the scaleFactor field
   -scaleMax x       -- maximum value constraint on the scaleFactor field

   -rotateMin x      -- furthest you can rotate negatively in one drag motion.
   -rotateMax x      -- furthest you can rotate positively in one drag motion.
		     -- For both rotateMin and rotateMax, rotation is 
			constrained in the initial direction of rotation, even
			when using a dragger which allow rotation in all
			directions.

   fileName          -- the file to read in. If no file is given, 
			the file simpleDraggers.iv will be used.