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,
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:37
The SbDPLine class represents a line in 3D space.
Definition SbDPLine.h:32
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.
Definition SbDPMatrix.h:38
The SbDPRotation class represents a rotation in 3D space.
Definition SbDPRotation.h:33
The SbDPViewVolume class is a double precision viewing volume in 3D space.
Definition SbDPViewVolume.h:40
ProjectionType
Definition SbDPViewVolume.h:42
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:34
The SbVec2d class is a 2 dimensional vector with double precision floating point coordinates.
Definition SbVec2d.h:39
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.
Definition SbVec3d.h:39
The SbViewVolume class is a viewing volume in 3D space.
Definition SbViewVolume.h:41
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.