31 #ifndef vtkDataLabelRepresentation_h 32 #define vtkDataLabelRepresentation_h 69 void SetMaximumNumberOfLabels(
int numLabels);
70 int GetMaximumNumberOfLabels();
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 SetPointLabelFontFile(
char*);
82 void SetPointLabelBold(
int);
83 void SetPointLabelItalic(
int);
84 void SetPointLabelShadow(
int);
85 void SetPointLabelJustification(
int);
86 void SetPointLabelFontSize(
int);
87 void SetPointLabelFormat(
const char*);
89 void SetCellLabelVisibility(
int);
90 void SetCellFieldDataArrayName(
const char*);
91 void SetCellLabelMode(
int);
92 void SetCellLabelColor(
double r,
double g,
double b);
93 void SetCellLabelOpacity(
double);
94 void SetCellLabelFontFamily(
int);
95 void SetCellLabelFontFile(
char*);
96 void SetCellLabelBold(
int);
97 void SetCellLabelItalic(
int);
98 void SetCellLabelShadow(
int);
99 void SetCellLabelJustification(
int);
100 void SetCellLabelFontSize(
int);
101 void SetCellLabelFormat(
const char*);
107 void SetOrientation(
double,
double,
double);
108 void SetOrigin(
double,
double,
double);
109 void SetPosition(
double,
double,
double);
110 void SetScale(
double,
double,
double);
111 void SetUserTransform(
const double[16]);
158 void UpdateTransform();
180 static void OnWarningEvent(
vtkObject* source,
unsigned long,
void* clientdata,
void*);
vtkLabeledDataMapper * PointLabelMapper
vtkActor2D * PointLabelActor
#define VTKREMOTINGVIEWS_EXPORT
vtkMergeBlocks * MergeBlocks
vtkActor2D * CellLabelActor
vtkPVDataRepresentation adds some ParaView specific API to data representations.
merges blocks in a composite dataset to a dataset.
vtkTextProperty * CellLabelProperty
vtkProp3D * TransformHelperProp
bool AddToView(vtkView *view) override
Making these methods public.
vtkSmartPointer< vtkMaskPoints > CellMask
representation for showing cell and point labels.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkTextProperty * PointLabelProperty
bool RemoveFromView(vtkView *view) override
Making these methods public.
vtkCellCenters * CellCenters
static vtkDataRepresentation * New()
vtkLabeledDataMapper * CellLabelMapper
vtkSmartPointer< vtkMaskPoints > PointMask
void PrintSelf(ostream &os, vtkIndent indent) override
int MaximumNumberOfLabels
vtkSmartPointer< vtkDataObject > Dataset
virtual bool GetVisibility()
vtkCallbackCommand * WarningObserver