MCPcopy Create free account
hub / github.com/Kitware/ParaView / RescaleTransferFunction

Function RescaleTransferFunction

Remoting/Views/vtkSMTransferFunction2DProxy.h:46–49  ·  view source on GitHub ↗

* Rescale the control boxes for the 2D transfer function to match the new range. * Returns true if rescale was successful. * If \c extend is true (false by default), the transfer function range will * only be extended as needed to fit the data range. */

Source from the content-addressed store, hash-verified

44 * only be extended as needed to fit the data range.
45 */
46 virtual bool RescaleTransferFunction(const double range[4], bool extend = false)
47 {
48 return this->RescaleTransferFunction(range[0], range[1], range[2], range[3], extend);
49 }
50 virtual bool RescaleTransferFunction(
51 double rangeXMin, double rangeXMax, double rangeYMin, double rangeYMax, bool extend = false);
52

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected