|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   56 #ifndef vtkDataRepresentation_h 
   57 #define vtkDataRepresentation_h 
   60 #include "vtkViewsCoreModule.h"  
  128     this->Annotate(view, annotations, 
false);
 
  137   vtkSetMacro(Selectable, 
bool);
 
  138   vtkGetMacro(Selectable, 
bool);
 
  139   vtkBooleanMacro(Selectable, 
bool);
 
  150   void UpdateSelection(
vtkSelection* selection, 
bool extend);
 
  161     this->UpdateAnnotations(annotations, 
false);
 
  172     return this->GetInternalAnnotationOutputPort(0);
 
  176     return this->GetInternalAnnotationOutputPort(
port, 0);
 
  187     return this->GetInternalSelectionOutputPort(0);
 
  191     return this->GetInternalSelectionOutputPort(
port, 0);
 
  203     return this->GetInternalOutputPort(
port, 0);
 
  216   vtkSetMacro(SelectionType, 
int);
 
  217   vtkGetMacro(SelectionType, 
int);
 
  232   virtual void SetSelectionArrayName(
const char* 
name);
 
  233   virtual const char* GetSelectionArrayName();
 
  268   virtual void ProcessEvents(
vtkObject* caller, 
unsigned long eventId, 
void* callData);
 
  294   friend class Command;
 
  330   Internals* Implementation;
 
  
vtkAnnotationLink * GetAnnotationLink()
The annotation link for this representation.
virtual bool AddToView(vtkView *vtkNotUsed(view))
Adds the representation to the view.
A view containing a renderer.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
int SelectionType
The selection type created by the view.
abstract base class for most VTK objects
An algorithm for linking annotations among objects.
data object that represents a "selection" in VTK.
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort(int port)
Producer for stand-alone data objects.
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
Removes the representation to the view.
vtkAlgorithmOutput * GetInputConnection(int port=0, int index=0)
Convenience override method for obtaining the input connection without specifying the port or index.
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort(int port)
void Annotate(vtkView *view, vtkAnnotationLayers *annotations)
Analogous to Select().
The superclass for all views.
Sets theme colors for a graphical view.
Stores a ordered collection of annotation sets.
virtual vtkAlgorithmOutput * GetInternalOutputPort(int port)
vtkAlgorithmOutput * GetInputConnection(int port, int index)
Get the algorithm output port connected to an input port.
The superclass for all representations.
vtkAnnotationLink * AnnotationLinkInternal
void Select(vtkView *view, vtkSelection *selection)
The view calls this method when a selection occurs.
a simple class to control print indentation
void UpdateSelection(vtkSelection *selection)
Updates the selection in the selection link and fires a selection change event.
virtual vtkAlgorithmOutput * GetInternalAnnotationOutputPort()
The output port that contains the annotations whose selections are localized for a particular input d...
virtual vtkAlgorithmOutput * GetInternalSelectionOutputPort()
The output port that contains the selection associated with the current annotation (normally the inte...
virtual vtkAlgorithmOutput * GetInternalOutputPort()
Retrieves an output port for the input data object at the specified port and connection index.
void UpdateAnnotations(vtkAnnotationLayers *annotations)
Updates the selection in the selection link and fires a selection change event.
vtkStringArray * SelectionArrayNames
If a VALUES selection, the array names used in the selection.
Proxy object to connect input/output ports.
a vtkAbstractArray subclass for strings
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Apply a theme to this representation.
general representation of visualization data