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:
- ,
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 GetOrigin( | ) |
-
Returns the origin (eye position) of a 2D camera.
o GetScale
public virtual GetScale( | ) |
-
Returns the scale value of a 2D camera.
o SetOrigin
public virtual SetOrigin( | | iOrigin) |
-
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 SetScale( | | iScale) |
-
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.