#include <VISU_ScalarBarActor.hxx>

Public Member Functions | |
| vtkTypeRevisionMacro (VISU_ScalarBarActor, vtkActor2D) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| int | RenderOpaqueGeometry (vtkViewport *viewport) |
| int | RenderTranslucentGeometry (vtkViewport *) |
| int | RenderOverlay (vtkViewport *viewport) |
| virtual void | ReleaseGraphicsResources (vtkWindow *) |
| virtual void | SetLookupTable (VISU_LookupTable *) |
| vtkGetObjectMacro (LookupTable, VISU_LookupTable) | |
| vtkSetClampMacro (MaximumNumberOfColors, int, 2, VTK_LARGE_INTEGER) | |
| vtkGetMacro (MaximumNumberOfColors, int) | |
| vtkSetClampMacro (NumberOfLabels, int, 0, 64) | |
| vtkGetMacro (NumberOfLabels, int) | |
| vtkSetClampMacro (Orientation, int, VTK_ORIENT_HORIZONTAL, VTK_ORIENT_VERTICAL) | |
| vtkGetMacro (Orientation, int) | |
| void | SetOrientationToHorizontal () |
| void | SetOrientationToVertical () |
| virtual void | SetTitleTextProperty (vtkTextProperty *p) |
| vtkGetObjectMacro (TitleTextProperty, vtkTextProperty) | |
| virtual void | SetLabelTextProperty (vtkTextProperty *p) |
| vtkGetObjectMacro (LabelTextProperty, vtkTextProperty) | |
| virtual void | SetDistribution (vtkDoubleArray *d) |
| vtkGetObjectMacro (Distribution, vtkDoubleArray) | |
| void | SetDistributionVisibility (int v) |
| vtkGetMacro (DistributionVisibility, int) | |
| void | DistributionVisibilityOn () |
| void | DistributionVisibilityOff () |
| void | DebugOn () |
| void | DebugOff () |
| void | SetRatios (int titleRatioSize, int labelRatioWidth, int barRatioWidth, int barRatioHeight) |
| void | GetRatios (int &titleRatioSize, int &labelRatioWidth, int &barRatioWidth, int &barRatioHeight) |
| vtkSetStringMacro (LabelFormat) | |
| vtkGetStringMacro (LabelFormat) | |
| vtkSetStringMacro (Title) | |
| vtkGetStringMacro (Title) | |
| void | ShallowCopy (vtkProp *prop) |
Static Public Member Functions | |
| static VISU_ScalarBarActor * | New () |
Protected Member Functions | |
| VISU_ScalarBarActor () | |
| ~VISU_ScalarBarActor () | |
| virtual void | AllocateAndSizeLabels (int *labelSize, int *size, vtkViewport *viewport, vtkFloatingPointType *range) |
Protected Attributes | |
| VISU_LookupTable * | LookupTable |
| vtkTextProperty * | TitleTextProperty |
| vtkTextProperty * | LabelTextProperty |
| vtkDoubleArray * | Distribution |
| Array for keeping the distribution of colors within cells. | |
| int | DistributionVisibility |
| Visibility flag for the distribution plot. | |
| int | MaximumNumberOfColors |
| int | NumberOfLabels |
| int | NumberOfLabelsBuilt |
| int | Orientation |
| char * | Title |
| char * | LabelFormat |
| int | TitleRatioSize |
| int | LabelRatioWidth |
| int | BarRatioWidth |
| int | BarRatioHeight |
| vtkTextMapper ** | TextMappers |
Private Member Functions | |
| void | SizeTitle (int *titleSize, int *size, vtkViewport *viewport) |
| void | SizeBar (int &barSizeWidth, int &barSizeHeight, int *size, vtkViewport *viewport, vtkFloatingPointType *range) |
| void | PlaceDistribution (vtkViewport *viewport, const int barWidth, const int barHeight) |
| Place the distribution plot actor in the viewport according to the scalar bar location and orientation. | |
| VISU_ScalarBarActor (const VISU_ScalarBarActor &) | |
| void | operator= (const VISU_ScalarBarActor &) |
Private Attributes | |
| vtkTextMapper * | TitleMapper |
| vtkActor2D * | TitleActor |
| vtkActor2D ** | TextActors |
| vtkPolyData * | ScalarBar |
| vtkPolyDataMapper2D * | ScalarBarMapper |
| vtkActor2D * | ScalarBarActor |
| vtkDataObject * | DistributionObj |
| VISU_XYPlotActor * | DistributionActor |
| vtkTimeStamp | BuildTime |
| int | LastSize [2] |
| int | LastOrigin [2] |
| VISU_ScalarBarActor::VISU_ScalarBarActor | ( | ) | [protected] |
References VISU_XYPlotActor.New(), and VTK_ORIENT_VERTICAL.
| VISU_ScalarBarActor::~VISU_ScalarBarActor | ( | ) | [protected] |
| VISU_ScalarBarActor.VISU_ScalarBarActor | ( | const VISU_ScalarBarActor & | ) | [private] |
| VISU_ScalarBarActor.vtkTypeRevisionMacro | ( | VISU_ScalarBarActor | , |
| vtkActor2D | |||
| ) |
| void VISU_ScalarBarActor.PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| VISU_ScalarBarActor * VISU_ScalarBarActor::New | ( | ) | [static] |
| int VISU_ScalarBarActor::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) |
References VISU_LookupTable.MapValue(), and VTK_ORIENT_VERTICAL.
| int VISU_ScalarBarActor.RenderTranslucentGeometry | ( | vtkViewport * | ) |
| int VISU_ScalarBarActor::RenderOverlay | ( | vtkViewport * | viewport | ) |
| void VISU_ScalarBarActor::ReleaseGraphicsResources | ( | vtkWindow * | win | ) | [virtual] |
| virtual void VISU_ScalarBarActor.SetLookupTable | ( | VISU_LookupTable * | ) | [virtual] |
| VISU_ScalarBarActor.vtkGetObjectMacro | ( | LookupTable | , |
| VISU_LookupTable | |||
| ) |
| VISU_ScalarBarActor.vtkSetClampMacro | ( | MaximumNumberOfColors | , |
| int | , | ||
| 2 | , | ||
| VTK_LARGE_INTEGER | |||
| ) |
| VISU_ScalarBarActor.vtkGetMacro | ( | MaximumNumberOfColors | , |
| int | |||
| ) |
| VISU_ScalarBarActor.vtkSetClampMacro | ( | NumberOfLabels | , |
| int | , | ||
| 0 | , | ||
| 64 | |||
| ) |
| VISU_ScalarBarActor.vtkGetMacro | ( | NumberOfLabels | , |
| int | |||
| ) |
| VISU_ScalarBarActor.vtkSetClampMacro | ( | Orientation | , |
| int | , | ||
| VTK_ORIENT_HORIZONTAL | , | ||
| VTK_ORIENT_VERTICAL | |||
| ) |
| VISU_ScalarBarActor.vtkGetMacro | ( | Orientation | , |
| int | |||
| ) |
| void VISU_ScalarBarActor.SetOrientationToHorizontal | ( | ) |
References VTK_ORIENT_HORIZONTAL.
| void VISU_ScalarBarActor.SetOrientationToVertical | ( | ) |
References VTK_ORIENT_VERTICAL.
| virtual void VISU_ScalarBarActor.SetTitleTextProperty | ( | vtkTextProperty * | p | ) | [virtual] |
| VISU_ScalarBarActor.vtkGetObjectMacro | ( | TitleTextProperty | , |
| vtkTextProperty | |||
| ) |
| virtual void VISU_ScalarBarActor.SetLabelTextProperty | ( | vtkTextProperty * | p | ) | [virtual] |
| VISU_ScalarBarActor.vtkGetObjectMacro | ( | LabelTextProperty | , |
| vtkTextProperty | |||
| ) |
| void VISU_ScalarBarActor::SetDistribution | ( | vtkDoubleArray * | d | ) | [virtual] |
| VISU_ScalarBarActor.vtkGetObjectMacro | ( | Distribution | , |
| vtkDoubleArray | |||
| ) |
| void VISU_ScalarBarActor::SetDistributionVisibility | ( | int | v | ) |
| VISU_ScalarBarActor.vtkGetMacro | ( | DistributionVisibility | , |
| int | |||
| ) |
| void VISU_ScalarBarActor.DistributionVisibilityOn | ( | ) |
| void VISU_ScalarBarActor.DistributionVisibilityOff | ( | ) |
| void VISU_ScalarBarActor::DebugOn | ( | ) |
| void VISU_ScalarBarActor::DebugOff | ( | ) |
| void VISU_ScalarBarActor::SetRatios | ( | int | titleRatioSize, |
| int | labelRatioWidth, | ||
| int | barRatioWidth, | ||
| int | barRatioHeight | ||
| ) |
| void VISU_ScalarBarActor::GetRatios | ( | int & | titleRatioSize, |
| int & | labelRatioWidth, | ||
| int & | barRatioWidth, | ||
| int & | barRatioHeight | ||
| ) |
| VISU_ScalarBarActor.vtkSetStringMacro | ( | LabelFormat | ) |
| VISU_ScalarBarActor.vtkGetStringMacro | ( | LabelFormat | ) |
| VISU_ScalarBarActor.vtkSetStringMacro | ( | Title | ) |
| VISU_ScalarBarActor.vtkGetStringMacro | ( | Title | ) |
| void VISU_ScalarBarActor::ShallowCopy | ( | vtkProp * | prop | ) |
References visu_table.a.
| void VISU_ScalarBarActor::AllocateAndSizeLabels | ( | int * | labelSize, |
| int * | size, | ||
| vtkViewport * | viewport, | ||
| vtkFloatingPointType * | range | ||
| ) | [protected, virtual] |
References VTK_ORIENT_VERTICAL.
| void VISU_ScalarBarActor::SizeTitle | ( | int * | titleSize, |
| int * | size, | ||
| vtkViewport * | viewport | ||
| ) | [private] |
References VTK_ORIENT_VERTICAL.
| void VISU_ScalarBarActor::SizeBar | ( | int & | barSizeWidth, |
| int & | barSizeHeight, | ||
| int * | size, | ||
| vtkViewport * | viewport, | ||
| vtkFloatingPointType * | range | ||
| ) | [private] |
References VTK_ORIENT_VERTICAL.
| void VISU_ScalarBarActor::PlaceDistribution | ( | vtkViewport * | viewport, |
| const int | barWidth, | ||
| const int | barHeight | ||
| ) | [private] |
References VISU_XYPLOT_BOTTOM, VISU_XYPLOT_LEFT, VISU_XYPLOT_RIGHT, VISU_XYPLOT_TOP, and VTK_ORIENT_VERTICAL.
| void VISU_ScalarBarActor.operator= | ( | const VISU_ScalarBarActor & | ) | [private] |
VISU_LookupTable* VISU_ScalarBarActor.LookupTable [protected] |
vtkTextProperty* VISU_ScalarBarActor.TitleTextProperty [protected] |
vtkTextProperty* VISU_ScalarBarActor.LabelTextProperty [protected] |
vtkDoubleArray* VISU_ScalarBarActor.Distribution [protected] |
For each color index the appropriate element of the array contains a number of cells for this color.
int VISU_ScalarBarActor.DistributionVisibility [protected] |
int VISU_ScalarBarActor.MaximumNumberOfColors [protected] |
int VISU_ScalarBarActor.NumberOfLabels [protected] |
int VISU_ScalarBarActor.NumberOfLabelsBuilt [protected] |
int VISU_ScalarBarActor.Orientation [protected] |
char* VISU_ScalarBarActor.Title [protected] |
char* VISU_ScalarBarActor.LabelFormat [protected] |
int VISU_ScalarBarActor.TitleRatioSize [protected] |
int VISU_ScalarBarActor.LabelRatioWidth [protected] |
int VISU_ScalarBarActor.BarRatioWidth [protected] |
int VISU_ScalarBarActor.BarRatioHeight [protected] |
vtkTextMapper** VISU_ScalarBarActor.TextMappers [protected] |
vtkTextMapper* VISU_ScalarBarActor.TitleMapper [private] |
vtkActor2D* VISU_ScalarBarActor.TitleActor [private] |
vtkActor2D** VISU_ScalarBarActor.TextActors [private] |
vtkPolyData* VISU_ScalarBarActor.ScalarBar [private] |
vtkPolyDataMapper2D* VISU_ScalarBarActor.ScalarBarMapper [private] |
vtkActor2D* VISU_ScalarBarActor.ScalarBarActor [private] |
vtkDataObject* VISU_ScalarBarActor.DistributionObj [private] |
vtkTimeStamp VISU_ScalarBarActor.BuildTime [private] |
int VISU_ScalarBarActor.LastSize[2] [private] |
int VISU_ScalarBarActor.LastOrigin[2] [private] |