23 #ifndef vtkSMPVRepresentationProxy_h
24 #define vtkSMPVRepresentationProxy_h
27 #include "vtkRemotingViewsModule.h"
54 virtual bool GetUsingScalarColoring();
71 return self ?
self->GetUsingScalarColoring() :
false;
80 static
void SetupLookupTable(
vtkSMProxy* proxy);
89 bool UpdateScalarBarRange(
vtkSMProxy* view,
bool deleteRange);
97 virtual
bool SetScalarColoring(const
char* arrayname,
int attribute_type);
108 virtual
bool SetScalarColoring(const
char* arrayname,
int attribute_type,
int component);
116 static
bool SetScalarColoring(
vtkSMProxy* proxy, const
char* arrayname,
int attribute_type)
119 return self ?
self->SetScalarColoring(arrayname, attribute_type) :
false;
129 static
bool SetScalarColoring(
130 vtkSMProxy* proxy, const
char* arrayname,
int attribute_type,
int component)
133 return self ?
self->SetScalarColoring(arrayname, attribute_type,
component) :
false;
149 virtual bool RescaleTransferFunctionToDataRange(
bool extend =
false,
bool force =
true);
166 virtual bool RescaleTransferFunctionToDataRange(
167 const char* arrayname,
int attribute_type,
bool extend =
false,
bool force =
true);
175 static
bool RescaleTransferFunctionToDataRange(
176 vtkSMProxy* proxy,
bool extend = false,
bool force = true)
179 return self ?
self->RescaleTransferFunctionToDataRange(extend, force) :
false;
189 static
bool RescaleTransferFunctionToDataRange(
vtkSMProxy* proxy, const
char* arrayname,
190 int attribute_type,
bool extend = false,
bool force = true)
193 return self ?
self->RescaleTransferFunctionToDataRange(arrayname, attribute_type, extend, force)
202 virtual bool RescaleTransferFunctionToDataRangeOverTime();
210 virtual bool RescaleTransferFunctionToDataRangeOverTime(
211 const char* arrayname,
int attribute_type);
219 static
bool RescaleTransferFunctionToDataRangeOverTime(
vtkSMProxy* proxy)
222 return self ?
self->RescaleTransferFunctionToDataRangeOverTime() :
false;
232 static
bool RescaleTransferFunctionToDataRangeOverTime(
233 vtkSMProxy* proxy, const
char* arrayname,
int attribute_type)
236 return self ?
self->RescaleTransferFunctionToDataRangeOverTime(arrayname, attribute_type)
246 virtual bool RescaleTransferFunctionToVisibleRange(
vtkSMProxy* view);
247 virtual bool RescaleTransferFunctionToVisibleRange(
248 vtkSMProxy* view,
const char* arrayname,
int attribute_type);
260 return self ?
self->RescaleTransferFunctionToVisibleRange(view) :
false;
263 static
bool RescaleTransferFunctionToVisibleRange(
267 return self ?
self->RescaleTransferFunctionToVisibleRange(view, arrayname, attribute_type)
277 virtual bool SetScalarBarVisibility(
vtkSMProxy* view,
bool visible);
282 return self ?
self->SetScalarBarVisibility(view, visible) :
false;
294 virtual bool HideScalarBarIfNotNeeded(
vtkSMProxy* view);
299 return self ?
self->HideScalarBarIfNotNeeded(view) :
false;
308 virtual bool IsScalarBarVisible(
vtkSMProxy* view);
313 return self ?
self->IsScalarBarVisible(view) :
false;
326 vtkSMProxy* proxy,
bool checkRepresentedData = true)
329 return self ?
self->GetArrayInformationForColorArray(checkRepresentedData) :
nullptr;
339 double uncertaintyAllowed = 1e-6,
double fraction = 1e-3,
bool force =
false);
342 vtkSMProxy* proxy,
double uncertaintyAllowed = 1e-6,
double fraction = 1e-3,
bool force = false)
346 ?
self->GetProminentValuesInformationForColorArray(uncertaintyAllowed, fraction, force)
354 int GetEstimatedNumberOfAnnotationsOnScalarBar(
vtkSMProxy* view);
359 return self ?
self->GetEstimatedNumberOfAnnotationsOnScalarBar(view) : -1;
373 bool GetVolumeIndependentRanges();
385 int IsScalarBarStickyVisible(
vtkSMProxy* view);
401 "exposed functions of the helper instead")
402 virtual
bool RescaleTransferFunctionToDataRange(
409 void CreateVTKObjects() override;
413 void OnPropertyUpdated(
vtkObject*,
unsigned long,
void* calldata);
420 void SetPropertyModifiedFlag(const
char* name,
int flag) override;
432 "exposed functions of the helper instead")
433 std::
string GetDecoratedArrayName(const std::
string& arrayname);
439 "exposed functions of the helper instead")
440 virtual
bool SetScalarColoringInternal(
441 const
char* arrayname,
int attribute_type,
bool useComponent,
int component);
454 bool InReadXMLAttributes;
456 vtkStringSet* RepresentationSubProxies;