Go to the documentation of this file.
50 #ifndef vtkTexturedButtonRepresentation_h
51 #define vtkTexturedButtonRepresentation_h
53 #include "vtkInteractionWidgetsModule.h"
60 class vtkTextureArray;
98 vtkGetMacro(FollowCamera,
int);
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
static vtkTexturedButtonRepresentation * New()
Instantiate the class.
virtual void SetHoveringProperty(vtkProperty *p)
Specify the property to use when the hovering over the button.
virtual double * GetBounds()
Methods to make this class behave as a vtkProp.
void SetButtonGeometryConnection(vtkAlgorithmOutput *algOutput)
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...
virtual void ShallowCopy(vtkProp *prop)
Provide the necessary methods to satisfy the rendering API.
vtkProperty * SelectingProperty
vtkImageData * GetButtonTexture(int i)
void SetButtonTexture(int i, vtkImageData *image)
Add the ith texture corresponding to the ith button state.
window superclass for vtkRenderWindow
vtkPolyDataMapper * Mapper
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
handles properties associated with a texture map
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void PlaceWidget(double bounds[6])
vtkTexturedButtonRepresentation()
virtual int ComputeInteractionState(int X, int Y, int modify=0)
Provide the necessary methods to satisfy the vtkWidgetRepresentation API.
virtual void GetActors(vtkPropCollection *pc)
For some exporters and other other operations we must be able to collect all the actors or volumes.
vtkPolyData * GetButtonGeometry()
virtual void BuildRepresentation()
abstract specification for Viewports
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
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 Highlight(int state)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void SetSelectingProperty(vtkProperty *p)
Specify the property to use when selecting the button.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
represent surface properties of a geometric object
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
~vtkTexturedButtonRepresentation()
void CreateDefaultProperties()
void SetButtonGeometry(vtkPolyData *pd)
Set/Get the polydata which defines the button geometry.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
ray-cast cell picker for all kinds of Prop3Ds
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
vtkTextureArray * TextureArray
vtkProperty * HoveringProperty