PrintBase CATPrint2DRepImageBase
Usage: you must use this class as is. You should never derive it.
public class CATPrint2DRepImageBase
Class to create a print image from a 2D-rep.
Constructor and Destructor Index
- o
CATPrint2DRepImageBase(CAT2DRep*)
- Constructs a CATPrint2DRepImageBase.
- o
~CATPrint2DRepImageBase()
-
Method Index
- o
Decode(CATPrintGenerator*,CATPrintParameters&)
- Computes the 2D-rep image with the appropriate generator and parameters.
- o
GenericDecode(CATPrintGenerator*,CATPrintParameters&)
-
- o
GetSize(float&,float&)
- Retrieves the print image size.
- o
GetSupport(void)
- Returns the support of the print image.
- o
GetViewpoint(void)
- Returns the 2D-viewpoint of the print image.
- o
Rasterize(int)
- Rasterizes the print image.
Constructor and Destructor
o CATPrint2DRepImageBase
public CATPrint2DRepImageBase( | | i2DRep) |
-
Constructs a CATPrint2DRepImageBase.
- Parameters:
-
- i2DRep
- The 2D-rep to create the image.
o ~CATPrint2DRepImageBase
public virtual ~CATPrint2DRepImageBase( | ) |
-
Methods
o Decode
public Decode( | | iGenerator, |
| const | iParameters) |
-
Computes the 2D-rep image with the appropriate generator and parameters.
- Parameters:
-
- iGenerator
- The generator.
- iParameters
- The print parameters.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GenericDecode
public virtual GenericDecode( | | iGenerator, |
| const | iParameters) |
-
o GetSize
public GetSize( | | oWidth, |
| | oHeight) |
-
Retrieves the print image size.
- Parameters:
-
- oWidth
- The width of the image.
- oHeight
- The height of the image.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GetSupport
-
Returns the support of the print image.
Role: The support can be a screen, a paper ...
- Returns:
- The support of the image.
o GetViewpoint
-
Returns the 2D-viewpoint of the print image.
- Returns:
- The 2D-viewpoint of the image.
o Rasterize
public Rasterize( | | iPixelSize | = 320) |
-
Rasterizes the print image.
- Parameters:
-
- iPixelSize
- The largest side of the generated CATPixelImage.
Legal values: The default is 320.
- Returns:
- The generated CATPixelImage.
This object is included in the file: CATPrint2DRepImageBase.h
If needed, your Imakefile.mk should include the module: CATPrintBase
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.