SbProjector(3IV)

SbProjector (SbProj) - base class for representing projectors

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.22.

NAME
     SbProjector (SbProj) - base class for representing projectors

INHERITS FROM
     SbProjector

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

     typedef SbProjector  SbProj

          Functions from class SbProjector:

     SbVec3f               SbProjProject(SbProj *this, const SbVec2f *point)
     void                  SbProjSetViewVol(SbProj *this, const SbViewVolume
                                *vol)
     const SbViewVolume *  SbProjGetViewVol(const SbProj *this)
     void                  SbProjSetWorkSpace(SbProj *this, const SbMatrix
                                *space)
     const SbMatrix *      SbProjGetWorkSpace(const SbProj *this)
     SbProjector *         SbProjCopy(const SbProj *this)


DESCRIPTION
     SbProjector is the base class for all projector classes. Projector
     classes are used to convert from window space (usually based on the mouse
     location) into a 3D point. This is done by projecting the window
     coordinate as a 3D vector onto a geometric function in 3-space, and
     computing the intersection point. Most projectors actually compute
     incremental changes and produce incremental rotations and translation as
     needed.  Projectors are used to write 3D interactive manipulators and
     viewers.

FUNCTIONS
     SbVec3f               SbProjProject(SbProj *this, const SbVec2f *point)
          Apply the projector using the given point, returning the point in
          three dimensions that it projects to. The point should be normalized
          (lie in the range [0.0,1.0]), with (0,0) at the lower-left.

     void                  SbProjSetViewVol(SbProj *this, const SbViewVolume
                                *vol)
     const SbViewVolume *  SbProjGetViewVol(const SbProj *this)
          Set and get the view volume to use for the projection. This is
          typically supplied from SoCamGetViewVol().

     void                  SbProjSetWorkSpace(SbProj *this, const SbMatrix
                                *space)
     const SbMatrix *      SbProjGetWorkSpace(const SbProj *this)
          Set and get the transform space to work in. This matrix should
          transform working space coordinates into world space. The default
          matrix is identity, meaning that the default working space is world
          space.
     SbProjector *         SbProjCopy(const SbProj *this)
          Creates and returns an exact copy of the projector.


FILE FORMAT/DEFAULTS
     Projector {
     }

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