|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkScalarBarActor * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
int | RenderOpaqueGeometry (vtkViewport *viewport) override |
| Draw the scalar bar and annotation text to the screen. More...
|
|
int | RenderTranslucentPolygonalGeometry (vtkViewport *) override |
|
int | RenderOverlay (vtkViewport *viewport) override |
|
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
| Does this prop have some translucent polygonal geometry? More...
|
|
void | ReleaseGraphicsResources (vtkWindow *) override |
| Release any graphics resources that are being consumed by this actor. More...
|
|
virtual void | GetScalarBarRect (int rect[4], vtkViewport *viewport) |
| Fills rect with the dimensions of the scalar bar in viewport coordinates. More...
|
|
virtual void | SetLookupTable (vtkScalarsToColors *) |
| Set/Get the lookup table to use. More...
|
|
virtual vtkScalarsToColors * | GetLookupTable () |
|
virtual void | SetUseOpacity (vtkTypeBool) |
| Should be display the opacity as well. More...
|
|
virtual vtkTypeBool | GetUseOpacity () |
|
virtual void | UseOpacityOn () |
|
virtual void | UseOpacityOff () |
|
virtual void | SetMaximumNumberOfColors (int) |
| Set/Get the maximum number of scalar bar segments to show. More...
|
|
virtual int | GetMaximumNumberOfColors () |
|
virtual void | SetNumberOfLabels (int) |
| Set/Get the number of tick labels to show. More...
|
|
virtual int | GetNumberOfLabels () |
|
virtual void | SetOrientation (int) |
| Control the orientation of the scalar bar. More...
|
|
virtual int | GetOrientation () |
|
void | SetOrientationToHorizontal () |
|
void | SetOrientationToVertical () |
|
virtual void | SetTitleTextProperty (vtkTextProperty *p) |
| Set/Get the title text property. More...
|
|
virtual vtkTextProperty * | GetTitleTextProperty () |
|
virtual void | SetLabelTextProperty (vtkTextProperty *p) |
| Set/Get the labels text property. More...
|
|
virtual vtkTextProperty * | GetLabelTextProperty () |
|
virtual void | SetAnnotationTextProperty (vtkTextProperty *p) |
| Set/Get the annotation text property. More...
|
|
virtual vtkTextProperty * | GetAnnotationTextProperty () |
|
virtual void | SetLabelFormat (const char *) |
| Set/Get the format with which to print the labels on the scalar bar. More...
|
|
virtual char * | GetLabelFormat () |
|
virtual void | SetTitle (const char *) |
| Set/Get the title of the scalar bar actor,. More...
|
|
virtual char * | GetTitle () |
|
virtual void | SetComponentTitle (const char *) |
| Set/Get the title for the component that is selected,. More...
|
|
virtual char * | GetComponentTitle () |
|
void | ShallowCopy (vtkProp *prop) override |
| Shallow copy of a scalar bar actor. More...
|
|
virtual void | SetTextureGridWidth (double) |
| Set the width of the texture grid. More...
|
|
virtual double | GetTextureGridWidth () |
|
virtual vtkTexturedActor2D * | GetTextureActor () |
| Get the texture actor. More...
|
|
virtual void | SetTextPosition (int) |
| Should the title and tick marks precede the scalar bar or succeed it? This is measured along the viewport coordinate direction perpendicular to the long axis of the scalar bar, not the reading direction. More...
|
|
virtual int | GetTextPosition () |
|
virtual void | SetTextPositionToPrecedeScalarBar () |
|
virtual void | SetTextPositionToSucceedScalarBar () |
|
virtual void | SetMaximumWidthInPixels (int) |
| Set/Get the maximum width and height in pixels. More...
|
|
virtual int | GetMaximumWidthInPixels () |
|
virtual void | SetMaximumHeightInPixels (int) |
|
virtual int | GetMaximumHeightInPixels () |
|
virtual void | SetAnnotationLeaderPadding (double) |
| Set/get the padding between the scalar bar and the text annotations. More...
|
|
virtual double | GetAnnotationLeaderPadding () |
|
virtual void | SetDrawAnnotations (vtkTypeBool) |
| Set/get whether text annotations should be rendered or not. More...
|
|
virtual vtkTypeBool | GetDrawAnnotations () |
|
virtual void | DrawAnnotationsOn () |
|
virtual void | DrawAnnotationsOff () |
|
virtual void | SetDrawNanAnnotation (vtkTypeBool) |
| Set/get whether the NaN annotation should be rendered or not. More...
|
|
virtual vtkTypeBool | GetDrawNanAnnotation () |
|
virtual void | DrawNanAnnotationOn () |
|
virtual void | DrawNanAnnotationOff () |
|
virtual void | SetDrawBelowRangeSwatch (bool) |
| Set/get whether the Below range swatch should be rendered or not. More...
|
|
virtual bool | GetDrawBelowRangeSwatch () |
|
virtual void | DrawBelowRangeSwatchOn () |
|
virtual void | DrawBelowRangeSwatchOff () |
|
virtual void | SetBelowRangeAnnotation (const char *) |
| Set/get the annotation text for "Below Range" values. More...
|
|
virtual char * | GetBelowRangeAnnotation () |
|
virtual void | SetDrawAboveRangeSwatch (bool) |
| Set/get whether the Above range swatch should be rendered or not. More...
|
|
virtual bool | GetDrawAboveRangeSwatch () |
|
virtual void | DrawAboveRangeSwatchOn () |
|
virtual void | DrawAboveRangeSwatchOff () |
|
virtual void | SetAboveRangeAnnotation (const char *) |
| Set/get the annotation text for "Above Range Swatch" values. More...
|
|
virtual char * | GetAboveRangeAnnotation () |
|
virtual void | SetFixedAnnotationLeaderLineColor (vtkTypeBool) |
| Set/get how leader lines connecting annotations to values should be colored. More...
|
|
virtual vtkTypeBool | GetFixedAnnotationLeaderLineColor () |
|
virtual void | FixedAnnotationLeaderLineColorOn () |
|
virtual void | FixedAnnotationLeaderLineColorOff () |
|
virtual void | SetNanAnnotation (const char *) |
| Set/get the annotation text for "NaN" values. More...
|
|
virtual char * | GetNanAnnotation () |
|
virtual void | SetAnnotationTextScaling (vtkTypeBool) |
| Set/get whether annotation labels should be scaled with the viewport. More...
|
|
virtual vtkTypeBool | GetAnnotationTextScaling () |
|
virtual void | AnnotationTextScalingOn () |
|
virtual void | AnnotationTextScalingOff () |
|
virtual void | SetDrawBackground (vtkTypeBool) |
| Set/Get whether a background should be drawn around the scalar bar. More...
|
|
virtual vtkTypeBool | GetDrawBackground () |
|
virtual void | DrawBackgroundOn () |
|
virtual void | DrawBackgroundOff () |
|
virtual void | SetDrawFrame (vtkTypeBool) |
| Set/Get whether a frame should be drawn around the scalar bar. More...
|
|
virtual vtkTypeBool | GetDrawFrame () |
|
virtual void | DrawFrameOn () |
|
virtual void | DrawFrameOff () |
|
virtual void | SetDrawColorBar (vtkTypeBool) |
| Set/Get whether the color bar should be drawn. More...
|
|
virtual vtkTypeBool | GetDrawColorBar () |
|
virtual void | DrawColorBarOn () |
|
virtual void | DrawColorBarOff () |
|
virtual void | SetDrawTickLabels (vtkTypeBool) |
| Set/Get whether the tick labels should be drawn. More...
|
|
virtual vtkTypeBool | GetDrawTickLabels () |
|
virtual void | DrawTickLabelsOn () |
|
virtual void | DrawTickLabelsOff () |
|
virtual void | SetBackgroundProperty (vtkProperty2D *p) |
| Set/Get the background property. More...
|
|
virtual vtkProperty2D * | GetBackgroundProperty () |
|
virtual void | SetFrameProperty (vtkProperty2D *p) |
| Set/Get the frame property. More...
|
|
virtual vtkProperty2D * | GetFrameProperty () |
|
virtual int | GetTextPad () |
| Set/get the amount of padding around text boxes. More...
|
|
virtual void | SetTextPad (int) |
|
virtual int | GetVerticalTitleSeparation () |
| Set/get the margin in pixels, between the title and the bar, when the Orientation is vertical. More...
|
|
virtual void | SetVerticalTitleSeparation (int) |
|
virtual double | GetBarRatio () |
| Set/get the thickness of the color bar relative to the widget frame. More...
|
|
virtual void | SetBarRatio (double) |
|
virtual double | GetTitleRatio () |
| Set/get the ratio of the title height to the tick label height (used only when the Orientation is horizontal). More...
|
|
virtual void | SetTitleRatio (double) |
|
virtual void | SetUnconstrainedFontSize (bool) |
| Set/Get whether the font size of title and labels is unconstrained. More...
|
|
virtual bool | GetUnconstrainedFontSize () |
|
virtual void | UnconstrainedFontSizeOn () |
|
virtual void | UnconstrainedFontSizeOff () |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
vtkActor2D * | NewInstance () const |
|
int | RenderOverlay (vtkViewport *viewport) override |
| Support the standard render methods. More...
|
|
int | RenderOpaqueGeometry (vtkViewport *viewport) override |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves. More...
|
|
int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override |
|
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
| Does this prop have some translucent polygonal geometry? More...
|
|
virtual void | SetMapper (vtkMapper2D *mapper) |
| Set/Get the vtkMapper2D which defines the data to be drawn. More...
|
|
virtual vtkMapper2D * | GetMapper () |
|
virtual void | SetLayerNumber (int) |
| Set/Get the layer number in the overlay planes into which to render. More...
|
|
virtual int | GetLayerNumber () |
|
vtkProperty2D * | GetProperty () |
| Returns this actor's vtkProperty2D. More...
|
|
virtual void | SetProperty (vtkProperty2D *) |
| Set this vtkProp's vtkProperty2D. More...
|
|
virtual vtkCoordinate * | GetPositionCoordinate () |
| Get the PositionCoordinate instance of vtkCoordinate. More...
|
|
virtual void | SetPosition (float x[2]) |
|
virtual void | SetPosition (float x, float y) |
|
virtual float * | GetPosition () |
|
void | SetDisplayPosition (int, int) |
| Set the Prop2D's position in display coordinates. More...
|
|
virtual vtkCoordinate * | GetPosition2Coordinate () |
| Access the Position2 instance variable. More...
|
|
virtual void | SetPosition2 (float x[2]) |
|
virtual void | SetPosition2 (float x, float y) |
|
virtual float * | GetPosition2 () |
|
void | SetWidth (double w) |
| Set/Get the height and width of the Actor2D. More...
|
|
double | GetWidth () |
|
void | SetHeight (double h) |
|
double | GetHeight () |
|
vtkMTimeType | GetMTime () override |
| Return this objects MTime. More...
|
|
void | GetActors2D (vtkPropCollection *pc) override |
| For some exporters and other other operations we must be able to collect all the actors or volumes. More...
|
|
void | ShallowCopy (vtkProp *prop) override |
| Shallow copy of this vtkActor2D. More...
|
|
void | ReleaseGraphicsResources (vtkWindow *) override |
| Release any graphics resources that are being consumed by this actor. More...
|
|
virtual vtkCoordinate * | GetActualPositionCoordinate (void) |
| Return the actual vtkCoordinate reference that the mapper should use to position the actor. More...
|
|
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
| Return the actual vtkCoordinate reference that the mapper should use to position the actor. More...
|
|
vtkProp * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | GetActors (vtkPropCollection *) |
| For some exporters and other other operations we must be able to collect all the actors or volumes. More...
|
|
virtual void | GetVolumes (vtkPropCollection *) |
|
virtual void | SetVisibility (vtkTypeBool) |
| Set/Get visibility of this vtkProp. More...
|
|
virtual vtkTypeBool | GetVisibility () |
|
virtual void | VisibilityOn () |
|
virtual void | VisibilityOff () |
|
virtual void | SetPickable (vtkTypeBool) |
| Set/Get the pickable instance variable. More...
|
|
virtual vtkTypeBool | GetPickable () |
|
virtual void | PickableOn () |
|
virtual void | PickableOff () |
|
virtual void | Pick () |
| Method fires PickEvent if the prop is picked. More...
|
|
virtual void | SetDragable (vtkTypeBool) |
| Set/Get the value of the dragable instance variable. More...
|
|
virtual vtkTypeBool | GetDragable () |
|
virtual void | DragableOn () |
|
virtual void | DragableOff () |
|
virtual vtkMTimeType | GetRedrawMTime () |
| Return the mtime of anything that would cause the rendered image to appear differently. More...
|
|
virtual void | SetUseBounds (bool) |
| In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). More...
|
|
virtual bool | GetUseBounds () |
|
virtual void | UseBoundsOn () |
|
virtual void | UseBoundsOff () |
|
virtual double * | GetBounds () |
| Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). More...
|
|
virtual void | InitPathTraversal () |
| vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). More...
|
|
virtual vtkAssemblyPath * | GetNextPath () |
|
virtual int | GetNumberOfPaths () |
|
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
| These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering. More...
|
|
virtual vtkMatrix4x4 * | GetMatrix () |
|
virtual vtkInformation * | GetPropertyKeys () |
| Set/Get property keys. More...
|
|
virtual void | SetPropertyKeys (vtkInformation *keys) |
|
virtual bool | HasKeys (vtkInformation *requiredKeys) |
| Tells if the prop has all the required keys. More...
|
|
virtual int | RenderVolumetricGeometry (vtkViewport *) |
|
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
| Render the opaque geometry only if the prop has all the requiredKeys. More...
|
|
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
| Render the translucent polygonal geometry only if the prop has all the requiredKeys. More...
|
|
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
| Render the volumetric geometry only if the prop has all the requiredKeys. More...
|
|
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
| Render in the overlay of the viewport only if the prop has all the requiredKeys. More...
|
|
virtual double | GetEstimatedRenderTime (vtkViewport *) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS The EstimatedRenderTime may be used to select between different props, for example in LODProp it is used to select the level-of-detail. More...
|
|
virtual double | GetEstimatedRenderTime () |
|
virtual void | SetEstimatedRenderTime (double t) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS This method is used by, for example, the vtkLODProp3D in order to initialize the estimated render time at start-up to some user defined value. More...
|
|
virtual void | RestoreEstimatedRenderTime () |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS When the EstimatedRenderTime is first set to 0.0 (in the SetAllocatedRenderTime method) the old value is saved. More...
|
|
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS This method is intended to allow the renderer to add to the EstimatedRenderTime in props that require information that the renderer has in order to do this. More...
|
|
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS The renderer may use the allocated rendering time to determine how to render this actor. More...
|
|
virtual double | GetAllocatedRenderTime () |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. More...
|
|
void | SetRenderTimeMultiplier (double t) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Get/Set the multiplier for the render time. More...
|
|
virtual double | GetRenderTimeMultiplier () |
|
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used to construct assembly paths and perform part traversal. More...
|
|
virtual bool | GetSupportsSelection () |
| WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection. More...
|
|
virtual void | ProcessSelectorPixelBuffers (vtkHardwareSelector *, std::vector< unsigned int > &) |
| allows a prop to update a selections color buffers More...
|
|
virtual int | GetNumberOfConsumers () |
| Get the number of consumers. More...
|
|
void | AddConsumer (vtkObject *c) |
| Add or remove or get or check a consumer,. More...
|
|
void | RemoveConsumer (vtkObject *c) |
|
vtkObject * | GetConsumer (int i) |
|
int | IsConsumer (vtkObject *c) |
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on. More...
|
|
virtual void | DebugOff () |
| Turn debugging output off. More...
|
|
bool | GetDebug () |
| Get the value of the debug flag. More...
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More...
|
|
virtual void | Modified () |
| Update the modification time for this object. More...
|
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
| Return the class name as a string. More...
|
|
virtual void | Delete () |
| Delete a VTK object. More...
|
|
virtual void | FastDelete () |
| Delete a reference to this object. More...
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream. More...
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More...
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More...
|
|
int | GetReferenceCount () |
| Return the current reference count of this object. More...
|
|
void | SetReferenceCount (int) |
| Sets the reference count. More...
|
|
void | PrintRevisions (ostream &) |
| Legacy. More...
|
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkScalarBarActor () |
|
| ~vtkScalarBarActor () override |
|
virtual void | RebuildLayout (vtkViewport *viewport) |
| Called from within RenderOpaqueGeometry when the internal state members need to be updated before rendering. More...
|
|
virtual int | RebuildLayoutIfNeeded (vtkViewport *viewport) |
| Calls RebuildLayout if it is needed such as when positions etc have changed. More...
|
|
virtual void | FreeLayoutStorage () |
| Free internal storage used by the previous layout. More...
|
|
virtual void | ComputeFrame () |
| If the scalar bar should be inset into a frame or rendered with a solid background, this method will inset the outermost scalar bar rectangle by a small amount to avoid having the scalar bar illustration overlap any edges. More...
|
|
virtual void | ComputeScalarBarThickness () |
| Determine how thick the scalar bar should be (on an axis perpendicular to the direction in which scalar values vary). More...
|
|
virtual void | ComputeSwatchPad () |
| Compute a correct SwatchPad. More...
|
|
virtual void | LayoutNanSwatch () |
|
virtual void | LayoutBelowRangeSwatch () |
| Determine the size of the Below Range if it is to be rendered. More...
|
|
virtual void | LayoutAboveRangeSwatch () |
| Determine the size of the Above Range if it is to be rendered. More...
|
|
virtual void | LayoutAboveRangeSwatchPosn () |
| Determine the position of the Above Range if it is to be rendered. More...
|
|
virtual void | PrepareTitleText () |
| Set the title actor's input to the latest title (and subtitle) text. More...
|
|
virtual void | LayoutTitle () |
| Determine the position and size of the scalar bar title box. More...
|
|
virtual void | LayoutForUnconstrainedFont () |
| This method sets the title and tick-box size and position for the UnconstrainedFontSize mode. More...
|
|
virtual void | ComputeScalarBarLength () |
| Determine how long the scalar bar should be (on an axis parallel to the direction in which scalar values vary). More...
|
|
virtual void | LayoutTicks () |
| Determine the size and placement of any tick marks to be rendered. More...
|
|
virtual void | LayoutAnnotations () |
| This method must lay out annotation text and leader lines so they do not overlap. More...
|
|
virtual void | ConfigureAnnotations () |
| Generate/configure the annotation labels using the laid-out geometry. More...
|
|
virtual void | ConfigureFrame () |
| Generate/configure the representation of the frame from laid-out geometry. More...
|
|
virtual void | DrawBoxes () |
| For debugging, add placement boxes to the frame polydata. More...
|
|
virtual void | ConfigureScalarBar () |
| Generate/configure the scalar bar representation from laid-out geometry. More...
|
|
virtual void | ConfigureTitle () |
| Generate/configure the title actor using the laid-out geometry. More...
|
|
virtual void | ConfigureTicks () |
| Generate/configure the tick-mark actors using the laid-out geometry. More...
|
|
virtual void | ConfigureNanSwatch () |
| Generate/configure the NaN swatch using the laid-out geometry. More...
|
|
virtual void | ConfigureAboveBelowRangeSwatch (bool above) |
| Generate/configure the above/below range swatch using the laid-out geometry. More...
|
|
virtual void | EditAnnotations () |
| Subclasses may override this method to alter this->P->Labels, allowing the addition and removal of annotations. More...
|
|
virtual void | SizeTitle (double *titleSize, int *size, vtkViewport *viewport) |
| Compute the best size for the legend title. More...
|
|
int | MapAnnotationLabels (vtkScalarsToColors *lkup, double start, double delta, const double *range) |
| Allocate actors for lookup table annotations and position them properly. More...
|
|
int | PlaceAnnotationsVertically (double barX, double barY, double barWidth, double barHeight, double delta, double pad) |
| This method is called by ConfigureAnnotationLabels when Orientation is VTK_ORIENT_VERTICAL. More...
|
|
int | PlaceAnnotationsHorizontally (double barX, double barY, double barWidth, double barHeight, double delta, double pad) |
| This method is called by ConfigureAnnotationLabels when Orientation is VTK_ORIENT_HORIZONTAL. More...
|
|
| vtkActor2D () |
|
| ~vtkActor2D () override |
|
| vtkProp () |
|
| ~vtkProp () override |
|
| vtkObject () |
|
| ~vtkObject () override |
|
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events. More...
|
|
void | InternalReleaseFocus () |
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | CollectRevisions (ostream &) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
Create a scalar bar with labels.
vtkScalarBarActor creates a scalar bar with tick marks. A scalar bar is a legend that indicates to the viewer the correspondence between color value and data value. The legend consists of a rectangular bar made of rectangular pieces each colored a constant value. Since vtkScalarBarActor is a subclass of vtkActor2D, it is drawn in the image plane (i.e., in the renderer's viewport) on top of the 3D graphics window.
To use vtkScalarBarActor you must associate a vtkScalarsToColors (or subclass) with it. The lookup table defines the colors and the range of scalar values used to map scalar data. Typically, the number of colors shown in the scalar bar is not equal to the number of colors in the lookup table, in which case sampling of the lookup table is performed.
Other optional capabilities include specifying the fraction of the viewport size (both x and y directions) which will control the size of the scalar bar and the number of tick labels. The actual position of the scalar bar on the screen is controlled by using the vtkActor2D::SetPosition() method (by default the scalar bar is centered in the viewport). Other features include the ability to orient the scalar bar horizontally of vertically and controlling the format (printf style) with which to print the labels on the scalar bar. Also, the vtkScalarBarActor's property is applied to the scalar bar and annotations (including layer, and compositing operator).
Set the text property/attributes of the title and the labels through the vtkTextProperty objects associated to this actor.
- Warning
- If a vtkLogLookupTable is specified as the lookup table to use, then the labels are created using a logarithmic scale.
- See also
- vtkActor2D vtkTextProperty vtkTextMapper vtkPolyDataMapper2D
- Tests:
- vtkScalarBarActor (Tests)
Definition at line 80 of file vtkScalarBarActor.h.