1#ifndef COIN_SBPLANEPROJECTOR_H
2#define COIN_SBPLANEPROJECTOR_H
36#include <Inventor/projectors/SbProjector.h>
37#include <Inventor/SbVec3f.h>
38#include <Inventor/SbPlane.h>
51 void setPlane(
const SbPlane & plane);
52 const SbPlane & getPlane(
void)
const;
53 void setOrientToEye(
const SbBool orienttoeye);
54 SbBool isOrientToEye(
void)
const;
58 void setStartPosition(
const SbVec2f & viewpos);
59 void setStartPosition(
const SbVec3f & point);
62 void setupPlane(
void);
The SbPlaneProjector class projects 2D points to 3D points in a plane.
Definition SbPlaneProjector.h:40
SbBool needSetup
Definition SbPlaneProjector.h:67
SbVec3f lastPoint
Definition SbPlaneProjector.h:68
SbBool orientToEye
Definition SbPlaneProjector.h:66
SbPlane nonOrientPlane
Definition SbPlaneProjector.h:65
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:43
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
virtual SbVec3f project(const SbVec2f &point)=0
virtual SbProjector * copy(void) const =0
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:49
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51