All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ApplicationFrame Interface CATICamera

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATICamera
 

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


interface CATICamera

interface to make viewpoint persistent.
Role: This is the base interface to create a persistent viewpoint. It provides the basic methods to manage the name and type of camera.


Method Index


o CopyFrom(CATICamera*)
Makes a camera identical with another one in copying all its parameters.
o GetName()
Returns the name of the camera.
o GetType()
Returns the type of the camera.
o SetName(CATUnicodeString&)
Changes the name of the camera.

Methods


o CopyFrom
public virtual void CopyFrom(CATICamera* iCamera)=0
Makes a camera identical with another one in copying all its parameters.
Parameters:
iCamera
The camera to copy.
o GetName
public virtual CATUnicodeString & GetName()=0
Returns the name of the camera.
o GetType
public virtual CATCameraType GetType()=0
Returns the type of the camera.
Returns:
  • CAT3DConicCamera for a 3D perspective projection
  • CAT3DCylindricCamera for a 3D parallel projection
  • .
  • CAT3DUnknownCamera for any type of 3D projection
  • CAT2DCamera for a 2D view
  • .
    See also:
    CATCameraType
    o SetName
    public virtual void SetName( const CATUnicodeString& iName)=0
    Changes the name of the camera.
    Parameters:
    iName
    New name of the camera.

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

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