1 #ifndef COIN_SBLINEPROJECTOR_H
2 #define COIN_SBLINEPROJECTOR_H
36 #include <Inventor/projectors/SbProjector.h>
38 #include <Inventor/SbVec3f.h>
39 #include <Inventor/SbLine.h>
51 void setLine(
const SbLine & line);
52 const SbLine & getLine(
void)
const;
56 void setStartPosition(
const SbVec2f & viewpos);
57 void setStartPosition(
const SbVec3f & point);
64 #endif // !COIN_SBLINEPROJECTOR_H
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
virtual SbProjector * copy(void) const =0
virtual SbVec3f project(const SbVec2f &point)=0
SbVec3f lastPoint
Definition: SbLineProjector.h:61
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SbProjector class is the abstract base projector class.
Definition: SbProjector.h:43
virtual SbBool tryProject(const SbVec2f &point, const float epsilon, SbVec3f &result)
Definition: SbProjector.cpp:268
The SbLine class represents a line in 3D space.
Definition: SbLine.h:41
SbLine line
Definition: SbLineProjector.h:60
The SbLineProjector class projects 2D points to 3D points along a line.
Definition: SbLineProjector.h:41