50#ifndef vtkTexturedButtonRepresentation_h
51#define vtkTexturedButtonRepresentation_h
54#include "vtkInteractionWidgetsModule.h"
144 virtual void PlaceWidget(
double scale,
double point[3],
double normal[3]);
represents an object (geometry & properties) in a rendered scene
Proxy object to connect input/output ports.
ray-cast cell picker for all kinds of Prop3Ds
a subclass of actor that always faces the camera
topologically and geometrically regular array of data
a simple class to control print indentation
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
handles properties associated with a texture map
void SetButtonGeometryConnection(vtkAlgorithmOutput *algOutput)
Set/Get the polydata which defines the button geometry.
static vtkTexturedButtonRepresentation * New()
Instantiate the class.
vtkTexturedButtonRepresentation()
void Highlight(int state) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
void CreateDefaultProperties()
void ReleaseGraphicsResources(vtkWindow *) override
Provide the necessary methods to satisfy the rendering API.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of the class.
vtkPolyDataMapper * Mapper
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.
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
virtual void PlaceWidget(double scale, double point[3], double normal[3])
Alternative method for placing a button at a given position (defined by point[3]); at a given orienta...
vtkProperty * HoveringProperty
int RenderOpaqueGeometry(vtkViewport *) override
Provide the necessary methods to satisfy the rendering API.
vtkImageData * GetButtonTexture(int i)
Add the ith texture corresponding to the ith button state.
vtkTextureArray * TextureArray
int ComputeInteractionState(int X, int Y, int modify=0) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Provide the necessary methods to satisfy the rendering API.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Provide the necessary methods to satisfy the rendering API.
void BuildRepresentation() override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
void SetButtonTexture(int i, vtkImageData *image)
Add the ith texture corresponding to the ith button state.
~vtkTexturedButtonRepresentation() override
void PlaceWidget(double bounds[6]) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
virtual void SetSelectingProperty(vtkProperty *p)
Specify the property to use when selecting the button.
virtual void SetHoveringProperty(vtkProperty *p)
Specify the property to use when the hovering over the button.
double * GetBounds() override
Provide the necessary methods to satisfy the rendering API.
vtkProperty * SelectingProperty
virtual void SetProperty(vtkProperty *p)
Specify the property to use when the button is to appear "normal" i.e., the mouse pointer is not hove...
vtkPolyData * GetButtonGeometry()
Set/Get the polydata which defines the button geometry.
void SetButtonGeometry(vtkPolyData *pd)
Set/Get the polydata which defines the button geometry.
abstract specification for Viewports
window superclass for vtkRenderWindow