1 #ifndef COIN_SBDPVIEWVOLUME_H
2 #define COIN_SBDPVIEWVOLUME_H
29 #include <Inventor/SbBasic.h>
30 #include <Inventor/SbVec3d.h>
51 void projectPointToLine(
const SbVec2d& pt,
54 SbPlane getPlane(
const double distFromEye)
const;
55 SbVec3d getSightPoint(
const double distFromEye)
const;
56 SbVec3d getPlanePoint(
const double distFromEye,
57 const SbVec2d& normPoint)
const;
58 SbDPRotation getAlignRotation(SbBool rightAngleOnly = FALSE)
const;
59 double getWorldToScreenScale(
const SbVec3d& worldCenter,
60 double normRadius)
const;
63 double right,
double top)
const;
65 void ortho(
double left,
double right,
66 double bottom,
double top,
67 double nearval,
double farval);
68 void perspective(
double fovy,
double aspect,
69 double nearval,
double farval);
70 void frustum(
double left,
double right,
71 double bottom,
double top,
72 double nearval,
double farval);
74 void translateCamera(
const SbVec3d& v);
77 void scale(
double factor);
78 void scaleWidth(
double ratio);
79 void scaleHeight(
double ratio);
80 ProjectionType getProjectionType(
void)
const;
81 const SbVec3d& getProjectionPoint(
void)
const;
82 const SbVec3d& getProjectionDirection(
void)
const;
83 double getNearDist(
void)
const;
84 double getWidth(
void)
const;
85 double getHeight(
void)
const;
86 double getDepth(
void)
const;
88 void print(FILE * fp)
const;
89 void getViewVolumePlanes(
SbPlane planes[6])
const;
106 void getPlaneRectangle(
const double depth,
SbVec3d & lowerleft,
111 #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:32
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:39
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:37
ProjectionType
Definition: SbDPViewVolume.h:42
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:39
The SbDPRotation class represents a rotation in 3D space.SbDPRotation is used extensively throughout ...
Definition: SbDPRotation.h:33
The SbDPViewVolume class is a double precision viewing volume in 3D space.This class contains the nec...
Definition: SbDPViewVolume.h:40
The SbViewVolume class is a viewing volume in 3D space.This class contains the necessary information ...
Definition: SbViewVolume.h:41
The SbPlane class represents a plane in 3D space.SbDPPlane is used by many other classes in Coin...
Definition: SbPlane.h:34
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:38