All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ApplicationFrame Interface CATI3DCamera

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ApplicationFrame.CATICamera
        |
        +---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:
CATICamera, CAT3DViewpoint


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 CATMathDirection GetDirection()=0
Returns the sight direction of a 3D camera.
o GetOrigin
public virtual CATMathPoint GetOrigin()=0
Returns the origin (eye position) of a 3D camera.
o GetTarget
public virtual CATMathPoint GetTarget()=0
Returns the target point of a 3D camera.
o GetViewAngle
public virtual CATAngle GetViewAngle()=0
Returns the view angle of a 3D conic camera. It is the half of the vertical vision field angle (in degrees).
See also:
CATAngle
o GetZenith
public virtual CATMathDirection GetZenith()=0
Returns the up direction of a 3D camera.
o GetZoom
public virtual double GetZoom()=0
Returns the zoom value of a 3D cylindric camera.
o SetDirection
public virtual void SetDirection(CATMathDirection iDirection)=0
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 void SetOrigin(CATMathPoint iOrigin)=0
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 void SetTarget(CATMathPoint iTarget)=0
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 void SetType(CATCameraType iCameraType)=0
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:
    CATCameraType
    o SetViewAngle
    public virtual void SetViewAngle(CATAngle iViewAngle)=0
    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:
    CATAngle
    o SetZenith
    public virtual void SetZenith(CATMathDirection iZenith)=0
    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 void SetZoom(double iZoom)=0
    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: CATApplicationFrame

    Copyright © 2003, Dassault Systèmes. All rights reserved.