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