CATFmtModelInterfaces Interface CATIFmtCustomVisualization
Usage: you can freely reimplement this interface.
interface CATIFmtCustomVisualization
Interface used to implement a Finite Element custom visualization.
Role: This interface should be implemented to create a custom visulizatio, i.e. finite elements displayed
with custom colors.
Custom visualization is activated using interface.
Method Index
- o
GetColorTable(short&,ColorTable&)
- Return the color table to be used for custom visualization.
- o
GetElementColor(CATFmtElement*)
- Return the color to be used to draw an element
Methods
o GetColorTable
public virtual GetColorTable( | | oNbColors, |
| | oRGB) |
-
Return the color table to be used for custom visualization.
Color table allocation/desallocation has to be managed by the callee.
- Parameters:
-
- oNbColors
- Number of different colors in the table.
- oRGB
- Array of colors defined with the Red/Green/Blue standard.
o GetElementColor
public virtual GetElementColor( | | iElement) |
-
Return the color to be used to draw an element
- Parameters:
-
- iElement
- Elements to be drawn.
- Returns:
- The index of the color to be used to draw the element (should be between 0 and oNbColors-1).
This object is included in the file: CATIFmtCustomVisualization.h
If needed, your Imakefile.mk should include the module: CATFmtModelInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.