43 #ifndef vtkScalarBarRepresentation_h
44 #define vtkScalarBarRepresentation_h
46 #include "vtkInteractionWidgetsModule.h"
71 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
72 void GetSize(
double size[2]) VTK_OVERRIDE
82 void SetVisibility(
int) VTK_OVERRIDE;
84 void ReleaseGraphicsResources(
vtkWindow *window) VTK_OVERRIDE;
86 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
87 int RenderTranslucentPolygonalGeometry(
vtkViewport*) VTK_OVERRIDE;
88 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
97 vtkGetMacro(AutoOrient,
bool)
104 void SetOrientation(
int orient);
105 int GetOrientation();
110 ~vtkScalarBarRepresentation() VTK_OVERRIDE;
116 void SwapOrientation();
122 vtkScalarBarRepresentation(const vtkScalarBarRepresentation &) VTK_DELETE_FUNCTION;
123 void operator=(const vtkScalarBarRepresentation &) VTK_DELETE_FUNCTION;
126 #endif //vtkScalarBarRepresentation_h
virtual int GetVisibility()
Set/Get visibility of this vtkProp.
abstract specification for Viewports
Create a scalar bar with labels.
static vtkBorderRepresentation * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
window superclass for vtkRenderWindow
void BuildRepresentation() override
Subclasses should implement these methods.
a simple class to control print indentation
represent scalar bar for vtkScalarBarWidget
represent a vtkBorderWidget
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.