Open CASCADE Technology  7.1.0.beta
Public Member Functions

Vrml_PerspectiveCamera Class Reference

specifies a PerspectiveCamera node of VRML specifying properties of cameras. A perspective camera defines a perspective projection from a viewpoint. The viewing volume for a perspective camera is a truncated right pyramid. More...

#include <Vrml_PerspectiveCamera.hxx>

Public Member Functions

 Vrml_PerspectiveCamera ()
 
 Vrml_PerspectiveCamera (const gp_Vec &aPosition, const Vrml_SFRotation &aOrientation, const Standard_Real aFocalDistance, const Standard_Real aHeightAngle)
 
void SetPosition (const gp_Vec &aPosition)
 
gp_Vec Position () const
 
void SetOrientation (const Vrml_SFRotation &aOrientation)
 
Vrml_SFRotation Orientation () const
 
void SetFocalDistance (const Standard_Real aFocalDistance)
 
Standard_Real FocalDistance () const
 
void SetAngle (const Standard_Real aHeightAngle)
 
Standard_Real Angle () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

specifies a PerspectiveCamera node of VRML specifying properties of cameras. A perspective camera defines a perspective projection from a viewpoint. The viewing volume for a perspective camera is a truncated right pyramid.

Constructor & Destructor Documentation

Vrml_PerspectiveCamera::Vrml_PerspectiveCamera ( )
Vrml_PerspectiveCamera::Vrml_PerspectiveCamera ( const gp_Vec aPosition,
const Vrml_SFRotation aOrientation,
const Standard_Real  aFocalDistance,
const Standard_Real  aHeightAngle 
)

Member Function Documentation

Standard_Real Vrml_PerspectiveCamera::Angle ( ) const
Standard_Real Vrml_PerspectiveCamera::FocalDistance ( ) const
Vrml_SFRotation Vrml_PerspectiveCamera::Orientation ( ) const
gp_Vec Vrml_PerspectiveCamera::Position ( ) const
Standard_OStream& Vrml_PerspectiveCamera::Print ( Standard_OStream anOStream) const
void Vrml_PerspectiveCamera::SetAngle ( const Standard_Real  aHeightAngle)
void Vrml_PerspectiveCamera::SetFocalDistance ( const Standard_Real  aFocalDistance)
void Vrml_PerspectiveCamera::SetOrientation ( const Vrml_SFRotation aOrientation)
void Vrml_PerspectiveCamera::SetPosition ( const gp_Vec aPosition)

The documentation for this class was generated from the following file: