1 #ifndef COIN_SBCYLINDERSECTIONPROJECTOR_H
2 #define COIN_SBCYLINDERSECTIONPROJECTOR_H
27 #include <Inventor/projectors/SbCylinderProjector.h>
28 #include <Inventor/SbPlane.h>
29 #include <Inventor/SbRotation.h>
36 const SbBool orienttoeye = TRUE);
38 const float edgetol = 0.9f,
39 const SbBool orienttoeye = TRUE);
45 void setTolerance(
const float edgetol);
46 float getTolerance(
void)
const;
47 SbBool isWithinTolerance(
const SbVec3f & point);
50 virtual void setupTolerance(
void);
62 #endif // !COIN_SBCYLINDERSECTIONPROJECTOR_H
const float * getValue(void) const
Definition: SbRotation.cpp:179
SbMatrix worldToWorking
Definition: SbProjector.h:50
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
float tolerance
Definition: SbCylinderSectionProjector.h:51
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
SbVec3f getClosestPoint(const SbVec3f &point) const
Definition: SbLine.cpp:263
virtual SbProjector * copy(void) const =0
void setTolerance(const float edgetol)
Definition: SbCylinderSectionProjector.cpp:159
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
The SbCylinder class is a representation of a cylinder.
Definition: SbCylinder.h:32
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
SbBool orientToEye
Definition: SbCylinderProjector.h:55
const SbVec3f & getProjectionDirection(void) const
Definition: SbViewVolume.cpp:609
SbCylinder cylinder
Definition: SbCylinderProjector.h:54
SbViewVolume viewVol
Definition: SbProjector.h:49
SbBool needSetup
Definition: SbCylinderProjector.h:56
SbLine planeLine
Definition: SbCylinderSectionProjector.h:54
The SbCylinderSectionProjector projects 2D points to a sliced cylinder.
Definition: SbCylinderSectionProjector.h:31
const SbLine & getAxis(void) const
Definition: SbCylinder.cpp:113
SbVec3f planeDir
Definition: SbCylinderSectionProjector.h:53
SbBool intersectFront
Definition: SbCylinderProjector.h:53
float planeDist
Definition: SbCylinderSectionProjector.h:55
float tolDist
Definition: SbCylinderSectionProjector.h:52
float getTolerance(void) const
Definition: SbCylinderSectionProjector.cpp:175
SbBool intersectCylinderFront(const SbLine &line, SbVec3f &result)
Definition: SbCylinderProjector.cpp:210
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Definition: SbCylinder.cpp:137
const SbVec3f & getDirection(void) const
Definition: SbLine.cpp:315
SbPlane tolPlane
Definition: SbCylinderSectionProjector.h:56
SbLine getWorkingLine(const SbVec2f &point) const
Definition: SbProjector.cpp:158
void multDirMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1411
virtual void setupTolerance(void)
Definition: SbCylinderSectionProjector.cpp:203
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
SbVec3f lastPoint
Definition: SbCylinderProjector.h:57
float dot(const SbVec3f &v) const
Definition: SbVec3f.cpp:282
SbBool isWithinTolerance(const SbVec3f &point)
Definition: SbCylinderSectionProjector.cpp:185
The SbProjector class is the abstract base projector class.
Definition: SbProjector.h:34
SbBool isInHalfSpace(const SbVec3f &point) const
Definition: SbPlane.cpp:229
const SbVec3f & getPosition(void) const
Definition: SbLine.cpp:305
float getRadius(void) const
Definition: SbCylinder.cpp:124
The SbLine class represents a line in 3D space.
Definition: SbLine.h:32
float normalize(void)
Definition: SbVec3f.cpp:436
The SbCylinderProjector class is the abstract base class for mapping to cylindrical surfaces.
Definition: SbCylinderProjector.h:30
SbCylinderSectionProjector(const float edgetol=0.9f, const SbBool orienttoeye=1)
Definition: SbCylinderSectionProjector.cpp:71
SbVec3f getViewUp(void) const
Definition: SbViewVolume.cpp:723
virtual SbVec3f project(const SbVec2f &point)=0
The SbPlane class represents a plane in 3D space.
Definition: SbPlane.h:34
virtual SbVec3f project(const SbVec2f &point)
Definition: SbCylinderSectionProjector.cpp:100
virtual SbProjector * copy(void) const
Definition: SbCylinderSectionProjector.cpp:93
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)
Definition: SbCylinderSectionProjector.cpp:134
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17