All Frameworks  Class Hierarchy  This Framework  Indexes   

AnalysisMeshingModel Class CATMSHNodeVisuAttribute

Usage: you must use this class as is. You should never derive it.


public class CATMSHNodeVisuAttribute

Class to create a graphic attribute for a finite element node.
Role: This class permits to have a graphic attribute which define the display properties of a finite element node.

See also:
CATIMSHMesh, CATMSHNode


Constructor and Destructor Index


o CATMSHNodeVisuAttribute(CATMSHNodeVisuAttribute&)
o CATMSHNodeVisuAttribute(CATSymbolType)
Constructs a default graphic attribute for a finite element node (black).

Method Index


o GetColorRGB(int&,int&,int&)
Gets the red, green and blue components color.
o GetSymbolType()
Sets the symbol type used for finite element nodes.
o SetColorRGB(int,int,int)
Sets the red, green and blue components color.
o SetSymbolType(SymbolType)
Returns the symbol type used for finite element nodes.
o operator =(CATMSHNodeVisuAttribute&)
Assignment operator.
o operator ==(CATMSHNodeVisuAttribute&)
Equality operator.

Constructor and Destructor


o CATMSHNodeVisuAttribute
public CATMSHNodeVisuAttribute( const Attribute)
o CATMSHNodeVisuAttribute
public CATMSHNodeVisuAttribute( iSymbol= DOT )
Constructs a default graphic attribute for a finite element node (black).
Parameters:
iSymbol
Symbol type to be used for node display.

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 GetSymbolType
public GetSymbolType()
Sets the symbol type used for finite element nodes.
Parameters:
iSymbol
The symboltype. Legal values:
CATSymbolType
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 SetSymbolType
public SetSymbolType( const iSymbol)
Returns the symbol type used for finite element nodes.
See also:
CATSymbolType
o operator =
public operator =( const Attribute)
Assignment operator.
Parameters:
iAttribute
Graphic attribute to assign to the current one
Returns:
Graphic attribute resulting from the assignment
o operator ==
public operator ==( const Attribute)
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: CATMSHNodeVisuAttribute.h
If needed, your Imakefile.mk should include the module: CATAmtModel

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