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);
89 ProjectionType getProjectionType(
void)
const;
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 using double precision coordinates.
Definition: SbDPLine.h:41
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.
Definition: SbVec3d.h:50
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:46
ProjectionType
Definition: SbDPViewVolume.h:51
The SbVec2d class is a 2 dimensional vector with double precision floating point coordinates.
Definition: SbVec2d.h:48
The SbDPRotation class represents a rotation in 3D space using double precision data.
Definition: SbDPRotation.h:42
The SbDPViewVolume class is a double precision viewing volume in 3D space.
Definition: SbDPViewVolume.h:49
The SbViewVolume class is a viewing volume in 3D space.
Definition: SbViewVolume.h:50
The SbPlane class represents a plane in 3D space.
Definition: SbPlane.h:43
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.
Definition: SbDPMatrix.h:47