1 #ifndef COIN_SBSPHERESECTIONPROJECTOR_H
2 #define COIN_SBSPHERESECTIONPROJECTOR_H
27 #include <Inventor/projectors/SbSphereProjector.h>
28 #include <Inventor/SbPlane.h>
35 const SbBool orienttoeye = TRUE);
37 const float edgetol = 0.9f,
38 const SbBool orienttoeye = TRUE);
44 void setTolerance(
const float edgetol);
45 float getTolerance(
void)
const;
46 void setRadialFactor(
const float rad = 0.0f);
47 float getRadialFactor(
void)
const;
48 SbBool isWithinTolerance(
const SbVec3f & point);
51 virtual void setupTolerance(
void);
65 #endif // !COIN_SBSPHERESECTIONPROJECTOR_H
SbMatrix worldToWorking
Definition: SbProjector.h:50
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)
Definition: SbSphereSectionProjector.cpp:137
float getTolerance(void) const
Definition: SbSphereSectionProjector.cpp:161
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
float getRadius(void) const
Definition: SbSphere.cpp:125
virtual SbVec3f project(const SbVec2f &point)
Definition: SbSphereSectionProjector.cpp:105
SbBool intersectFront
Definition: SbSphereProjector.h:54
The SbSphereProjector class is the abstract base class for mapping to spherical surfaces.
Definition: SbSphereProjector.h:31
virtual SbProjector * copy(void) const =0
SbPlane tolPlane
Definition: SbSphereSectionProjector.h:59
float radialFactor
Definition: SbSphereSectionProjector.h:55
float tolerance
Definition: SbSphereSectionProjector.h:53
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
SbBool needSetup
Definition: SbSphereProjector.h:57
const SbVec3f & getProjectionDirection(void) const
Definition: SbViewVolume.cpp:609
SbViewVolume viewVol
Definition: SbProjector.h:49
virtual SbVec3f project(const SbVec2f &point)=0
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Definition: SbSphere.cpp:161
SbBool orientToEye
Definition: SbSphereProjector.h:56
SbBool isWithinTolerance(const SbVec3f &point)
Definition: SbSphereSectionProjector.cpp:197
The SbSphere class is a representation of a sphere.
Definition: SbSphere.h:33
SbVec3f & setValue(const float v[3])
Definition: SbVec3f.cpp:461
virtual SbProjector * copy(void) const
Definition: SbSphereSectionProjector.cpp:98
SbLine getWorkingLine(const SbVec2f &point) const
Definition: SbProjector.cpp:158
void multDirMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1411
float planeDist
Definition: SbSphereSectionProjector.h:58
The SbSphereSectionProjector projects 2D points to a sliced sphere.
Definition: SbSphereSectionProjector.h:30
SbVec3f planeDir
Definition: SbSphereSectionProjector.h:57
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Definition: SbPlane.cpp:152
SbBool intersectSphereFront(const SbLine &l, SbVec3f &result)
Definition: SbSphereProjector.cpp:207
void setRadialFactor(const float rad=0.0f)
Definition: SbSphereSectionProjector.cpp:176
const SbVec3f & getCenter(void) const
Definition: SbSphere.cpp:114
The SbProjector class is the abstract base projector class.
Definition: SbProjector.h:34
float getRadialFactor(void) const
Definition: SbSphereSectionProjector.cpp:187
virtual void setupTolerance(void)
Definition: SbSphereSectionProjector.cpp:209
void setTolerance(const float edgetol)
Definition: SbSphereSectionProjector.cpp:151
float tolDist
Definition: SbSphereSectionProjector.h:54
The SbLine class represents a line in 3D space.
Definition: SbLine.h:32
float normalize(void)
Definition: SbVec3f.cpp:436
SbVec3f lastPoint
Definition: SbSphereProjector.h:58
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
SbSphere sphere
Definition: SbSphereProjector.h:55
SbVec3f planePoint
Definition: SbSphereSectionProjector.h:56
The SbPlane class represents a plane in 3D space.
Definition: SbPlane.h:34
SbSphereSectionProjector(const float edgetol=0.9f, const SbBool orienttoeye=1)
Definition: SbSphereSectionProjector.cpp:74
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18