All Frameworks  Class Hierarchy  This Framework  Indexes

VisualizationBase Typedef CATPredefinedColorName

typedef const unsigned int CATPredefinedColorName
Specifies a group of predefined color names.

Role
: This set of color name can be used in the CATGraphicAttributeSet.SetColor method.
Values:
TRUECOLOR
To be used when you want to set a color to a rep by specifying its red, green and blue components.
Example to set the red color to a CATxxRep :
    CATxxRep *rep = new CATxxRep();
          rep->GetGraphicAttributeSet().SetColor(TRUECOLOR);
          rep->GetGraphicAttributeSet().SetColorRGBA(255,0,0);
But the easiest way to do that is:
    rep->SetColorRGBA(255,0,0);
BACKGROUND
To be used when you want to specify the BACKGROUND color.
The red, green and blue components can be redefined with Tools/Options + General + Display + Visualization + Background
FOREGROUND
To be used when you want to specify the FOREGROUND color.
This color is always visible on a BACKGROUND color.
LOWLIGHT
To be used when you want to specify the low-intensified element color.
The red, green and blue components can be redefined with Tools/Options + General + Display + Visualization + Low-intensity elements.
HIGHLIGHT
To be used when you want to specify the selected element color.
The red, green and blue components can be redefined with Tools/Options + General + Display + Visualization + Selected elements.
The HIGHLIGHT color is applied on an object which is under the mouse without being selected (pre-highlight) or an selected object excepted for egdes i (highlight).
PREHIGHLIGHT
To be used when you want to specify the PREHIGHLIGHT color.
This define has not real meaning in ours frameworks.
BLACK
To be used when you want to specify the BLACK color.
WHITE
To be used when you want to specify the WHITE color.
RED
To be used when you want to specify the RED color.
GREEN
To be used when you want to specify the GREEN color.
BLUE
To be used when you want to specify the BLUE color.
YELLOW
To be used when you want to specify the YELLOW color.
MAGENTA
To be used when you want to specify the MAGENTA color.
CYAN
To be used when you want to specify the CYAN color.
HANDLECOLOR
To be used when you want to specify the HANDLE color.
The red, green and blue components can be redefined with Tools/Options + General + Display + Visualization + Handles.
The HANDLE color is applied on a handle object.
UPDATENEEDED
To be used when you want to specify the UPDATENEEDED color.
The red, green and blue components can be redefined with Tools/Options + General + Display + Visualization + Update needed.
The UPDATENEEDED color is applied on an object which needs to be updated.
EDGEHIGHLIGHT
To be used when you want to specify the EDGEHIGHLIGHT color.
The red, green and blue components can be redefined (V5R5 or higher) with Tools/Options + General + Display + Visualization + Selected edges.
The EDGEHIGHLIGHT color is applied on an selected edge object.

This object is included in the file: CATColorName.h

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