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