1#ifndef COIN_SBVIEWVOLUME_H
2#define COIN_SBVIEWVOLUME_H
29#include <Inventor/SbBasic.h>
30#include <Inventor/SbVec3f.h>
31#include <Inventor/SbDPViewVolume.h>
50 SbMatrix getCameraSpaceMatrix(
void)
const;
52 void projectPointToLine(
const SbVec2f&
pt,
64 float right,
float top)
const;
66 void ortho(
float left,
float right,
67 float bottom,
float top,
68 float nearval,
float farval);
70 float nearval,
float farval);
71 void frustum(
float left,
float right,
72 float bottom,
float top,
73 float nearval,
float farval);
75 void translateCamera(
const SbVec3f& v);
78 void scale(
float factor);
79 void scaleWidth(
float ratio);
80 void scaleHeight(
float ratio);
81 ProjectionType getProjectionType(
void)
const;
82 const SbVec3f& getProjectionPoint(
void)
const;
83 const SbVec3f& getProjectionDirection(
void)
const;
84 float getNearDist(
void)
const;
85 float getWidth(
void)
const;
86 float getHeight(
void)
const;
87 float getDepth(
void)
const;
89 void print(
FILE * fp)
const;
91 void transform(
const SbMatrix &matrix);
94 SbBool intersect(
const SbVec3f &
p)
const;
99 SbBool outsideTest(
const SbPlane &
p,
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:37
The SbLine class represents a line in 3D space.
Definition SbLine.h:32
The SbList class is a template container class for lists.
Definition SbList.h:47
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:37
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:34
The SbRotation class represents a rotation in 3D space.
Definition SbRotation.h:33
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:36
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
The SbViewVolume class is a viewing volume in 3D space.
Definition SbViewVolume.h:41
float nearDist
Definition SbViewVolume.h:112
SbVec3f lrf
Definition SbViewVolume.h:115
SbVec3f projDir
Definition SbViewVolume.h:111
float nearToFar
Definition SbViewVolume.h:113
ProjectionType
Definition SbViewVolume.h:43
ProjectionType type
Definition SbViewVolume.h:109
SbVec3f projPoint
Definition SbViewVolume.h:110
SbVec3f ulf
Definition SbViewVolume.h:116
SbVec3f llf
Definition SbViewVolume.h:114