43#ifndef vtkScalarBarRepresentation_h
44#define vtkScalarBarRepresentation_h
47#include "vtkInteractionWidgetsModule.h"
99 vtkSetMacro(AutoOrient,
bool);
100 vtkGetMacro(AutoOrient,
bool);
represent a vtkBorderWidget
a simple class to control print indentation
Create a scalar bar with labels.
represent scalar bar for vtkScalarBarWidget
~vtkScalarBarRepresentation() override
void SwapOrientation()
Change horizontal <--> vertical orientation, rotate the corners of the bar to preserve size,...
virtual void SetScalarBarActor(vtkScalarBarActor *)
The prop that is placed in the renderer.
vtkTypeBool GetVisibility() override
These methods are necessary to make this representation behave as a vtkProp.
vtkScalarBarActor * ScalarBarActor
void BuildRepresentation() override
Satisfy the superclass' API.
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
vtkScalarBarRepresentation()
void GetSize(double size[2]) override
Satisfy the superclass' API.
void SetVisibility(vtkTypeBool) override
These methods are necessary to make this representation behave as a vtkProp.
void ReleaseGraphicsResources(vtkWindow *window) override
These methods are necessary to make this representation behave as a vtkProp.
void WidgetInteraction(double eventPos[2]) override
Satisfy the superclass' API.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
static vtkScalarBarRepresentation * New()
int GetOrientation()
Get/Set the orientation.
void SetOrientation(int orient)
Get/Set the orientation.
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
void GetActors2D(vtkPropCollection *collection) override
These methods are necessary to make this representation behave as a vtkProp.
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
abstract specification for Viewports
window superclass for vtkRenderWindow