VisualizationInterfaces Interface CATI3DCamera

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATI3DCamera

Interface to make 3D viewpoint persistent.
Role: This interface class provides the prototype of methods to manage the parameters of 3D camera.

See also:
,


Method Index


o GetDirection()
Returns the sight direction of a 3D camera.
o GetOrigin()
Returns the origin (eye position) of a 3D camera.
o GetTarget()
Returns the target point of a 3D camera.
o GetViewAngle()
Returns the view angle of a 3D conic camera.
o GetZenith()
Returns the up direction of a 3D camera.
o GetZoom()
Returns the zoom value of a 3D cylindric camera.
o SetDirection(CATMathDirection)
Changes the sight direction of a 3D camera.
o SetOrigin(CATMathPoint)
Changes the origin of 3D camera.
o SetTarget(CATMathPoint)
Changes the target point of a 3D camera.
o SetType(CATCameraType)
Changes the type of a 3D camera.
o SetViewAngle(CATAngle)
Changes the view angle of a 3D conic camera.
o SetZenith(CATMathDirection)
Changes the up direction of a 3D camera.
o SetZoom(double)
Changes the zoom value of a 3D cylindric camera.

Methods


o GetDirection
public virtual GetDirection()
Returns the sight direction of a 3D camera.
o GetOrigin
public virtual GetOrigin()
Returns the origin (eye position) of a 3D camera.
o GetTarget
public virtual GetTarget()
Returns the target point of a 3D camera.
o GetViewAngle
public virtual GetViewAngle()
Returns the view angle of a 3D conic camera. It is the half of the vertical vision field angle (in degrees).
See also:
o GetZenith
public virtual GetZenith()
Returns the up direction of a 3D camera.
o GetZoom
public virtual GetZoom()
Returns the zoom value of a 3D cylindric camera.
o SetDirection
public virtual SetDirection( iDirection)
Changes the sight direction of a 3D camera. It results a rotation of the camera around it's origin.
Parameters:
iDirection
New sight direction of the camera. This direction must be perpendicular to the up direction.
o SetOrigin
public virtual SetOrigin( iOrigin)
Changes the origin of 3D camera. It results a translation of the camera.
Parameters:
iOrigin
New position of the camera origin.
o SetTarget
public virtual SetTarget( iTarget)
Changes the target point of a 3D camera. It results a change of the camera sight direction.
Parameters:
iTarget
New target point of the camera.
o SetType
public virtual SetType( iCameraType)
Changes the type of a 3D camera.
Parameters:
iCameraType
New camera type.
Legal values:
  • CAT3DConicCamera for a 3D perspective projection
  • CAT3DCylindricCamera for a 3D parallel projection
  • .
  • CAT3DUnknownCamera for any type of 3D projection
  • See also:
    o SetViewAngle
    public virtual SetViewAngle( iViewAngle)
    Changes the view angle of a 3D conic camera.
    Parameters:
    iViewAngle
    New view angle of the camera. It is the half of the vertical vision field angle (in degrees).
    See also:
    o SetZenith
    public virtual SetZenith( iZenith)
    Changes the up direction of a 3D camera. It results a rotation of the camera around it's sight direction.
    Parameters:
    iZenith
    New up direction of the camera. This direction must be perpendicular to the sight direction.
    o SetZoom
    public virtual SetZoom( iZoom)
    Changes the zoom value of a 3D cylindric camera.
    Parameters:
    iZoom
    New zoom value of the camera. This value must be >=0

    This object is included in the file: CATI3DCamera.h
    If needed, your Imakefile.mk should include the module: CATVisItf

    Copyright © 1999-2014, Dassault Systèmes. All rights reserved.