4 #ifndef pqRescaleScalarRangeReaction_h 5 #define pqRescaleScalarRangeReaction_h 46 QAction* parent,
bool track_active_objects =
true,
Modes mode = DATA);
59 static bool rescaleScalarRangeToData(
86 std::vector<vtkSMProxy*> tfProxies,
bool separateOpacity =
false,
87 int selectedPropertiesType = 0 );
100 bool separateOpacity =
false,
int selectedPropertiesType = 0 )
102 return rescaleScalarRangeToCustom(
103 std::vector<vtkSMProxy*>(1, tfProxy), separateOpacity, selectedPropertiesType);
143 this->setRepresentation(repr, 0 );
145 void setActiveRepresentation();
155 virtual void onServerAdded(
pqServer* server);
156 virtual void onAboutToRemoveServer(
pqServer* server);
160 QPointer<pqPipelineRepresentation> Representation;
162 unsigned long ServerAddedObserverId;
163 int SelectedPropertiesType;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqRescaleScalarRangeToCustomDialog provides a dialog to be able to rescale the active lookup table's ...
virtual void updateEnableState()
This is PQ representation for a single display.
#define PQAPPLICATIONCOMPONENTS_EXPORT
static pqRescaleScalarRangeToCustomDialog * rescaleScalarRangeToCustom(vtkSMProxy *tfProxy, bool separateOpacity=false, int selectedPropertiesType=0)
Rescale range to a custom range.
This is a superclass just to make it easier to collect all such reactions.
Reaction to rescale the active lookup table's range to match the active representation.
proxy for a VTK object(s) on a server
void setRepresentation(pqDataRepresentation *repr)
Set the data representation explicitly when track_active_objects is false.
virtual void onTriggered()
Called when the action is triggered.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...