Go to the documentation of this file.
19 #ifndef vtkDataLabelRepresentation_h
20 #define vtkDataLabelRepresentation_h
23 #include "vtkRemotingViewsModule.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*);
static vtkDataRepresentation * New()
vtkCallbackCommand * WarningObserver
virtual bool GetVisibility()
vtkSmartPointer< vtkMaskPoints > CellMask
vtkMergeBlocks * MergeBlocks
bool AddToView(vtkView *view) override
Making these methods public.
vtkActor2D * PointLabelActor
vtkSmartPointer< vtkMaskPoints > PointMask
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
vtkCellCenters * CellCenters
vtkLabeledDataMapper * CellLabelMapper
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
bool RemoveFromView(vtkView *view) override
Making these methods public.
representation for showing cell and point labels.
vtkProp3D * TransformHelperProp
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkSmartPointer< vtkDataObject > Dataset
int MaximumNumberOfLabels
merges blocks in a composite dataset to a dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkLabeledDataMapper * PointLabelMapper
vtkActor2D * CellLabelActor
vtkTextProperty * CellLabelProperty
vtkTextProperty * PointLabelProperty