Open CASCADE Technology 6.6.0
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

V3d_ColorScale::V3d_ColorScale ( const Handle< V3d_LayerMgr > &  aMgr)

Member Function Documentation

void V3d_ColorScale::Display ( )
void V3d_ColorScale::DrawScale ( )
void V3d_ColorScale::Erase ( )
Standard_Boolean V3d_ColorScale::IsDisplayed ( ) const
virtual void V3d_ColorScale::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]

Implements Aspect_ColorScale.

virtual void V3d_ColorScale::PaintText ( const TCollection_ExtendedString aText,
const Standard_Integer  X,
const Standard_Integer  Y,
const Quantity_Color aColor 
) [virtual]

Implements Aspect_ColorScale.

virtual Standard_Integer V3d_ColorScale::TextHeight ( const TCollection_ExtendedString aText) const [virtual]

Implements Aspect_ColorScale.

void V3d_ColorScale::TextSize ( const TCollection_ExtendedString AText,
const Standard_Integer  AHeight,
Standard_Integer AWidth,
Standard_Integer AnAscent,
Standard_Integer ADescent 
) const
virtual Standard_Integer V3d_ColorScale::TextWidth ( const TCollection_ExtendedString aText) const [virtual]

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines