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

Function RescaleTransferFunction

Remoting/Views/vtkSMTransferFunctionProxy.h:38–41  ·  view source on GitHub ↗

* Rescale the "RGBPoints" for the 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

36 * only be extended as needed to fit the data range.
37 */
38 virtual bool RescaleTransferFunction(const double range[2], bool extend = false)
39 {
40 return this->RescaleTransferFunction(range[0], range[1], extend);
41 }
42 virtual bool RescaleTransferFunction(double rangeMin, double rangeMax, bool extend = false);
43
44 ///@{

Calls 1

Tested by

no test coverage detected