1 #ifndef COIN_SBSPHERESECTIONPROJECTOR_H
2 #define COIN_SBSPHERESECTIONPROJECTOR_H
36 #include <Inventor/projectors/SbSphereProjector.h>
37 #include <Inventor/SbPlane.h>
44 const SbBool orienttoeye = TRUE);
46 const float edgetol = 0.9f,
47 const SbBool orienttoeye = TRUE);
53 void setTolerance(
const float edgetol);
54 float getTolerance(
void)
const;
55 void setRadialFactor(
const float rad = 0.0f);
56 float getRadialFactor(
void)
const;
57 SbBool isWithinTolerance(
const SbVec3f & point);
60 virtual void setupTolerance(
void);
74 #endif // !COIN_SBSPHERESECTIONPROJECTOR_H
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:44
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:49
The SbSphereProjector class is the abstract base class for mapping to spherical surfaces.
Definition: SbSphereProjector.h:40
virtual SbProjector * copy(void) const =0
SbPlane tolPlane
Definition: SbSphereSectionProjector.h:68
float radialFactor
Definition: SbSphereSectionProjector.h:64
float tolerance
Definition: SbSphereSectionProjector.h:62
virtual SbVec3f project(const SbVec2f &point)=0
The SbSphere class is a representation of a sphere.
Definition: SbSphere.h:42
float planeDist
Definition: SbSphereSectionProjector.h:67
The SbSphereSectionProjector projects 2D points to a sliced sphere.
Definition: SbSphereSectionProjector.h:39
SbVec3f planeDir
Definition: SbSphereSectionProjector.h:66
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
float tolDist
Definition: SbSphereSectionProjector.h:63
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
SbVec3f planePoint
Definition: SbSphereSectionProjector.h:65
The SbPlane class represents a plane in 3D space.
Definition: SbPlane.h:43