55 #ifndef __vtkDataRepresentation_h
56 #define __vtkDataRepresentation_h
58 #include "vtkViewsCoreModule.h"
76 void PrintSelf(ostream& os, vtkIndent indent);
89 {
return this->AnnotationLinkInternal; }
106 { this->Select(view, selection,
false); }
121 { this->Annotate(view, annotations,
false); }
128 vtkSetMacro(Selectable,
bool);
129 vtkGetMacro(Selectable,
bool);
130 vtkBooleanMacro(Selectable,
bool);
140 { this->UpdateSelection(selection,
false); }
141 void UpdateSelection(
vtkSelection* selection,
bool extend);
151 { this->UpdateAnnotations(annotations,
false); }
160 {
return this->GetInternalAnnotationOutputPort(0); }
162 {
return this->GetInternalAnnotationOutputPort(port, 0); }
171 {
return this->GetInternalSelectionOutputPort(0); }
173 {
return this->GetInternalSelectionOutputPort(port, 0); }
182 {
return this->GetInternalOutputPort(0); }
184 {
return this->GetInternalOutputPort(port, 0); }
193 vtkSetMacro(SelectionType,
int);
194 vtkGetMacro(SelectionType,
int);
199 virtual void SetSelectionArrayNames(vtkStringArray* names);
200 vtkGetObjectMacro(SelectionArrayNames, vtkStringArray);
205 virtual void SetSelectionArrayName(
const char* name);
206 virtual const char* GetSelectionArrayName();
233 vtkInformationVector**,
234 vtkInformationVector*)
240 virtual void ProcessEvents(vtkObject *caller,
unsigned long eventId,
void *callData);
261 friend class Command;
293 Internals* Implementation;
virtual vtkAlgorithmOutput * GetInternalOutputPort()
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port)
virtual vtkAlgorithmOutput * GetInternalOutputPort(int port)
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
void Select(vtkView *view, vtkSelection *selection)
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort(int port)
A node in a selection tree. Used to store selection results.
virtual bool AddToView(vtkView *vtkNotUsed(view))
Proxy object to connect input/output ports.
Sets theme colors for a graphical view.
Producer for stand-alone data objects.
The superclass for all views.
vtkAlgorithmOutput * GetInputConnection(int port=0, int index=0)
vtkStringArray * SelectionArrayNames
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
The superclass for all representations.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkAnnotationLink * GetAnnotationLink()
void Annotate(vtkView *view, vtkAnnotationLayers *annotations)
A view containing a renderer.
Stores a ordered collection of annotation sets.
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort()
vtkAnnotationLink * AnnotationLinkInternal
void UpdateAnnotations(vtkAnnotationLayers *annotations)
vtkAlgorithmOutput * GetInputConnection(int port, int index)
general representation of visualization data
void UpdateSelection(vtkSelection *selection)
An algorithm for linking annotations among objects.