All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Class CATMSHNodeVisuAttribute

VisualizationBase.CATGraphicAttributeSet
  |
  +---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 CATMSHNodeVisuAttribute& Attribute)
o CATMSHNodeVisuAttribute
public CATMSHNodeVisuAttribute(CATSymbolType 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 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 GetSymbolType
public inline SymbolType GetSymbolType()const
Sets the symbol type used for finite element nodes.
Parameters:
iSymbol
The symboltype. Legal values:
CATSymbolType
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 SetSymbolType
public inline void SetSymbolType( const SymbolType iSymbol)
Returns the symbol type used for finite element nodes.
See also:
CATSymbolType
o operator =
public inline CATMSHNodeVisuAttribute & operator =( const CATMSHNodeVisuAttribute& Attribute)
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 CATMSHNodeVisuAttribute& Attribute)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: CATMSHNodeVisuAttribute.h
If needed, your Imakefile.mk should include the module: CATAmtModel

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