VisualizationInterfaces Interface CATI2DCamera

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


interface CATI2DCamera

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

See also:
CATICamera, CAT2DViewpoint


Method Index


o GetOrigin()
Returns the origin (eye position) of a 2D camera.
o GetScale()
Returns the scale value of a 2D camera.
o SetOrigin(CATMathPoint2D)
Changes the origin of 2D camera.
o SetScale(double)
Changes the scale value of a 2D camera.

Methods


o GetOrigin
public virtual CATMathPoint2D GetOrigin()=0
Returns the origin (eye position) of a 2D camera.
o GetScale
public virtual double GetScale()=0
Returns the scale value of a 2D camera.
o SetOrigin
public virtual void SetOrigin(CATMathPoint2D iOrigin)=0
Changes the origin of 2D camera. It results a translation of the camera.
Parameters:
iOrigin
New position of the camera origin.
o SetScale
public virtual void SetScale(double iScale)=0
Changes the scale value of a 2D camera.
Parameters:
iScale
New scale value of the camera. This value must be >=0

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

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