All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Class CATMSHElementVisuAttribute

VisualizationBase.CATGraphicAttributeSet
  |
  +---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()
Constructs a default graphic attribute for a finite element (black).
o CATMSHElementVisuAttribute(CATMSHElementVisuAttribute&)

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&)
Assignment operator.
o operator ==(CATMSHElementVisuAttribute&)
Equality operator.

Constructor and Destructor


o CATMSHElementVisuAttribute
public CATMSHElementVisuAttribute()
Constructs a default graphic attribute for a finite element (black).
o CATMSHElementVisuAttribute
public CATMSHElementVisuAttribute( const CATMSHElementVisuAttribute& iAttribute)

Methods


o GetColorRGB
public void GetColorRGB(int& ioRed,
int& ioGreen,
int& ioBlue)const
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 void SetColorRGB( const int iRed,
const int iGreen,
const int 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 inline CATMSHElementVisuAttribute & operator =( const CATMSHElementVisuAttribute& iAttribute)
Assignment operator.
Parameters:
iAttribute
Graphic attribute to assign to the current one
Returns:
Graphic attribute resulting from the assignment
o operator ==
public inline int operator ==( const CATMSHElementVisuAttribute& iAttribute)const
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.

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

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