19 #ifndef vtkDataLabelRepresentation_h 20 #define vtkDataLabelRepresentation_h 57 void SetMaximumNumberOfLabels(
int numLabels);
58 int GetMaximumNumberOfLabels();
63 void SetPointLabelVisibility(
int);
64 void SetPointFieldDataArrayName(
const char*);
65 void SetPointLabelMode(
int);
66 void SetPointLabelColor(
double r,
double g,
double b);
67 void SetPointLabelOpacity(
double);
68 void SetPointLabelFontFamily(
int);
69 void SetPointLabelFontFile(
char*);
70 void SetPointLabelBold(
int);
71 void SetPointLabelItalic(
int);
72 void SetPointLabelShadow(
int);
73 void SetPointLabelJustification(
int);
74 void SetPointLabelFontSize(
int);
75 void SetPointLabelFormat(
const char*);
77 void SetCellLabelVisibility(
int);
78 void SetCellFieldDataArrayName(
const char*);
79 void SetCellLabelMode(
int);
80 void SetCellLabelColor(
double r,
double g,
double b);
81 void SetCellLabelOpacity(
double);
82 void SetCellLabelFontFamily(
int);
83 void SetCellLabelFontFile(
char*);
84 void SetCellLabelBold(
int);
85 void SetCellLabelItalic(
int);
86 void SetCellLabelShadow(
int);
87 void SetCellLabelJustification(
int);
88 void SetCellLabelFontSize(
int);
89 void SetCellLabelFormat(
const char*);
95 void SetOrientation(
double,
double,
double);
96 void SetOrigin(
double,
double,
double);
97 void SetPosition(
double,
double,
double);
98 void SetScale(
double,
double,
double);
99 void SetUserTransform(
const double[16]);
146 void UpdateTransform();
168 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