Go to the documentation of this file.
47 #ifndef vtkTexturedButtonRepresentation2D_h
48 #define vtkTexturedButtonRepresentation2D_h
50 #include "vtkInteractionWidgetsModule.h"
55 class vtkTextureArray;
virtual void SetHoveringProperty(vtkProperty2D *p)
Specify the property to use when the hovering over the button.
vtkImageData * GetButtonTexture(int i)
~vtkTexturedButtonRepresentation2D() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetProperty(vtkProperty2D *p)
Specify the property to use when the button is to appear "normal" i.e., the mouse pointer is not hove...
vtkBalloonRepresentation * Balloon
vtkBalloonRepresentation * GetBalloon()
Grab the underlying vtkBalloonRepresentation used to position and display the button texture.
void CreateDefaultProperties()
vtkTexturedButtonRepresentation2D()
void ShallowCopy(vtkProp *prop) override
Provide the necessary methods to satisfy the rendering API.
vtkProperty2D * SelectingProperty
vtkTextureArray * TextureArray
void Highlight(int state) override
virtual void PlaceWidget(double anchor[3], int size[2])
This alternative PlaceWidget() method can be used to anchor the button to a 3D point.
window superclass for vtkRenderWindow
void PlaceWidget(double bounds[6]) override
Conventional PlaceWidget() method to satisfy the vtkWidgetRepresentation API.
topologically and geometrically regular array of data
a simple class to control print indentation
void SetButtonTexture(int i, vtkImageData *image)
Add the ith texture corresponding to the ith button state.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkProperty2D * HoveringProperty
abstract specification for Viewports
represent the vtkBalloonWidget
double * GetBounds() override
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
abstract superclass for all actors, volumes and annotations
int ComputeInteractionState(int X, int Y, int modify=0) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
represent surface properties of a 2D image
void BuildRepresentation() override
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void SetSelectingProperty(vtkProperty2D *p)
Specify the property to use when selecting the button.
Proxy object to connect input/output ports.
static vtkTexturedButtonRepresentation2D * New()
Instantiate the class.
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
int RenderOverlay(vtkViewport *) override
void GetActors(vtkPropCollection *pc) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
defines a representation for a vtkButtonWidget