35#ifndef vtkTexturedButtonRepresentation2D_h 
   36#define vtkTexturedButtonRepresentation2D_h 
   39#include "vtkInteractionWidgetsModule.h"  
   41VTK_ABI_NAMESPACE_BEGIN
 
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
 
~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...
 
void ReleaseGraphicsResources(vtkWindow *) override
Provide the necessary methods to satisfy the rendering API.
 
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.
 
void Highlight(int state) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
 
vtkImageData * GetButtonTexture(int i)
Add the ith texture corresponding to the ith button state.
 
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
Provide the necessary methods to satisfy the rendering API.
 
double * GetBounds() override
Provide the necessary methods to satisfy the rendering API.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
 
static vtkTexturedButtonRepresentation2D * New()
Instantiate the class.
 
vtkProperty2D * HoveringProperty
 
void BuildRepresentation() override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
 
vtkBalloonRepresentation * Balloon
 
vtkProperty2D * SelectingProperty
 
vtkTypeBool HasTranslucentPolygonalGeometry() override
Provide the necessary methods to satisfy the rendering API.
 
vtkBalloonRepresentation * GetBalloon()
Grab the underlying vtkBalloonRepresentation used to position and display the button texture.
 
void GetActors(vtkPropCollection *pc) override
Provide the necessary methods to satisfy the rendering API.
 
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