Go to the documentation of this file.
58 #ifndef vtkScalarBarActor_h
59 #define vtkScalarBarActor_h
76 #define VTK_ORIENT_HORIZONTAL 0
77 #define VTK_ORIENT_VERTICAL 1
199 enum { PrecedeScalarBar = 0, SucceedScalarBar };
477 double barX,
double barY,
double barWidth,
double barHeight,
478 double delta,
double pad);
484 double barX,
double barY,
double barWidth,
double barHeight,
485 double delta,
double pad);
vtkPolyData * TexturePolyData
Polygon colored when UseOpacity is true.
#define vtkGetObjectMacro(name, type)
draw vtkPolyData onto the image plane
virtual void LayoutTitle()
int PlaceAnnotationsHorizontally(double barX, double barY, double barWidth, double barHeight, double delta, double pad)
Internal state for the scalar bar actor shared with subclasses.
int RenderOverlay(vtkViewport *viewport)
virtual void SetTextPositionToPrecedeScalarBar()
actor that draws 2D data with texture support
vtkScalarsToColors * LookupTable
The object this actor illustrates.
void ShallowCopy(vtkProp *prop)
vtkPolyDataMapper2D * BackgroundMapper
Mapper for Background.
#define VTK_ORIENT_HORIZONTAL
vtkPolyDataMapper2D * ScalarBarMapper
Mapper for ScalarBar.
virtual void FreeLayoutStorage()
virtual void ComputeScalarBarThickness()
vtkActor2D * FrameActor
Actor for Frame.
virtual void ConfigureTitle()
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
int AnnotationTextScaling
virtual void ComputeFrame()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
int VerticalTitleSeparation
int MaximumHeightInPixels
window superclass for vtkRenderWindow
vtkActor2D * BackgroundActor
Actor for Background.
vtkTexture * Texture
Color data for TexturePolyData.
int FixedAnnotationLeaderLineColor
#define vtkSetClampMacro(name, type, min, max)
handles properties associated with a texture map
virtual void SetFrameProperty(vtkProperty2D *p)
virtual void ConfigureFrame()
void PrintSelf(ostream &os, vtkIndent indent)
virtual void LayoutNanSwatch()
virtual void SizeTitle(double *titleSize, int *size, vtkViewport *viewport)
int RenderOpaqueGeometry(vtkViewport *viewport)
An actor that displays text. Scaled or unscaled.
a simple class to control print indentation
#define vtkSetStringMacro(name)
vtkScalarBarActorInternal * P
Containers shared with subclasses.
vtkActor2D * ScalarBarActor
Actor for ScalarBar.
virtual void ComputeScalarBarLength()
double AnnotationLeaderPadding
vtkTextProperty * LabelTextProperty
Font for tick+annotation labels.
static vtkScalarBarActor * New()
#define vtkGetMacro(name, type)
Superclass for mapping scalar values to colors.
vtkGetStringMacro(ExtensionsString)
vtkPolyData * ScalarBar
Polygon(s) colored by LookupTable.
abstract specification for Viewports
virtual void ConfigureAnnotations()
virtual int HasTranslucentPolygonalGeometry()
virtual void ConfigureNanSwatch()
vtkProperty2D * BackgroundProperty
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkPolyData * Background
Polygon used to fill the background.
virtual void SetLookupTable(vtkScalarsToColors *)
vtkSetMacro(IgnoreDriverBugs, bool)
abstract superclass for all actors, volumes and annotations
vtkTimeStamp BuildTime
Internal state used for rendering.
virtual void LayoutTicks()
represent surface properties of a 2D image
vtkTextProperty * TitleTextProperty
Font for the legend title.
int MaximumNumberOfColors
User-changeable settings.
a actor that draws 2D data
virtual void LayoutAnnotations()
virtual void PrepareTitleText()
virtual void SetBackgroundProperty(vtkProperty2D *p)
vtkTextActor * TitleActor
The legend title text renderer.
virtual void ConfigureTicks()
vtkPolyDataMapper2D * FrameMapper
Mapper for Frame.
virtual void GetScalarBarRect(int rect[4], vtkViewport *viewport)
virtual void SetTextPositionToSucceedScalarBar()
void SetOrientationToVertical()
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_ORIENT_VERTICAL
virtual void SetLabelTextProperty(vtkTextProperty *p)
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkPolyData * Frame
Polyline used to highlight frame.
virtual void RebuildLayout(vtkViewport *viewport)
void SetOrientationToHorizontal()
int PlaceAnnotationsVertically(double barX, double barY, double barWidth, double barHeight, double delta, double pad)
vtkProperty2D * FrameProperty
Create a scalar bar with labels.
vtkTexturedActor2D * TextureActor
Actor for TexturePolyData.
virtual void ConfigureScalarBar()
virtual void SetTitleTextProperty(vtkTextProperty *p)
virtual void EditAnnotations()
#define VTKRENDERINGANNOTATION_EXPORT
int MapAnnotationLabels(vtkScalarsToColors *lkup, double start, double delta, const double *range)