Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

SbLineIsectProjector Class Reference

The SbLineIsectProjector class projects 2D points to 3D points along a line.

The 3D projection of the 2D coordinates is for this projector class constrained to lie along a pre-defined line. More...

#include <Inventor/projectors/SbLineIsectProjector.h>

List of all members.

Public Member Functions

 SbLineIsectProjector (void)
virtual SbProjector * copy (void) const
virtual SbVec3f project (const SbVec2f &point)
virtual SbVec3f intersect (const SbLine &line)


Detailed Description

The SbLineIsectProjector class projects 2D points to 3D points along a line.

The 3D projection of the 2D coordinates is for this projector class constrained to lie along a pre-defined line.

Among other places, this is useful within the translation draggers, like for instance SoTranslate1Dragger, where we want to move "pieces" along one or more axes.


Constructor & Destructor Documentation

SbLineIsectProjector::SbLineIsectProjector void   ) 
 

Constructor. Intializes the projector instance to use a line from <0, 0, 0> to <0, 0, 1>.


Member Function Documentation

SbProjector * SbLineIsectProjector::copy void   )  const [virtual]
 

SbVec3f SbLineIsectProjector::intersect const SbLine &  line  )  [virtual]
 

SbVec3f SbLineIsectProjector::project const SbVec2f &  point  )  [virtual]
 


The documentation for this class was generated from the following files:
Generated on Wed May 18 01:24:59 2005 for SculptDemo by  doxygen 1.4.3