45#ifndef vtkScivisScalarBars_h
46#define vtkScivisScalarBars_h
49#include "vtkViewsScivisModule.h"
52VTK_ABI_NAMESPACE_BEGIN
75 vtkBooleanMacro(AutoVisibility,
bool);
89 vtkBooleanMacro(Draggable,
bool);
149 void UpdateWidgets();
154 void OnDragged(
vtkObject* caller,
unsigned long event,
void* data);
164 Internals* Implementation;
a simple class to control print indentation
Create a scalar bar with labels.
const char * GetArrayName(int index)
What the bar at index is labelled with, in array-name order.
int GetNumberOfBars()
How many bars there are, which is how many arrays the visible representations are drawing between the...
vtkScalarBarActor * GetActor(int index)
The bar at index, or the one labelled with arrayName drawn from fieldAssoc.
vtkMTimeType GetMTime() override
Return this object's modified time.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
friend class vtkScivisView
void SetAutoVisibility(bool val)
Whether a bar is kept for each array being drawn.
bool GetDraggable()
Whether the user can pick a bar up and move it.
int GetFieldAssociation(int index)
What the bar at index is labelled with, in array-name order.
void SetDraggable(bool val)
Whether the user can pick a bar up and move it.
~vtkScivisScalarBars() override
static vtkScivisScalarBars * New()
vtkScalarBarActor * GetActor(const char *arrayName, int fieldAssoc)
The bar at index, or the one labelled with arrayName drawn from fieldAssoc.
vtkScalarBarWidget * GetWidget(int index)
The widget that makes the bar at index draggable, for its interaction and its representation.
bool GetAutoVisibility()
Whether a bar is kept for each array being drawn.
A ready-made rendering assembly for scientific visualization.
a weak reference to a vtkObject.
vtkTypeUInt32 vtkMTimeType