VisualizationFoundation CAT2DViewport

Usage: you must use this class as is. You should never derive it.


public class CAT2DViewport

Class that defines a 2D clipping area.


Constructor and Destructor Index


o CAT2DViewport()
o ~CAT2DViewport()

Method Index


o Clone()
Duplicate the Viewport.
o Clone(CATViewport**)
Duplicate a Viewport.
o GetParameter(float*,float*,float*,float*)
Get the extend of the CAT2DViewport.
o IsInside(CAT2DBoundingBox&,float)
Determine wether or not a given CAT2DBoundingBox lies inside the CAT2DViewport.
o IsOutside(CAT2DBoundingBox&,float)
Determine wether or not a given CAT2DBoundingBox lies outside the CAT2DViewport.
o operator*=(CAT3x3Matrix&)
Applies the geometric transformatin defined by the CAT3x3Matrix to the limits of the CAT2DViewport.

Constructor and Destructor


o CAT2DViewport
public CAT2DViewport()
o ~CAT2DViewport
public virtual ~CAT2DViewport()

Methods


o Clone
public virtual Clone()
Duplicate the Viewport.
Returns:
the copy of this CATViewport
o Clone
public virtual Clone( )
Duplicate a Viewport.
Parameters:
iViewport
A pointer to the pointer on the CATViewport into wich we want to duplicate this CATViewport.
Returns:
A pointer to the Duplicated CATviewport
o GetParameter
public GetParameter( oXmin,
oXmax,
oYmin,
oYmax)
Get the extend of the CAT2DViewport.
Parameters:
oXmin
minimal vue a x coordinate concidered inside the CAT2DViewport
oXmax
maximal vue a x coordinate concidered inside the CAT2DViewport
oYmin
minimal vue a y coordinate concidered inside the CAT2DViewport
oYmax
maximal vue a y coordinate concidered inside the CAT2DViewport
o IsInside
public IsInside( const iBox,
const iratio= 1.f)
Determine wether or not a given CAT2DBoundingBox lies inside the CAT2DViewport.
Parameters:
iBox
The CAT2DBoundingBox we want to test
iratio
Returns:
the result of the test
o IsOutside
public IsOutside( const iBox,
const iratio= 1.f)
Determine wether or not a given CAT2DBoundingBox lies outside the CAT2DViewport.
Parameters:
iBox
The CAT2DBoundingBox we want to test
iratio
Returns:
the result of the test
o operator*=
public operator*=( const iMatrix)
Applies the geometric transformatin defined by the CAT3x3Matrix to the limits of the CAT2DViewport.
Parameters:
iMatrix
the transformation to apply.

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

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