 |
VTK
9.1.0
|
Go to the documentation of this file.
47 #ifndef vtkTexturedButtonRepresentation_h
48 #define vtkTexturedButtonRepresentation_h
51 #include "vtkInteractionWidgetsModule.h"
57 class vtkTextureArray;
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
static vtkTexturedButtonRepresentation * New()
Instantiate the class.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Provide the necessary methods to satisfy the rendering API.
virtual void SetHoveringProperty(vtkProperty *p)
Specify the property to use when the hovering over the button.
void ShallowCopy(vtkProp *prop) override
Provide the necessary methods to satisfy the rendering API.
void SetButtonGeometryConnection(vtkAlgorithmOutput *algOutput)
Set/Get the polydata which defines the button geometry.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of the class.
double * GetBounds() override
Provide the necessary methods to satisfy the rendering API.
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...
~vtkTexturedButtonRepresentation() override
vtkProperty * SelectingProperty
vtkTypeBool HasTranslucentPolygonalGeometry() override
Provide the necessary methods to satisfy the rendering API.
vtkImageData * GetButtonTexture(int i)
Add the ith texture corresponding to the ith button state.
void Highlight(int state) 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.
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Provide the necessary methods to satisfy the rendering API.
vtkPolyDataMapper * Mapper
handles properties associated with a texture map
void PlaceWidget(double bounds[6]) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
int ComputeInteractionState(int X, int Y, int modify=0) override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
vtkTexturedButtonRepresentation()
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
vtkPolyData * GetButtonGeometry()
Set/Get the polydata which defines the button geometry.
abstract specification for Viewports
abstract superclass for all actors, volumes and annotations
defines a representation for a vtkButtonWidget
Proxy object to connect input/output ports.
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...
virtual void SetSelectingProperty(vtkProperty *p)
Specify the property to use when selecting the button.
concrete dataset represents vertices, lines, polygons, and triangle strips
int RenderOpaqueGeometry(vtkViewport *) override
Provide the necessary methods to satisfy the rendering API.
represent surface properties of a geometric object
void CreateDefaultProperties()
void BuildRepresentation() override
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
void SetButtonGeometry(vtkPolyData *pd)
Set/Get the polydata which defines the button geometry.
ray-cast cell picker for all kinds of Prop3Ds
void GetActors(vtkPropCollection *pc) override
Provide the necessary methods to satisfy the rendering API.
vtkTextureArray * TextureArray
vtkProperty * HoveringProperty