Open CASCADE Technology  7.3.0
Public Member Functions

Vrml_OrthographicCamera Class Reference

specifies a OrthographicCamera node of VRML specifying properties of cameras. An orthographic camera defines a parallel projection from a viewpoint. This camera does not diminish objects with distance, as a PerspectiveCamera does. The viewing volume for an orthographic camera is a rectangular parallelepiped (a box). More...

#include <Vrml_OrthographicCamera.hxx>

Public Member Functions

 Vrml_OrthographicCamera ()
 
 Vrml_OrthographicCamera (const gp_Vec &aPosition, const Vrml_SFRotation &aOrientation, const Standard_Real aFocalDistance, const Standard_Real aHeight)
 
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 SetHeight (const Standard_Real aHeight)
 
Standard_Real Height () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

specifies a OrthographicCamera node of VRML specifying properties of cameras. An orthographic camera defines a parallel projection from a viewpoint. This camera does not diminish objects with distance, as a PerspectiveCamera does. The viewing volume for an orthographic camera is a rectangular parallelepiped (a box).

Constructor & Destructor Documentation

◆ Vrml_OrthographicCamera() [1/2]

Vrml_OrthographicCamera::Vrml_OrthographicCamera ( )

◆ Vrml_OrthographicCamera() [2/2]

Vrml_OrthographicCamera::Vrml_OrthographicCamera ( const gp_Vec aPosition,
const Vrml_SFRotation aOrientation,
const Standard_Real  aFocalDistance,
const Standard_Real  aHeight 
)

Member Function Documentation

◆ FocalDistance()

Standard_Real Vrml_OrthographicCamera::FocalDistance ( ) const

◆ Height()

Standard_Real Vrml_OrthographicCamera::Height ( ) const

◆ Orientation()

Vrml_SFRotation Vrml_OrthographicCamera::Orientation ( ) const

◆ Position()

gp_Vec Vrml_OrthographicCamera::Position ( ) const

◆ Print()

Standard_OStream& Vrml_OrthographicCamera::Print ( Standard_OStream anOStream) const

◆ SetFocalDistance()

void Vrml_OrthographicCamera::SetFocalDistance ( const Standard_Real  aFocalDistance)

◆ SetHeight()

void Vrml_OrthographicCamera::SetHeight ( const Standard_Real  aHeight)

◆ SetOrientation()

void Vrml_OrthographicCamera::SetOrientation ( const Vrml_SFRotation aOrientation)

◆ SetPosition()

void Vrml_OrthographicCamera::SetPosition ( const gp_Vec aPosition)

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