Go to the documentation of this file.
50 #ifndef vtkTexturedButtonRepresentation_h
51 #define vtkTexturedButtonRepresentation_h
53 #include "vtkInteractionWidgetsModule.h"
60 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
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)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double * GetBounds() override
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
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
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkImageData * GetButtonTexture(int i)
void Highlight(int state) override
void SetButtonTexture(int i, vtkImageData *image)
Add the ith texture corresponding to the ith button state.
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkPolyDataMapper * Mapper
handles properties associated with a texture map
void PlaceWidget(double bounds[6]) override
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()
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
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
represent surface properties of a geometric object
void CreateDefaultProperties()
void BuildRepresentation() override
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
For some exporters and other other operations we must be able to collect all the actors or volumes.
vtkTextureArray * TextureArray
vtkProperty * HoveringProperty