31 #ifndef vtkDataLabelRepresentation_h 32 #define vtkDataLabelRepresentation_h 34 #include "vtkPVClientServerCoreRenderingModule.h" 36 #include "vtkSmartPointer.h" 40 class vtkCallbackCommand;
42 class vtkLabeledDataMapper;
45 class vtkTextProperty;
54 void PrintSelf(ostream& os, vtkIndent indent);
75 void SetPointLabelVisibility(
int);
76 void SetPointFieldDataArrayName(
const char*);
77 void SetPointLabelMode(
int);
78 void SetPointLabelColor(
double r,
double g,
double b);
79 void SetPointLabelOpacity(
double);
80 void SetPointLabelFontFamily(
int);
81 void SetPointLabelBold(
int);
82 void SetPointLabelItalic(
int);
83 void SetPointLabelShadow(
int);
84 void SetPointLabelJustification(
int);
85 void SetPointLabelFontSize(
int);
86 void SetPointLabelFormat(
const char*);
88 void SetCellLabelVisibility(
int);
89 void SetCellFieldDataArrayName(
const char*);
90 void SetCellLabelMode(
int);
91 void SetCellLabelColor(
double r,
double g,
double b);
92 void SetCellLabelOpacity(
double);
93 void SetCellLabelFontFamily(
int);
94 void SetCellLabelBold(
int);
95 void SetCellLabelItalic(
int);
96 void SetCellLabelShadow(
int);
97 void SetCellLabelJustification(
int);
98 void SetCellLabelFontSize(
int);
99 void SetCellLabelFormat(
const char*);
105 void SetOrientation(
double,
double,
double);
106 void SetOrigin(
double,
double,
double);
107 void SetPosition(
double,
double,
double);
108 void SetScale(
double,
double,
double);
109 void SetUserTransform(
const double[16]);
119 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
142 virtual int FillInputPortInformation(
int port, vtkInformation* info);
154 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
159 virtual bool IsCached(
double cache_key);
161 void UpdateTransform();
182 static void OnWarningEvent(vtkObject* source,
unsigned long,
void* clientdata,
void*);
vtkLabeledDataMapper * PointLabelMapper
void PrintSelf(ostream &os, vtkIndent indent)
vtkActor2D * PointLabelActor
vtkActor2D * CellLabelActor
vtkPVDataRepresentation adds some ParaView specific API to data representations.
virtual bool IsCached(double cache_key)
Subclasses should override this method when they support caching to indicate if the particular key is...
vtkTextProperty * CellLabelProperty
vtkProp3D * TransformHelperProp
representation for showing cell and point labels.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual bool AddToView(vtkView *view)
Making these methods public.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkCompositeDataToUnstructuredGridFilter * MergeBlocks
vtkPVCacheKeeper * CacheKeeper
vtkTextProperty * PointLabelProperty
appends all vtkUnstructuredGrid leaves of the input composite dataset to a single vtkUnstructuredGrid...
virtual void MarkModified()
This is one of the most important functions.
vtkCellCenters * CellCenters
virtual bool RemoveFromView(vtkView *view)
Making these methods public.
vtkLabeledDataMapper * CellLabelMapper
manages data cache for flip book animations.
vtkSmartPointer< vtkDataObject > Dataset
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
virtual bool GetVisibility()
vtkCallbackCommand * WarningObserver