This class encapsulates a Quantity_Color in a
Transient object, to be used in an ObjectProperty
from the package Dynamic.
#include <Materials_Color.hxx>
Public Member Functions |
| | Materials_Color () |
| | Creates an empty instance of Color.
|
| | Materials_Color (const Quantity_Color &acolor) |
| | Creates an instance of Color, with <acolor> as color.
|
| void | Color (const Quantity_Color &acolor) |
| | Sets <acolor> into <me>.
|
| Quantity_Color | Color () const |
| | Returns a Quantity_Color corresponding to <me>.
|
| void | Color (const Quantity_TypeOfColor aTypeOfColor, Standard_Real &Reel1, Standard_Real &Reel2, Standard_Real &Reel3) const |
| | Get the values ( RGB or HLS ) between 0.0 and 1.0
|
| void | Color255 (const Quantity_TypeOfColor aTypeOfColor, Standard_Real &Reel1, Standard_Real &Reel2, Standard_Real &Reel3) const |
| | Get the values ( RGB or HLS ) between 0.0 and 255.0
|
| void | SetColor (const Quantity_TypeOfColor aTypeOfColor, const Standard_Real Reel1, const Standard_Real Reel2, const Standard_Real Reel3) |
| | Set the values ( RGB or HLS ) between 0.0 and 1.0
|
| void | SetColor255 (const Quantity_TypeOfColor aTypeOfColor, const Standard_Real Reel1, const Standard_Real Reel2, const Standard_Real Reel3) |
| | Set the values ( RGB or HLS ) between 0.0 and 255.0
|
Constructor & Destructor Documentation
| Materials_Color::Materials_Color |
( |
| ) |
|
Member Function Documentation
The documentation for this class was generated from the following file: