Open CASCADE Technology  6.9.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::Vrml_OrthographicCamera ( )
Vrml_OrthographicCamera::Vrml_OrthographicCamera ( const gp_Vec aPosition,
const Vrml_SFRotation aOrientation,
const Standard_Real  aFocalDistance,
const Standard_Real  aHeight 
)

Member Function Documentation

Standard_Real Vrml_OrthographicCamera::FocalDistance ( ) const
Standard_Real Vrml_OrthographicCamera::Height ( ) const
Vrml_SFRotation Vrml_OrthographicCamera::Orientation ( ) const
gp_Vec Vrml_OrthographicCamera::Position ( ) const
Standard_OStream& Vrml_OrthographicCamera::Print ( Standard_OStream anOStream) const
void Vrml_OrthographicCamera::SetFocalDistance ( const Standard_Real  aFocalDistance)
void Vrml_OrthographicCamera::SetHeight ( const Standard_Real  aHeight)
void Vrml_OrthographicCamera::SetOrientation ( const Vrml_SFRotation aOrientation)
void Vrml_OrthographicCamera::SetPosition ( const gp_Vec aPosition)

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