1 #ifndef COIN_SBSPHEREPROJECTOR_H
2 #define COIN_SBSPHEREPROJECTOR_H
27 #include <Inventor/projectors/SbProjector.h>
28 #include <Inventor/SbSphere.h>
29 #include <Inventor/SbRotation.h>
39 void setSphere(
const SbSphere & sph);
40 const SbSphere & getSphere(
void)
const;
41 void setOrientToEye(
const SbBool orienttoeye);
42 SbBool isOrientToEye(
void)
const;
43 void setFront(
const SbBool infront);
44 SbBool isFront(
void)
const;
45 SbBool isPointInFront(
const SbVec3f & point)
const;
52 SbBool intersectSphereFront(
const SbLine & l,
SbVec3f & result);
61 #endif // !COIN_SBSPHEREPROJECTOR_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
SbBool isFront(void) const
Definition: SbSphereProjector.cpp:172
SbVec3f zVector(void) const
Definition: SbViewVolume.cpp:517
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
virtual void setWorkingSpace(const SbMatrix &space)
Definition: SbSphereProjector.cpp:220
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
SbBool intersectFront
Definition: SbSphereProjector.h:54
The SbSphereProjector class is the abstract base class for mapping to spherical surfaces.
Definition: SbSphereProjector.h:31
SbBool isPointInFront(const SbVec3f &point) const
Definition: SbSphereProjector.cpp:182
void multVecMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1357
void setFront(const SbBool infront)
Definition: SbSphereProjector.cpp:161
SbBool needSetup
Definition: SbSphereProjector.h:57
virtual SbVec3f project(const SbVec2f &point)=0
const SbVec3f & getProjectionPoint(void) const
Definition: SbViewVolume.cpp:597
SbBool intersect(const SbLine &l, SbVec3f &intersection) const
Definition: SbSphere.cpp:161
virtual void setWorkingSpace(const SbMatrix &space)
Definition: SbProjector.cpp:133
SbBool orientToEye
Definition: SbSphereProjector.h:56
The SbSphere class is a representation of a sphere.
Definition: SbSphere.h:33
ProjectionType getProjectionType(void) const
Definition: SbViewVolume.cpp:588
SbBool isOrientToEye(void) const
Definition: SbSphereProjector.cpp:151
void multDirMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1411
void setSphere(const SbSphere &sph)
Definition: SbSphereProjector.cpp:121
@ PERSPECTIVE
Definition: SbViewVolume.h:43
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SbBool intersectSphereFront(const SbLine &l, SbVec3f &result)
Definition: SbSphereProjector.cpp:207
float dot(const SbVec3f &v) const
Definition: SbVec3f.cpp:282
const SbVec3f & getCenter(void) const
Definition: SbSphere.cpp:114
SbSphereProjector(const SbBool orienttoeye)
Definition: SbSphereProjector.cpp:78
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
void setOrientToEye(const SbBool orienttoeye)
Definition: SbSphereProjector.cpp:141
SbVec3f lastPoint
Definition: SbSphereProjector.h:58
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
SbSphere sphere
Definition: SbSphereProjector.h:55
SbVec3f projectAndGetRotation(const SbVec2f &point, SbRotation &rot)
Definition: SbSphereProjector.cpp:107
const SbSphere & getSphere(void) const
Definition: SbSphereProjector.cpp:131
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17