49 #ifndef __vtkTexturedButtonRepresentation_h
50 #define __vtkTexturedButtonRepresentation_h
52 #include "vtkInteractionWidgetsModule.h"
59 class vtkTextureArray;
61 class vtkPolyDataMapper;
75 void PrintSelf(ostream& os, vtkIndent indent);
88 vtkSetMacro(FollowCamera,
int);
89 vtkGetMacro(FollowCamera,
int);
90 vtkBooleanMacro(FollowCamera,
int);
96 virtual void SetProperty(vtkProperty *p);
97 vtkGetObjectMacro(Property,vtkProperty);
102 virtual void SetHoveringProperty(vtkProperty *p);
103 vtkGetObjectMacro(HoveringProperty,vtkProperty);
108 virtual void SetSelectingProperty(vtkProperty *p);
109 vtkGetObjectMacro(SelectingProperty,vtkProperty);
115 void SetButtonTexture(
int i, vtkImageData *image);
116 vtkImageData *GetButtonTexture(
int i);
125 virtual void PlaceWidget(
double scale,
double point[3],
double normal[3]);
140 virtual void GetActors(vtkPropCollection *pc);
164 void CreateDefaultProperties();
vtkProperty * SelectingProperty
vtkProperty * HoveringProperty
defines a representation for a vtkButtonWidget
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
vtkPolyDataMapper * Mapper
vtkTextureArray * TextureArray