12 #ifndef vtkSMColorMapEditorHelper_h
13 #define vtkSMColorMapEditorHelper_h
15 #include "vtkRemotingViewsModule.h"
36 static bool GetUsingScalarColoring(
vtkSMProxy* proxy);
42 static void SetupLookupTable(
vtkSMProxy* proxy);
59 static bool SetScalarColoring(
vtkSMProxy* proxy,
const char* arrayname,
int attribute_type);
69 static bool SetScalarColoring(
80 static bool RescaleTransferFunctionToDataRange(
81 vtkSMProxy* proxy,
bool extend =
false,
bool force =
true);
93 static bool RescaleTransferFunctionToDataRange(
vtkSMProxy* proxy,
const char* arrayname,
94 int attribute_type,
bool extend =
false,
bool force =
true);
100 static bool RescaleTransferFunctionToDataRangeOverTime(
vtkSMProxy* proxy);
108 static bool RescaleTransferFunctionToDataRangeOverTime(
109 vtkSMProxy* proxy,
const char* arrayname,
int attribute_type);
117 static bool RescaleTransferFunctionToVisibleRange(
148 vtkSMProxy* proxy,
bool checkRepresentedData =
true);
154 static std::string GetDecoratedArrayName(
vtkSMProxy* proxy,
const std::string& arrayname);
161 vtkSMProxy* proxy,
double uncertaintyAllowed = 1e-6,
double fraction = 1e-3,
185 static bool RescaleTransferFunctionToDataRange(
191 static bool SetScalarColoringInternal(
192 vtkSMProxy* proxy,
const char* arrayname,
int attribute_type,
bool useComponent,
int component);