Open CASCADE Technology  7.3.0
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() [1/2]

Vrml_PerspectiveCamera::Vrml_PerspectiveCamera ( )

◆ Vrml_PerspectiveCamera() [2/2]

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

Member Function Documentation

◆ Angle()

Standard_Real Vrml_PerspectiveCamera::Angle ( ) const

◆ FocalDistance()

Standard_Real Vrml_PerspectiveCamera::FocalDistance ( ) const

◆ Orientation()

Vrml_SFRotation Vrml_PerspectiveCamera::Orientation ( ) const

◆ Position()

gp_Vec Vrml_PerspectiveCamera::Position ( ) const

◆ Print()

Standard_OStream& Vrml_PerspectiveCamera::Print ( Standard_OStream anOStream) const

◆ SetAngle()

void Vrml_PerspectiveCamera::SetAngle ( const Standard_Real  aHeightAngle)

◆ SetFocalDistance()

void Vrml_PerspectiveCamera::SetFocalDistance ( const Standard_Real  aFocalDistance)

◆ SetOrientation()

void Vrml_PerspectiveCamera::SetOrientation ( const Vrml_SFRotation aOrientation)

◆ SetPosition()

void Vrml_PerspectiveCamera::SetPosition ( const gp_Vec aPosition)

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