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).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 02:37, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Plotting/SpiderPlot (content was: "Translated from the c plus plus test File:SpiderPlot.jpg ==SpiderPlot.py== <source lang="python"> #!/usr/bin/env python import vtk import random numTuples = 12 bitter = vtk.vtkFloatArray() bitter.SetNumberOfTuples(numTuples) crispy = vtk.vtkFloatArray() crispy.SetNumberOfTuples(numTuples) crunchy = vtk.vtkFloatArray() crunchy.SetNumberOfTuples(numTuples) salty = vtk.vtkFloatArray() salty.SetNumberOfTuples(numTuples) oily = vtk.vtkFloatArray() oily.SetNumberOfTuples...")
  • 02:37, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Plotting/ScatterPlot (content was: "File:VTK_Examples_Python_Plotting_ScatterPlot.png ==ScatterPlot.py== <source lang="python"> #!/usr/bin/env python from __future__ import division import vtk import math view = vtk.vtkContextView() view.GetRenderer().SetBackground(1.0, 1.0, 1.0) view.GetRenderWindow().SetSize(400, 300) chart = vtk.vtkChartXY() view.GetScene().AddItem(chart) chart.SetShowLegend(True) table = vtk.vtkTable() arrX = vtk.vtkFloatArray() arrX.SetName('X Axis') arrC = vtk.vtkFloatArray() arr...")
  • 02:37, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/PLYWriter (content was: "==PLYWriter.py== <source lang="python"> import vtk filename = "writeply.ply" sphereSource = vtk.vtkSphereSource() sphereSource.Update() plyWriter = vtk.vtkPLYWriter() plyWriter.SetFileName(filename) plyWriter.SetInputConnection(sphereSource.GetOutputPort()) plyWriter.Write() #Read and display for verication reader = vtk.vtkPLYReader() reader.SetFileName(filename) reader.Update() mapper = vtk.vtkPolyDataMapper() mapper.SetInputConnection(reader.GetOutputPort()) actor = vt...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/IO/ReadImageData (content was: "==ReadImageData.tcl== <source lang="tcl"> package require vtk if { $argc != 1 } { puts "The command requires 1 argument: InputFileName" puts "Please try again." exit } set inputFile [lindex $argv 0] # Read the iamge data from a VTI file vtkXMLImageDataReader reader reader SetFileName $inputFile reader Update # Check for number of points set imagedata [reader GetOutput] set numPoints [$imagedata GetNumberOfPoints] if { $numPoints == 0 } { puts "Input Image has zero...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/IO/ReadDICOM (content was: "==ReadDICOM.tcl== <source lang="tcl"> package require vtk if { $argc != 2 } { puts "The command requires 2 arguments." puts "Please try again." exit } set folder [lindex $argv 0] set outputFile [lindex $argv 1] # Read all the DICOM files in the specified directory. vtkDICOMImageReader reader reader SetDirectoryName $folder reader Update set imagedata [reader GetOutput] vtkXMLImageDataWriter writer writer SetInput [reader GetOutput] writer SetFileName $outputFile writ...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/GeometricObjects/Tetra (content was: "==Tetra.tcl== <source lang="tcl"> package require vtk vtkUnstructuredGridWriter writer #Generate a synthetic Tetrahedron vtkPoints points points SetDataTypeToDouble points InsertNextPoint 0 -1 -1 points InsertNextPoint -1 -1 1 points InsertNextPoint 1 1 1 points InsertNextPoint 0 1 0 vtkTetra tetra [tetra GetPointIds] SetId 0 0 [tetra GetPointIds] SetId 1 1 [tetra GetPointIds] SetId 2 2 [tetra GetPointIds] SetId 3 3 set cellType [tetra GetCellType] vtkUnstructuredGrid tet...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/GeometricObjects/Sphere (content was: "==Sphere.tcl== <source lang="tcl"> package require vtk vtkXMLPolyDataWriter writer #Generate a synthetic sphere vtkSphereSource sphere sphere SetThetaResolution 12 sphere SetPhiResolution 12 sphere SetRadius 5.0 sphere Update #Write polydata file writer SetInput [sphere GetOutput] set filename "sphere.vtp" writer SetFileName $filename writer Update </source>")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/GeometricObjects/Plane (content was: "==Plane.tcl== <source lang="tcl"> package require vtk vtkXMLPolyDataWriter writer #Generate a synthetic plane vtkPlaneSource plane plane SetCenter 1.0 0.0 0.0 plane SetNormal 1.0 0.0 0.0 set data [ plane GetOutput ] # Write the polydata file writer SetInput $data writer SetFileName "plane.vtp" writer Write </source>", and the only contributor was "JBallesteros" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/GeometricObjects/Cube (content was: "==Cube.tcl== <source lang="tcl"> package require vtk vtkUnstructuredGridWriter writer #Generate a synthetic cube vtkCubeSource cube cube SetCenter 0.0 0.0 0.0 cube SetXLength 0.5 cube SetYLength 0.5 cube SetZLength 0.5 cube Update vtkDelaunay3D cubeMesh cubeMesh SetInput [ cube GetOutput ] cubeMesh Update #Write unstructured grid file writer SetInput [ cubeMesh GetOutput ] set filename "cube.vtu" writer SetFileName $filename writer Update </source>")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Tcl/Cylinder (content was: "This example demonstrate a minimal visualization created with VTK. See also C++, Java and Python ==Cylinder.tcl== <source lang="tcl"> # # This simple example shows how to do basic rendering and pipeline # creation. # # We start off by loading some Tcl modules...", and the only contributor was "DaveDemarle" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkWithNumpy (content was: "==vtkWithNumpy.py== <source lang="python"> # An example from scipy cookbook demonstrating the use of numpy arrys in vtk import vtk from numpy import * # We begin by creating the data we want to render. # For this tutorial, we create a 3D-image containing three overlaping cubes. # This data can of course easily be replaced by data from a medical CT-scan or anything else three dimensional. # The only limit is that the data must be reduced to unsigned 8 bit or 16 bit integers....")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkVersion (content was: "==vtkVersion.py== <source lang="python"> from __future__ import print_function import vtk print(vtk.vtkVersion.GetVTKSourceVersion()) </source>")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkUnstructuredGridReader (content was: "The following example demonstrates how to read an unstructured grid defined at a (legacy) *.vtk file and how to render it with VTK. An example input file is uGridEx.vtk (folder Data at [http://vtk.org/gitweb?p=VTKData.git;a=tree VTKData]) ==UnstructuredGridReader.py== <source lang="python"> #!/usr/bin/env python # -*- coding: utf-8 -*- # # by Panos Mavrogiorgos, email: pmav99...", and the only contributor was "Pmav99" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkTextSource (content was: "==TextSource.py== <source lang="python"> from vtk import* #Create a sphere textSource = vtkTextSource(); textSource.SetText("Hello"); textSource.SetForegroundColor(1.0, 0.0, 0.0); textSource.BackingOn(); textSource.Update(); #Create a mapper and actor mapper = vtkPolyDataMapper(); mapper.SetInputConnection(textSource.GetOutputPort()); actor = vtkActor(); actor.SetMapper(mapper);...", and the only contributor was "Jothy" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkImplicitDataSet (content was: "==ImplicitDataSet.py== <source lang="python"> # Example in which a cube is used to define an implicit function (through vtkImplicitDataSet) # which is then used to clip a sphere import vtk sphere = vtk.vtkSphereSource() sphere.SetCenter(1, 1, 1) sphere.SetRadius(1) sphere.Update() cube = vtk.vtkCubeSource() cube.SetBounds(-1,1,-1,1,-1,1) cube.Update() # Create 3D cells so vtkImplicitDataSet evaluates inside vs outside correctly tri = vtk.vtkDelaunay3D() tri.SetInput(cube.G...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/vtkCutter (content was: "This example demonstrates how to use vtkCutter by cutting through a cube. * Contributed by Jothy ==vtkCutter.py== <source lang="python"> #!/usr/bin/env python # A simple script to demonstrate the vtkCutter function import vtk #Create a cube cube=vtk.vtkCubeSource() cube.SetXLength(40) cube.SetYLength(30) cube.SetZLength(20) cubeMapper=vtk.vtkPolyDataMapper() cubeMapper.SetInputConnection(cube.GetOutputPort()) #create a plane to cut,here it cuts in the XZ direction (xz norm...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/WriteTriangleToFile.py (content was: "==WriteTriangleToFile.py== <source lang="python"> import vtk from vtk import * Points = vtk.vtkPoints() Triangles = vtk.vtkCellArray() Triangle = vtk.vtkTriangle(); id = Points.InsertNextPoint(1.0, 0.0, 0.0) id = Points.InsertNextPoint(0.0, 0.0, 0.0) id = Points.InsertNextPoint(0.0, 1.0, 0.0) Triangle.GetPointIds().SetId(0, 0); Triangle.GetPointIds().SetId(1, 1); Triangle.GetPointIds().SetId(2, 2); Triangles.InsertNextCell(Triangle); polydata = vtk.vtkPolyData() polydata.S...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/WriteReadVtkImageData (content was: "==Brief Description== Generate image data, edit data points, store and reload it. ==ReadWriteVtkImageData.py== <source lang="python"> import vtk filename = "writeImageData.vti" imageData = vtk.vtkImageData() imageData.SetDimensions(3, 4, 5) if vtk.VTK_MAJOR_VERSION <= 5: imageData.SetNumberOfScalarComponents(1) imageData.SetScalarTypeToDouble() else: imageData.AllocateScalars(vtk.VTK_DOUBLE, 1) dims = imageData.GetDimensions() # Fill every entry of the image da...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/WindowTitle (content was: "This example demonstrates how to change the title of a render window. * Contributed by Bryan P. Conrad ==WindowTitle.py== <source lang="python"> import vtk def main(): #Create a sphere sphereSource = vtk.vtkSphereSource() sphereSource.SetCenter(0.0, 0.0, 0.0) sphereSource.SetRadius(5) #Create a mapper and actor mapper = vtk.vtkPolyDataMapper()...", and the only contributor was "Daviddoria" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/TextWidget (content was: "File:VTK Examples Python Widgets TextWidget.png A simple example of annotating a VTK image with movable and resizable text. ==TextWidget.py== <source lang="python"> #!/usr/bin/env python # -*- coding: utf-8 -*- # # by Panos Mavrogiorgos, email : pmav99 >a< gmail import vtk source = vtk.vtkSphereSource() output = source.GetOutput() mapper = vtk.vtkPolyDataMapper() if vtk.VTK_MAJOR_VERSION <= 5: mapper.SetInput(output) else: mapper.SetInputData(output) actor...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/SphereWidget (content was: "File:VTK Examples Python Widgets SphereWidget.png This example shows how to use the SphereWidget. ==SphereWidget.py== <source lang="python"> import vtk # Call back function def sphereCallback(obj, event): print('Center: {}, {}, {}'.format(*obj.GetCenter())) # A renderer and render window renderer = vtk.vtkRenderer() renderer.SetBackground(1, 1, 1) renwin = vtk.vtkR...", and the only contributor was "Onlyjus" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/ScalarBarWidget (content was: "File:VTK_Examples_Python_Widgets_ScalarBarWidget.png Display a movable and resizable scalar bar. An example input file is uGridEx.vtk (folder Data at [http://vtk.org/gitweb?p=VTKData.git;a=tree VTKData]) ==ScalarBarWidget.py== <source lang="python"> #!/usr/bin/env python # -*- coding: utf-8 -*- # # by Panos Mavrogiorgos, email : pmav99 >a< gmail import vtk # The source file file_name = "uGridEx.vtk" # Create a custom lut. The lut is used both at the mapper and at t...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/OrientationMarkerWidget (content was: "File:VTK_Examples_Python_Widgets_OrientationMarkerWidget.png Draws two cubes. One of them can be clicked to be rotated, and will rotate the second one. The second one has annotations on it, and can also be moved. ==vtkAnnotedCubeWithvtkOrientationWidget.py== <source lang="python"> # Contributed by Eric E Monson import vtk # create a rendering window and renderer ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) # create a renderwindowinte...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/EmbedPyQt2 (content was: "Another example on how to embed VTK in PyQT, with a QVTKRenderWindowInteractor ==EmbedInPyQt2.py== <source lang="python"> #!/usr/bin/env python # Contributed by Eric E Monson from PyQt4 import QtCore, QtGui from PyQt4.QtGui import QApplication import vtk from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor import sys class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(6...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/EmbedPyQt (content was: "'''Minimal working example of vtk embedding in PyQt.''' *Contributed by Michka Popoff, inspired by the example from Eric E Monson *See notes at the end for more details. ==EmbedInPyQt.py== <source lang="python"> #!/usr/bin/env python import sys import vtk from PyQt4 import QtCore, QtGui from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor class MainWindow(QtGui.QMainWindow): def __init__(self, parent = None): QtGui.QMainWindow.__init__(s...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/ContourWidget (content was: "File:VTK_Examples_Python_Widgets_ContourWidget.png Click on the white dots to select them and to deform the red line. * Contributed by Jim McCusker ==ContourWidget.py== <source lang="python"> #!/usr/bin/python import vtk import random import sys import math # Create the RenderWindow, Renderer and both Actors renderer = vtk.vtkRenderer() renderWindow = vtk.vtkRenderWindow() renderWindow.AddRenderer(renderer) interactor = vtk.vtkRenderWindowInteractor() interactor.Se...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/CompassWidget (content was: "File:VTK_Examples_Python_Widgets_CompassWidget.png Draws an interactive compass. * Contributed by Jothy ==Build Requirements== VTK_USE_GEOVIS:BOOL=ON (For VTK < VTK 5.4). ==CompassWidget.py== <source lang="python"> #!/usr/bin/env python import vtk # sphere sphereSource = vtk.vtkSphereSource() sphereSource.SetCenter(0.0, 0.0, 0.0) sphereSource.SetRadius(4.0) mapper = vtk.vtkPolyDataMapper() if vtk.VTK_MAJOR_VERSION <= 5: mapper.SetInput(sphereSource.GetOutput())...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/BoxWidget (content was: "File:VTK_Examples_Python_Widgets_BoxWidget.png An example that shows how to use the BoxWidget to interactively scale and rotate and object. ==BoxWidget.py== <source lang="python"> import vtk # Call back function to resize the cone def boxCallback(obj, event): t = vtk.vtkTransform() obj.GetTransform(t) obj.GetProp3D().SetUserTransform( t ) # Create a Cone...", and the only contributor was "Onlyjus" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Widgets/BalloonWidget (content was: "File:VTK_Examples_Python_Widgets_BalloonWidget-1.png File:VTK_Examples_Python_Widgets_BalloonWidget-2.png‎ ==BalloonWidget.py== <source lang="python"> #!/usr/bin/env python import vtk # Sphere sphereSource = vtk.vtkSphereSource() sphereSource.SetCenter(-4.0, 0.0, 0.0) sphereSource.SetRadius(4.0) sphereMapper = vtk.vtkPolyDataMapper() sphereMapper.SetInputConnection(sphereSource.GetOutputPort()) sphereActor = vtk.vtkActor() sphereActor.SetMapper(sphereMapper)...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Web/vtk-js (content was: "File:WarpScalar.jpgFile:HttpSceneLoader.jpg [http://kitware.github.io/vtk-js/ vtk.js] is an ES6 JavaScript class library which can be integrated into any web application. The toolkit leverages WebGL and supports a wide variety of visualization algorithms including scalar, vector, tensor, texture, and volumetric methods. The [http://kitware.github.io/vtk-...", and the only contributor was "Aron.helser" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Web/RemoteRenderer (content was: "VTK can be used as a remote renderer for a web page. Each user connecting to a web page starts a VTK process on the server, which renders into a VTK window, captures the result, and pushes the images to the client web page. This example server is taken from the ParaViewWeb [https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html RemoteRender example]....", and the only contributor was "Aron.helser" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/VTKNamedColorPatches html (content was: "==Colors available in vtkNamedColors== <p>The class vtkNamedColors provides color names and their values for the convenience of the user.</p> <p>The following tables show the available colors along with their red, green and blue values.</p> ==Web color Names== These colors correspond to those in [http://en.wikipedia.org/wiki/Web_colors Web Colors]. <table style="font-size...", and the only contributor was "Amaclean" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/Streamlines (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestStreamLines.png</div> *Translated to python from the .cxx examples ==Streamlines.py== <source lang="python"> #!/usr/bin/env python # import os # os.chdir("VTKData/Data") import vtk pl3d = vtk.vtkMultiBlockPLOT3DReader() xyx_file = "combxyz.bin" q_file = "combq.bin" pl3d.SetXYZFileName(xyx_fil...", and the only contributor was "Diego0020" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/SphereTexture (content was: "File:VTK_Examples_Python_Visualization_SphereTexture.png This example shows how to apply an vtkImageData texture to an sphere vtkPolyData object. There is a sample data file [http://public.kitware.com/cgi-bin/viewcvs.cgi/Data/masonry-wide.jpg?root=VTKData&view=log here] ==SphereTexture.py== <source lang="python"> #!/usr/bin/env python ## # This example shows how to apply an vtkImageData texture to an sphere # vtkPolyData object. # Note: Input jpg file can be located in...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/QuadraticSurface (content was: "* Converted from c++ by Jim McCusker ==QuadraticSurface.py== <source lang="python"> #!/usr/bin/python from vtk import * def Sphere(): # create the quadric function definition quadric = vtkQuadric() quadric.SetCoefficients(1,1,1,0,0,0,0,0,0,0) # F(x,y,z) = a0*x^2 + a1*y^2 + a2*z^2 + a3*x*y + a4*y*z + a5*x*z + a6*x + a7*y + a8*z + a9 # F(x,y,...", and the only contributor was "Daviddoria" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/ProgGlyph (content was: "File:VTK_Examples_Python_Visualization_ProgGlyph.png ==ProgrammableGlyphs.py== <source lang="python"> #!/usr/bin/env python import vtk # Python example translated directly from Tcl test # [vtk_source]/Graphics/Testing/Tcl/progGlyphs.tcl res = 6 plane = vtk.vtkPlaneSource() plane.SetResolution(res, res) colors = vtk.vtkElevationFilter() colors.SetInputConnection(plane.GetOutputPort()) colors.SetLowPoint(-0.25, -0.25, -0.25) colors.SetHighPoint(0.25, 0.25, 0.25) planeMa...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/PointSize (content was: "==PointSize.py== <source lang="python"> import vtk # create a rendering window and renderer ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) # create a renderwindowinteractor iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) # create source src = vtk.vtkPointSource() src.SetCenter(0,0,0) src.SetNumberOfPoints(50) src.SetRadius(5) src.Update() # mapper mapper = vtk.vtkPolyDataMapper() mapper.SetInput(src.GetOutput()) # acto...")
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/NamedColors (content was: "==Description== This example demonstrates the usage of the vtkNamedColors class. Some helper functions are also implemented. A cone is created and contoured using the BandedPolyDataContourFilter, it is then colored using a lookup table where the colors have been assigned using color names. A list of available color names and any synonyms are also output. ==NamedColors.py=...", and the only contributor was "Amaclean" (talk))
  • 02:35, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Visualization/NamedColorPatches (content was: "==Description== This example shows how to produce a HTML page called VTKNamedColorPatches.html showing the available colors in {{VTKDoxygenURL|vtkNamedColors}}. It also shows how to select the text color based on luminance. In this case Digital CCIR601 is used which gives less weight to the red and blue compon...", and the only contributor was "Amaclean" (talk))
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/Images/ImageViewer2 (content was: "This example is currently broken. Shouldn't the image stay facing the camera? ==ImageViewer2.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkImageViewer2.h> #include <vtkImageCanvasSource2D.h> int main(int argc, char* argv[]) { vtkSmartPointer<vtkImageCanvasSource2D> drawing = vtkSmartPointer<vtkImageCanvasSource2D>::New(); drawing->SetScalarTypeToUnsigned...")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/Implicit/MarchingContourFilter (content was: "==MarchingContourFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkXMLPolyDataWriter.h> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkPointData.h> #include <vtkPolyLine.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRendere...", and the only contributor was "Daviddoria" (talk))
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/KdTreeSelector (content was: "==KdTreeSelector.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkKdTreeSelector.h> int main(int, char *[]) { vtkSmartPointer<vtkKdTreeSelector> selector = vtkSmartPointer<vtkKdTreeSelector>::New(); return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/Math/DiagonalMatrixSource (content was: "==DiagonalMatrixSource.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkDiagonalMatrixSource.h> int main(int, char *[]) { vtkSmartPointer<vtkDiagonalMatrixSource> diagonalMatrixSource = vtkSmartPointer<vtkDiagonalMatrixSource>::New(); diagonalMatrixSource->SetExtents(5); diagonalMatrixSource->Update(); diagonalMatrixSource->Print(std::cout); return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/Medical/GenerateCubesFromLabels (content before blanking was: "#REDIRECT VTK/Examples/Cxx/Medical/GenerateCubesFromLabels")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/PolyData/DeleteCell (content was: "This example currently crashes. I tried this with lines and it doesn't work (crashes). The documentation says only works with polys - so wait for this functionality to be added? ==DeleteCell.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPolyData.h> #include <vtkPoints.h> #include <vtkVertexGlyphFilter.h> #include <vtkXMLPolyDataWriter.h> #include <vtkCellArray.h> #include <vtkLine.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRende...")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/PolyData/DeletePoints (content was: "==DeletePoints.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkCellArray.h> #include <vtkLine.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(0,0,0); points->InsertNextPoint(1,0,0)...")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/SpherePuzzle (content was: "Seems to work, but what is the point? It looks like a beach ball... ==SpherePuzzle.cxx== <source lang="cpp"> #include <vtkSpherePuzzle.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { //Create a sphere vtkSmartPointer<vtkSpherePuzzle> spherePuzzle = vtkSmartPointer<vtkSpherePuzzle>::New();...")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/TextExtraction (content was: "VTK must be built with VTK_USE_TEXTANALYSIS turned ON. ==TextExtraction.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTextExtraction.h> int main(int, char*[]) { vtkSmartPointer<vtkTextExtraction> textExtraction = vtkSmartPointer<vtkTextExtraction>::New(); return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/ThreadedExample (content was: "==ThreadedExample.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> int main(int, char *[]) { return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
  • 02:33, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Broken/TransposeMatrix (content was: "==TransposeMatrix.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTransposeMatrix.h> int main(int, char *[]) { vtkSmartPointer<vtkTransposeMatrix> transposeMatrix = vtkSmartPointer<vtkTransposeMatrix>::New(); return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)