#include <Aspect_ColorMap.hxx>
Inheritance diagram for Aspect_ColorMap:
Public Member Functions | |
Standard_EXPORT Aspect_TypeOfColorMap | Type () const |
Standard_EXPORT Standard_Integer | Size () const |
Returns the Allocated colormap Size . | |
Standard_EXPORT Standard_Integer | Index (const Standard_Integer aColormapIndex) const |
Returns the ColorMapEntry.Index of the ColorMap at rank <acolormapindex> . . | |
Standard_EXPORT void | Dump () const |
Standard_EXPORT const Aspect_ColorMapEntry & | Entry (const Standard_Integer AColorMapIndex) const |
Return the value of the <index>th element of the ColorMap . | |
virtual Standard_EXPORT Standard_Integer | FindColorMapIndex (const Standard_Integer AColorMapEntryIndex) const =0 |
Returns the index in the ColorMap of the ColorMapEntry.Index() equal to <anentryindex>. . | |
virtual Standard_EXPORT const Aspect_ColorMapEntry & | FindEntry (const Standard_Integer AColorMapEntryIndex) const =0 |
Returns the ColorMapEntry with ColorMapEntry.Index() equal to <anentryindex>. . | |
virtual Standard_EXPORT Standard_Integer | NearestColorMapIndex (const Quantity_Color &aColor) const =0 |
Returns the index in the ColorMap of the nearest matching ColorMapEntry . | |
virtual Standard_EXPORT const Aspect_ColorMapEntry & | NearestEntry (const Quantity_Color &aColor) const =0 |
Returns the nearest ColorMapEntry that match aColor . . | |
virtual Standard_EXPORT Standard_Integer | AddEntry (const Quantity_Color &aColor)=0 |
Search an identical color entry in the color map <me> and returns the ColorMapEntry Index if exist. Or add a new entry and returns the computed ColorMapEntry index used. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | Aspect_ColorMap (const Aspect_TypeOfColorMap type) |
Protected Attributes | |
Aspect_SequenceOfColorMapEntry | mydata |
Private Attributes | |
Aspect_TypeOfColorMap | mytype |
|
|
|
Implemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
|
|
|
|
Implemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
Implemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
Reimplemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
|
|
Implemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
Implemented in Aspect_ColorCubeColorMap, Aspect_ColorRampColorMap, and Aspect_GenericColorMap. |
|
|
|
|
|
|
|
|