50 #ifndef vtkTexturedButtonRepresentation_h
51 #define vtkTexturedButtonRepresentation_h
53 #include "vtkInteractionWidgetsModule.h"
60 class vtkTextureArray;
98 vtkGetMacro(FollowCamera,
int);
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
abstract superclass for all actors, volumes and annotations
represent surface properties of a geometric object
handles properties associated with a texture map
defines a representation for a vtkButtonWidget
void SetButtonGeometryConnection(vtkAlgorithmOutput *algOutput)
vtkTexturedButtonRepresentation()
void CreateDefaultProperties()
virtual void Highlight(int state)
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void ShallowCopy(vtkProp *prop)
Provide the necessary methods to satisfy the rendering API.
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkPolyDataMapper * Mapper
virtual void RegisterPickers()
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...
static vtkTexturedButtonRepresentation * New()
Instantiate the class.
vtkPolyData * GetButtonGeometry()
vtkProperty * HoveringProperty
vtkImageData * GetButtonTexture(int i)
vtkTextureArray * TextureArray
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.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void SetButtonTexture(int i, vtkImageData *image)
Add the ith texture corresponding to the ith button state.
virtual void PlaceWidget(double bounds[6])
virtual void SetSelectingProperty(vtkProperty *p)
Specify the property to use when selecting the button.
virtual void BuildRepresentation()
virtual void SetHoveringProperty(vtkProperty *p)
Specify the property to use when the hovering over the button.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkProperty * SelectingProperty
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
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()
virtual double * GetBounds()
Methods to make this class behave as a vtkProp.
void SetButtonGeometry(vtkPolyData *pd)
Set/Get the polydata which defines the button geometry.
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.