OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 double aFocalDistance, const double aHeightAngle)
    void SetPosition (const gp_Vec &aPosition)
    gp_Vec Position () const
    void SetOrientation (const Vrml_SFRotation &aOrientation)
    Vrml_SFRotation Orientation () const
    void SetFocalDistance (const double aFocalDistance)
    double FocalDistance () const
    void SetAngle (const double aHeightAngle)
    double 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 double aFocalDistance,
    const double aHeightAngle )

    Member Function Documentation

    ◆ Angle()

    double Vrml_PerspectiveCamera::Angle ( ) const

    ◆ FocalDistance()

    double 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 double aHeightAngle)

    ◆ SetFocalDistance()

    void Vrml_PerspectiveCamera::SetFocalDistance ( const double 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: