All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/PiecewiseFunction (content was: "==PiecewiseFunction.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPiecewiseFunction.h> int main(int, char *[]) { vtkSmartPointer<vtkPiecewiseFunction> piecewiseFunction = vtkSmartPointer<vtkPiecewiseFunction>::New(); piecewiseFunction->AddPoint(0.0, 0.0); piecewiseFunction->AddPoint(1.0, 2.0); double test = piecewiseFunction->GetValue(0.25); std::cout << "test: " << test << " (should be 0.5)" << std::endl; return EXIT_SUCCESS; } <...")