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:30, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Boneyard/GeometricObjects/WriteFile/ColoredLines (content was: "This example creates two lines and colors one red and one green. Be sure to changed "Color by" to "Colors" and uncheck "Map Scalars" to see these lines correctly in Paraview! ===ColoredLines.cxx=== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCellArray.h> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkPoints.h> #include <vtkLine.h> #include <vtkPolyData.h> #include <vtkXMLPolyDataWriter.h> int main(int, char *[]) { //create three points....")