SbLineProjector man page on IRIX

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



							  SbLineProjector(3IV)

NAME
     SbLineProjector (SbLineProj) - line projector

INHERITS FROM
     SbProjector > SbLineProjector

SYNOPSIS
     #include <Inventor_c/projectors/SbLineProjector.h>

     typedef SbLineProjector  SbLineProj

	  Functions from class SbLineProjector:

     SbLineProjector *	 SbLineProjCreate()
     void		 SbLineProjDelete(SbLineProj *this)
     void		 SbLineProjSetLine(SbLineProj *this, const SbLine
			      *line)
     const SbLine *	 SbLineProjGetLine(const SbLineProj *this)
     SbVec3f		 SbLineProjGetVecMouse2(SbLineProj *this, const
			      SbVec2f *mousePosition1, const SbVec2f
			      *mousePosition2)
     SbVec3f		 SbLineProjGetVecMouse1(SbLineProj *this, const
			      SbVec2f *mousePosition)
     void		 SbLineProjSetStartPosMouse(SbLineProj *this, const
			      SbVec2f *mousePosition)
     void		 SbLineProjSetStartPosPt(SbLineProj *this, const
			      SbVec3f *point)

	  Functions from class SbProjector:

     SbVec3f		   SbLineProjProject(SbLineProj *this, const SbVec2f
				*point)
     void		   SbLineProjSetViewVol(SbLineProj *this, const
				SbViewVolume *vol)
     const SbViewVolume *  SbLineProjGetViewVol(const SbLineProj *this)
     void		   SbLineProjSetWorkSpace(SbLineProj *this, const
				SbMatrix *space)
     const SbMatrix *	   SbLineProjGetWorkSpace(const SbLineProj *this)
     SbProjector *	   SbLineProjCopy(const SbLineProj *this)

DESCRIPTION
     SbLineProjector projects a 2D point, typically the location of the
     cursor, onto a 3D line.

FUNCTIONS
     SbLineProjector *	 SbLineProjCreate()
     void		 SbLineProjDelete(SbLineProj *this)
	  Constructor and destructor. The default line passes through the
	  origin and is aligned with the Y axis.

Page 1

SbLineProjector(3IV)

     void		 SbLineProjSetLine(SbLineProj *this, const SbLine
			      *line)
     const SbLine *	 SbLineProjGetLine(const SbLineProj *this)
	  Set and get the line on which to project 2D points.

     SbVec3f		 SbLineProjGetVecMouse2(SbLineProj *this, const
			      SbVec2f *mousePosition1, const SbVec2f
			      *mousePosition2)
	  Get a vector on this line given two normalized mouse points.

     SbVec3f		 SbLineProjGetVecMouse1(SbLineProj *this, const
			      SbVec2f *mousePosition)
	  Get a vector given the current mouse point. Uses the last point on
	  this projector from the previous call to  SbLineProjGetVecMouse1(),
	  SbLineProjSetStartPosMouse(), or SbLineProjSetStartPosPt(). Do not
	  use this if the working space transform is changing since the new
	  point will be in a different space than the old one.

     void		 SbLineProjSetStartPosMouse(SbLineProj *this, const
			      SbVec2f *mousePosition)
	  Set the initial position from a mouse position.

     void		 SbLineProjSetStartPosPt(SbLineProj *this, const
			      SbVec3f *point)
	  Set the initial position from a point on the projector.

FILE FORMAT/DEFAULTS
     LineProjector {
     }

SEE ALSO
     SbCylinderProjector, SbCylinderPlaneProjector,
     SbCylinderSectionProjector, SbCylinderSheetProjector, SbPlaneProjector,
     SbSpherePlaneProjector, SbSphereProjector, SbSphereSectionProjector,
     SbSphereSheetProjector

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