All Frameworks Class Hierarchy This Framework Indexes
AnalysisMeshingModel Class CATMSHElementVisuAttribute
Usage: you must use this class as is. You should never derive it.
public class CATMSHElementVisuAttribute
Class to create a graphic attribute for a finite element.
Role: This class permits to have a graphic attribute which define
the display properties of a finite element.
- See also:
- CATIMSHMesh, CATMSHElement
Constructor and Destructor Index
- o
CATMSHElementVisuAttribute(CATMSHElementVisuAttribute&)
-
- o
CATMSHElementVisuAttribute()
- Constructs a default graphic attribute for a finite element (black).
Method Index
- o
GetColorRGB(int&,int&,int&)
- Gets the red, green and blue components color.
- o
SetColorRGB(int,int,int)
- Sets the red, green and blue components color.
- o
operator ==(CATMSHElementVisuAttribute&)
- Equality operator.
- o
operator =(CATMSHElementVisuAttribute&)
- Assignment operator.
Constructor and Destructor
o CATMSHElementVisuAttribute
| public CATMSHElementVisuAttribute( | const | iAttribute) |
-
o CATMSHElementVisuAttribute
| public CATMSHElementVisuAttribute( | ) |
-
Constructs a default graphic attribute for a finite element (black).
Methods
o GetColorRGB
| public GetColorRGB( | | ioRed, |
| | ioGreen, |
| | ioBlue) |
-
Gets the red, green and blue components color.
- Parameters:
-
- iRed
- The red component of the color.
Legal values: iRed ranges from 0 to 255.
- iGreen
- The green component of the color.
Legal values: iGreen ranges from 0 to 255.
- iBlue
- The blue component of the color.
Legal values: iBlue ranges from 0 to 255.
o SetColorRGB
| public SetColorRGB( | const | iRed, |
| const | iGreen, |
| const | iBlue) |
-
Sets the red, green and blue components color.
- Parameters:
-
- iRed
- The red component of the color.
Legal values: iRed ranges from 0 to 255.
- iGreen
- The green component of the color.
Legal values: iGreen ranges from 0 to 255.
- iBlue
- The blue component of the color.
Legal values: iBlue ranges from 0 to 255.
o operator ==
| public operator ==( | const | iAttribute) |
-
Equality operator.
- Parameters:
-
- iAttribute
- Graphic attribute to compare with
- Returns:
- boolean
Legal values: 0: False
the condition is not fullfilled, or Other: True
if the condition is fullfilled.
o operator =
| public operator =( | const | iAttribute) |
-
Assignment operator.
- Parameters:
-
- iAttribute
- Graphic attribute to assign to the current one
- Returns:
- Graphic attribute resulting from the assignment
This object is included in the file: CATMSHElementVisuAttribute.h
If needed, your Imakefile.mk should include the module: CATAmtModel