1 #ifndef COIN_SBDPVIEWVOLUME_H 2 #define COIN_SBDPVIEWVOLUME_H 38 #include <Inventor/SbBasic.h> 39 #include <Inventor/SbVec3d.h> 60 void projectPointToLine(
const SbVec2d& pt,
63 SbPlane getPlane(
const double distFromEye)
const;
64 SbVec3d getSightPoint(
const double distFromEye)
const;
65 SbVec3d getPlanePoint(
const double distFromEye,
66 const SbVec2d& normPoint)
const;
67 SbDPRotation getAlignRotation(SbBool rightAngleOnly = FALSE)
const;
68 double getWorldToScreenScale(
const SbVec3d& worldCenter,
69 double normRadius)
const;
72 double right,
double top)
const;
74 void ortho(
double left,
double right,
75 double bottom,
double top,
76 double nearval,
double farval);
77 void perspective(
double fovy,
double aspect,
78 double nearval,
double farval);
79 void frustum(
double left,
double right,
80 double bottom,
double top,
81 double nearval,
double farval);
83 void translateCamera(
const SbVec3d& v);
86 void scale(
double factor);
87 void scaleWidth(
double ratio);
88 void scaleHeight(
double ratio);
90 const SbVec3d& getProjectionPoint(
void)
const;
91 const SbVec3d& getProjectionDirection(
void)
const;
92 double getNearDist(
void)
const;
93 double getWidth(
void)
const;
94 double getHeight(
void)
const;
95 double getDepth(
void)
const;
97 void print(FILE * fp)
const;
98 void getViewVolumePlanes(
SbPlane planes[6])
const;
115 void getPlaneRectangle(
const double depth,
SbVec3d & lowerleft,
120 #endif // !COIN_SBDPVIEWVOLUME_H The SbDPLine class represents a line in 3D space.SbDPLine is used by many other classes in Coin...
Definition: SbDPLine.h:41
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.This vector class provides storage for a 3 dimensional double precision floating point vector aswell as simple floating point arithmetic operations.
Definition: SbVec3d.h:50
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:46
ProjectionType
Definition: SbDPViewVolume.h:51
The SbVec2d class is a 2 dimensional vector with double precision floating point coordinates.This vector class is used by many other classes in Coin. It provides storage for a vector in 2 dimensions aswell as simple floating point arithmetic operations on this vector.
Definition: SbVec2d.h:48
The SbDPRotation class represents a rotation in 3D space.SbDPRotation is used extensively throughout ...
Definition: SbDPRotation.h:42
The SbDPViewVolume class is a double precision viewing volume in 3D space.This class contains the nec...
Definition: SbDPViewVolume.h:49
The SbViewVolume class is a viewing volume in 3D space.This class contains the necessary information ...
Definition: SbViewVolume.h:50
The SbPlane class represents a plane in 3D space.SbPlane is used by many other classes in Coin...
Definition: SbPlane.h:43
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.This class is like the SbMatrix class, but uses double-precision floating point values for its elements. For more class documentation, see SbMatrix.
Definition: SbDPMatrix.h:47