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).
- 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/SetClampMacro (content was: "This example demonstrates how to restrict an int member variable to the range 2 to 8. If a value less than 2 is specified, the variable is set to 2. If a value greater than 8 is specified, the variable is set to 8. ==SetClampMacro.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestClass1.h" int main (int argc, char *argv[]) { vtkSmartPointer<vtkTestClass> myClass = vtkSmartPointer<vtkTestClass>::New(); myClass->SetValue(1); cout << "Trie...")