1 #ifndef COIN_SBCYLINDERPROJECTOR_H
2 #define COIN_SBCYLINDERPROJECTOR_H
27 #include <Inventor/projectors/SbProjector.h>
28 #include <Inventor/SbCylinder.h>
40 void setOrientToEye(
const SbBool orienttoeye);
41 SbBool isOrientToEye(
void)
const;
42 void setFront(
const SbBool infront);
43 SbBool isFront(
void)
const;
44 SbBool isPointInFront(
const SbVec3f & point)
const;
51 SbBool intersectCylinderFront(
const SbLine & line,
SbVec3f & result);
60 #endif // !COIN_SBCYLINDERPROJECTOR_H
SbMatrix worldToWorking
Definition: SbProjector.h:50
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
const SbViewVolume & getViewVolume(void) const
Definition: SbProjector.cpp:123
SbVec3f zVector(void) const
Definition: SbViewVolume.cpp:517
virtual void setWorkingSpace(const SbMatrix &space)
Definition: SbCylinderProjector.cpp:224
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
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
void multVecMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1357
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
The SbCylinder class is a representation of a cylinder.
Definition: SbCylinder.h:32
SbBool orientToEye
Definition: SbCylinderProjector.h:55
SbCylinder cylinder
Definition: SbCylinderProjector.h:54
virtual SbVec3f project(const SbVec2f &point)=0
SbBool needSetup
Definition: SbCylinderProjector.h:56
SbBool isOrientToEye(void) const
Definition: SbCylinderProjector.cpp:152
void setFront(const SbBool infront)
Definition: SbCylinderProjector.cpp:162
const SbLine & getAxis(void) const
Definition: SbCylinder.cpp:113
const SbVec3f & getProjectionPoint(void) const
Definition: SbViewVolume.cpp:597
virtual void setWorkingSpace(const SbMatrix &space)
Definition: SbProjector.cpp:133
SbBool intersectFront
Definition: SbCylinderProjector.h:53
SbVec3f projectAndGetRotation(const SbVec2f &point, SbRotation &rot)
Definition: SbCylinderProjector.cpp:106
SbBool intersectCylinderFront(const SbLine &line, SbVec3f &result)
Definition: SbCylinderProjector.cpp:210
SbBool isFront(void) const
Definition: SbCylinderProjector.cpp:175
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Definition: SbCylinder.cpp:137
ProjectionType getProjectionType(void) const
Definition: SbViewVolume.cpp:588
void setCylinder(const SbCylinder &cyl)
Definition: SbCylinderProjector.cpp:120
void multDirMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1411
void setOrientToEye(const SbBool orienttoeye)
Definition: SbCylinderProjector.cpp:140
SbCylinderProjector(const SbBool orienttoeye)
Definition: SbCylinderProjector.cpp:79
@ PERSPECTIVE
Definition: SbViewVolume.h:43
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SbVec3f lastPoint
Definition: SbCylinderProjector.h:57
float dot(const SbVec3f &v) const
Definition: SbVec3f.cpp:282
The SbProjector class is the abstract base projector class.
Definition: SbProjector.h:34
The SbLine class represents a line in 3D space.
Definition: SbLine.h:32
The SbViewVolume class is a viewing volume in 3D space.
Definition: SbViewVolume.h:41
The SbCylinderProjector class is the abstract base class for mapping to cylindrical surfaces.
Definition: SbCylinderProjector.h:30
virtual SbVec3f project(const SbVec2f &point)=0
SbBool isPointInFront(const SbVec3f &point) const
Definition: SbCylinderProjector.cpp:185
const SbCylinder & getCylinder(void) const
Definition: SbCylinderProjector.cpp:130
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17