46 #ifndef vtkScalarBarRepresentation_h 47 #define vtkScalarBarRepresentation_h 49 #include "vtkInteractionWidgetsModule.h" 76 {size[0]=2.0; size[1]=2.0;}
99 vtkSetMacro(AutoOrient,
bool)
100 vtkGetMacro(AutoOrient,
bool)
107 void SetOrientation(
int orient);
108 int GetOrientation();
119 void SwapOrientation();
129 #endif //vtkScalarBarRepresentation_h int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void WidgetInteraction(double eventPos[2]) override
Subclasses should implement these methods.
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
abstract specification for Viewports
vtkScalarBarActor * ScalarBarActor
Create a scalar bar with labels.
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
virtual vtkTypeBool GetVisibility()
Set/Get visibility of this vtkProp.
virtual void SetVisibility(vtkTypeBool)
Set/Get visibility of this vtkProp.
static vtkBorderRepresentation * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
window superclass for vtkRenderWindow
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void BuildRepresentation() override
Subclasses should implement these methods.
a simple class to control print indentation
represent scalar bar for vtkScalarBarWidget
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
represent a vtkBorderWidget
void GetSize(double size[2]) override
Satisfy the superclass' API.