Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
V3d_ColorScale Class Reference

A colorscale class

#include <V3d_ColorScale.hxx>

Inheritance diagram for V3d_ColorScale:
Inheritance graph
[legend]

Public Member Functions

 V3d_ColorScale (const Handle< V3d_LayerMgr > &aMgr)
 Returns returns ColorScale from V3d.
//! Returns View from V3d.

void Display ()
void Erase ()
Standard_Boolean IsDisplayed () const
virtual void PaintRect (const Standard_Integer X, const Standard_Integer Y, const Standard_Integer W, const Standard_Integer H, const Quantity_Color &aColor, const Standard_Boolean aFilled=Standard_False)
virtual void PaintText (const TCollection_ExtendedString &aText, const Standard_Integer X, const Standard_Integer Y, const Quantity_Color &aColor)
virtual Standard_Integer TextWidth (const TCollection_ExtendedString &aText) const
virtual Standard_Integer TextHeight (const TCollection_ExtendedString &aText) const
void TextSize (const TCollection_ExtendedString &AText, const Standard_Integer AHeight, Standard_Integer &AWidth, Standard_Integer &AnAscent, Standard_Integer &ADescent) const
void DrawScale ()

Protected Member Functions

virtual void UpdateColorScale ()

Constructor & Destructor Documentation


Member Function Documentation

Implements Aspect_ColorScale.

Implements Aspect_ColorScale.

Implements Aspect_ColorScale.

Implements Aspect_ColorScale.

virtual void V3d_ColorScale::UpdateColorScale ( ) [protected, virtual]

Reimplemented from Aspect_ColorScale.


The documentation for this class was generated from the following file: