All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT2DViewport

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATViewport
        |
        +---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 CATViewport * Clone()const
Duplicate the Viewport.
Returns:
the copy of this CATViewport
o Clone
public virtual CATViewport * Clone(CATViewport** ) const
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 void GetParameter(float* oXmin,
float* oXmax,
float* oYmin,
float* oYmax) const
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 int IsInside( const CAT2DBoundingBox& iBox,
const float iratio= 1.f) const
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 int IsOutside( const CAT2DBoundingBox& iBox,
const float iratio= 1.f) const
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 CAT2DViewport & operator*=( const CAT3x3Matrix& 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: CATViz

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