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:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/CustomDenseArray (content was: "The only thing you have to do to enable your class to work with vtkDenseArray is add a single line: <source lang="cpp"> operator vtkVariant() const { return vtkVariant(); } </source> ==CustomDenseArray.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkDenseArray.h> struct Point { double x,y; operator vtkVariant() const { return vtkVariant(); } }; int main(int, char *[]) { Point point; point.x = 1.0; point.y = 2.0; std::cout << point.x...")