Difference between revisions of "VTK/Examples"

From KitwarePublic
< VTK
Jump to navigationJump to search
(Undo revision 62870 by Lorensen (talk))
 
(37 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
[[Category:VTK/Examples]]
 
[[Category:VTK/Examples]]
==About the Examples==
+
= '''Please try the new [https://lorensen.github.io/VTKExamples/site VTKExamples website].''' =
VTK is a large and powerful toolkit for visualization and modelling. New users can be overwhelmed by the size and what appears to be the complexity of the toolkit. There are several resources to help the new user:
 
 
 
* [http://kitware.com/products/books/vtkbook.html The VTK Textbook]
 
* [http://kitware.com/products/books/vtkguide.html The VTK Users Guide]
 
* [http://www.vtk.org/doc/nightly/html/ The VTK Doxygen Man Pages]
 
* [http://www.vtk.org/Wiki/index.php?title=VTK/ The VTK Wiki]
 
* [http://www.vtk.org/mailman/listinfo/vtkusers The VTK Users Mailing List]
 
 
 
In addition to these compilations of information, hundreds of tests are distributed with the toolkit source. The tests reside in ''Kit''/Testing directories in the source distribution. However, these tests are meant to exercise the toolkit rather than illustrate how to use it. For the most part, the tests are not good educational resources.
 
 
 
The VTK source distribution also includes a sizeable number of [http://public.kitware.com/cgi-bin/viewcvs.cgi/Examples/ examples]. The goal of the VTK examples is to illustrate specific VTK concepts in a consistent and simple format. Some have been there since the inception of the toolkit. These examples have been subject to peer review and revision over the years. However, these examples only cover a small part of the capabilities of VTK.
 
 
 
Recently ([http://www.vtk.org/pipermail/vtkusers/2009-February/099390.html February 7, 2009]), spurred by a new user, David Doria, we are using the [http://www.vtk.org/Wiki/VTK VTK Wiki] to provide examples that will help new VTK and experienced VTK users. Users seeking solutions can use the wiki to find examples that answer questions like, "How do I extract normals from a filter's output?", "How do I generate models from segmented data?", "How do I compute the area of a triangle?", "How do I generate a foo model from bar input?". Over time we hope that the examples will answer many of the users' questions. Some questions won't have a solution in the current example repertoire. For those questions, we encourage the user to create a simple example that illustrates either a dilemma or a new solution.
 
 
 
__TOC__
 
 
 
==Languages==
 
* [[VTK/Examples/Cxx |C++]]
 
* [[VTK/Examples/Python |Python]]
 
* [[VTK/Examples/Java |Java]]
 
* [[VTK/Examples/Tcl |Tcl]]
 
 
 
==Information for Wiki Examples Users==
 
If you just want to use the Wiki Examples, [[VTK/Examples/Instructions/ForUsers|go here]]. You will learn how to search for examples, build a few examples and build all of the examples.
 
==Information for Wiki Examples Developers==
 
If you want to contribute examples [[VTK/Examples/Instructions/ForDevelopers|go here]]. You will learn how to add a new example and the guidelines for writing an example.
 
 
 
==Information for Wiki Examples Administrators==
 
If you are a Wiki Example Administrator or want to learn more about the process [[VTK/Examples/Instructions/ForAdministrators|go here]]. You will learn how the Wiki Examples repository is organized, how the repository is synced to the wiki and how to add new topics, tests and regression baselines.
 
 
 
==Example Usage (C++)==
 
These are fully independent, compilable examples. There is significant overlap in the examples, but they are each intended to illustrate a different concept and be fully stand alone compilable.
 
 
 
Please add examples in your areas of expertise!
 
 
 
===Input and Output===
 
'''Input'''
 
 
 
''VTK Formats''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadUnstructuredGrid|Read an unstructured grid (.vtu) file]] || {{VTKDoxygenURL|vtkXMLUnstructuredGridReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadPolyData|Read a polygonal data (.vtp) file]] || {{VTKDoxygenURL|vtkXMLPolyDataReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadImageData|Read a image data (.vti) file]] || {{VTKDoxygenURL|vtkXMLImageDataReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadStructuredGrid|Read a structured grid (.vts) file]] || {{VTKDoxygenURL|vtkXMLStructuredGridReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadRectilinearGrid|Read a rectilinear grid (.vtr) file]] || {{VTKDoxygenURL|vtkXMLRectilinearGridGreader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadUnknownTypeXMLFile|Read an XML file and later decide what kind it is]] || {{VTKDoxygenURL|vtkXMLGenericDataObjectReader}} ||
 
|}
 
 
 
''Legacy Formats''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/IO/GenericDataObjectReader|Read any type of legacy .vtk file]] || {{VTKDoxygenURL|vtkGenericDataObjectReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/StructuredGridReader|Read a structured grid (.vtk) file]] || {{VTKDoxygenURL|vtkStructuredGridReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/StructuredPointsReader | StructuredPointsReader]] || {{VTKDoxygenURL|vtkStructuredPointsReader}} ||
 
|}
 
 
 
''External Formats''
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadSimpleXYZFile | Read a simple "xyz" file of points]] || {{VTKDoxygenURL|vtkSimplePointsReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ParticleReader|Read an "xyza" file]] || {{VTKDoxygenURL|vtkParticleReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadPlainText | Read a plain text file into a polydata]] || {{VTKDoxygenURL|vtkPolyData}} || Manually read a file using getline()
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/ReadDelimitedFile | Read a delimited file into a polydata]] || {{VTKDoxygenURL|vtkDelimitedTextReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadOBJ | Read an OBJ (.obj) File]] || {{VTKDoxygenURL|vtkOBJReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadDICOMSeries | Convert a series of DICOM files into a VTI File]] || {{VTKDoxygenURL|vtkDICOMImageReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/VRML|Read a VRML (WRL) file]] || {{VTKDoxygenURL|vtkVRMLImporter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadDICOM | Read DICOM file]] || {{VTKDoxygenURL|vtkDICOMImageReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/DumpXMLFile|Report the contents of a VTK XML or legacy file]] || {{VTKDoxygenURL|vtkDataSetReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/DEMReader | Read DEM (elevation map) files]] || {{VTKDoxygenURL|vtkDEMReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadTIFF | Read TIFF (.tif) files]] || {{VTKDoxygenURL|vtkTIFFReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadBMP | Read BMP (.bmp) files]] || {{VTKDoxygenURL|vtkBMPReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadSTL | Read stereo lithography STL (.stl) files]] || {{VTKDoxygenURL|vtkSTLReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadPLY | Read PLY (.ply) files]] || {{VTKDoxygenURL|vtkPLYReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadPNM | Read PNM (.pnm) files]] || {{VTKDoxygenURL|vtkPNMReader}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadPLOT3D | Read PLOT3D (.bin) files]] || {{VTKDoxygenURL|vtkPLOT3DReader}} || Read CFD (computational fluid dynamics) data produced by PLOT3D.
 
|}
 
 
 
 
 
'''Output'''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteVTU|Write a .vtu file]] || {{VTKDoxygenURL|vtkXMLUnstructuredGridWriter}} || VTU is an "Unstructured Grid". This format allows for 3D data to be stored.
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteVTP|Write a .vtp file]] || {{VTKDoxygenURL|vtkXMLPolyDataWriter}} || VTP is a "PolyData". This format allows for the most complex geometric objects to be stored.
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteTIFF | Write a TIFF (.tif) file]] || {{VTKDoxygenURL|vtkTIFFWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteBMP | Write a BMP (.bmp) file]] || {{VTKDoxygenURL|vtkBMPWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteSTL | Write stereo lithography STL (.stl) files]] || {{VTKDoxygenURL|vtkSTLWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/WritePLY | Write PLY (.ply) files]] || {{VTKDoxygenURL|vtkPLYWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/WritePNM | Write PNM (.pnm) files]] || {{VTKDoxygenURL|vtkPNMWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ExodusIIWriter | Write an ExodusII file]] || {{VTKDoxygenURL|vtkExodusIIWriter}} || Write a time varying file
 
|-
 
| [[VTK/Examples/Cxx/IO/WriteQuadraticSurfaceFile|Write a Quadratic Surface to a VTP file]] || {{VTKDoxygenURL|vtkQuadric}} ||
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/DelimitedTextWriter | Write data to a delimited file]] || {{VTKDoxygenURL|vtkDelimitedTextWriter}} ||
 
|}
 
 
 
=== Geometric Objects ===
 
'''Save to a file'''
 
 
 
In this section, the object is created, added to a polydata object, then written to a .vtp file. The file can be opened in [http://paraview.org/ Paraview] to see the result.
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/ColoredLines  |Colored Lines]] || {{VTKDoxygenURL|vtkCellData}} {{VTKDoxygenURL|vtkLine}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Cube | Cube]] || {{VTKDoxygenURL|vtkCubeSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Disk | Disk]] || {{VTKDoxygenURL|vtkDiskSource}} || A circle with a hole in it.
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Frustum | Frustum]] || {{VTKDoxygenURL|vtkFrustumSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Line | Line]] || {{VTKDoxygenURL|vtkLine}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Hexahedron | Hexahedron]]|| {{VTKDoxygenURL|vtkHexahedron}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Plane | Plane]]|| {{VTKDoxygenURL|vtkPlaneSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/PlatonicSolid | PlatonicSolid]] || {{VTKDoxygenURL|vtkPlatonicSolidSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Point | Point]] || {{VTKDoxygenURL|vtkPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Polygon | Polygon]] || {{VTKDoxygenURL|vtkPolygon}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Quad | Quad]] || {{VTKDoxygenURL|vtkQuad}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Sphere | Sphere]] || {{VTKDoxygenURL|vtkSphereSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Triangle | Triangle (self contained)]] || {{VTKDoxygenURL|vtkTriangle}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/TriangleOnData | Triangle (on large point array)]]|| {{VTKDoxygenURL|vtkTriangle}} ||
 
|}
 
 
 
 
 
'''Display on screen'''
 
 
 
In this section, the object is created and displayed on the screen.
 
 
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Arrow| Display Arrow]] || {{VTKDoxygenURL|vtkArrowSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Axes| Display 3D axes]] || {{VTKDoxygenURL|vtkAxesActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/ColoredLines | Display Colored Lines]] || {{VTKDoxygenURL|vtkLineSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Cone | Display Cone]] || {{VTKDoxygenURL|vtkConeSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Cube | Display Cube]] || {{VTKDoxygenURL|vtkCubeSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/CylinderSource | Display Cylinder]] || {{VTKDoxygenURL|vtkCylinderSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/LongLine | Display long line]] || {{VTKDoxygenURL|vtkLineSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Frustum | Display Frustum]] || {{VTKDoxygenURL|vtkFrustumSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Line | Display Line, set line width]] || {{VTKDoxygenURL|vtkLineSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/OrientedArrow | Display Oriented Arrow]] || {{VTKDoxygenURL|vtkArrowSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Plane | Display Plane]] || {{VTKDoxygenURL|vtkPlaneSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Point | Display Point]] || {{VTKDoxygenURL|vtkPointSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/PolyLine | Display a PolyLine]] || {{VTKDoxygenURL|vtkPolyLine}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Pyramid | Display Pyramid]] || {{VTKDoxygenURL|vtkPyramid}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/RegularPolygonSource | Display Regular Polygon]] || {{VTKDoxygenURL|vtkRegularPolygonSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Sphere | Display Sphere]] || {{VTKDoxygenURL|vtkSphereSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Triangle | Display Triangle]]|| {{VTKDoxygenURL|vtkTriangle}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Polygon | Display Polygon]] || {{VTKDoxygenURL|vtkPolygon}} ||
 
|-
 
| [[VTK/Examples/Cxx/GeometricObjects/Display/Quad | Display Quad]]|| {{VTKDoxygenURL|vtkQuad}} ||
 
|}
 
 
 
 
 
----
 
 
 
=== Implicit Functions ===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/ImplicitFunctions/SampleFunction|Sample and visualize an implicit function]] || {{VTKDoxygenURL|vtkSampleFunction}} ||
 
|}
 
 
 
=== Working with 3D Data ===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DijkstraGeodesicPath|Find the shortest path between two points on a mesh]] || {{VTKDoxygenURL|vtkPolygonalSurfaceContourLineInterpolator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/RuledSurfaceFilter|Create a surface between lines]] || {{VTKDoxygenURL|vtkRuledSurfaceFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/SelectPolyData|Select a region of a mesh]] || {{VTKDoxygenURL|vtkSelectPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CleanPolyData|Remove coincident points]] || {{VTKDoxygenURL|vtkCleanPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CellPointNeighbors|Determine which cells share a single point with a specific cell]] || vtkPolyData::GetCellNeighbors ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CellEdgeNeighbors|Determine which cells share an edge with a specific cell]] || vtkPolyData::GetCellNeighbors ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataIsoLines|Iso lines on the surface of a polydata]] || {{VTKDoxygenURL|vtkBandedPolyDataContourFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/SmoothPolyDataFilter|Laplacian smoothing]] || {{VTKDoxygenURL|vtkSmoothPolyDataFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ClosedSurface|Check if a surface is closed]] || {{VTKDoxygenURL|vtkFeatureEdges}} ||
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/KMeansClustering|KMeans Clustering]] || {{VTKDoxygenURL|vtkKMeansStatistics}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/WarpScalar|Move vertices along normals]] || {{VTKDoxygenURL|vtkWarpScalar}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/VertexConnectivity|Get a list of vertices attached (through an edge) to a vertex]] || vtkPolyData::GetCellPoints || Vertex connectivity
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DeletePoint|DeletePoint]] || {{VTKDoxygenURL|vtkPoints}}, {{VTKDoxygenURL|vtkPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/Curvatures|Compute Gaussian, Mean, Min, and Max Curvatures]] || {{VTKDoxygenURL|vtkCurvatures}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ThinPlateSplineTransform|ThinPlateSplineTransform]] || {{VTKDoxygenURL|vtkThinPlateSplineTransform}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointCellIds|Generate point and cell id arrays]] || {{VTKDoxygenURL|vtkIdFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/Reflection|Mirror a DataSet]] || {{VTKDoxygenURL|vtkReflectionFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PerspectiveTransform|Apply a perspective transformation to a point]] || {{VTKDoxygenURL|vtkPerspectiveTransform}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CellCenters|Compute points at the center of every cell]] || {{VTKDoxygenURL|vtkCellCenters}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/AppendPoints|Combine the points of multiple PolyData datasets]] || {{VTKDoxygenURL|vtkAppendPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ExtractSelection|Extract selection points]] || {{VTKDoxygenURL|vtkExtractSelection}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ExtractSelectionCells|Extract selection cells]] || {{VTKDoxygenURL|vtkExtractSelection}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints|Extract points but bring cells that are still complete with them]] || {{VTKDoxygenURL|vtkExtractSelection}}, {{VTKDoxygenURL|vtkSelection}}, {{VTKDoxygenURL|vtkSelectionNode}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MergeSelections|Merge selections]] || {{VTKDoxygenURL|vtkSelection}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/QuantizePolyDataPoints|Snap (quantize) points to a grid]] || {{VTKDoxygenURL|vtkQuantizePolyDataPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkReverseSense|Flip normals]] || {{VTKDoxygenURL|vtkReverseSense}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkPointsProjectedHull|Convex hull of points projected onto the coordinate planes]] || {{VTKDoxygenURL|vtkPointsProjectedHull}} ||
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/SCurveSpline|Create an SCurve spline on a set of points]] || {{VTKDoxygenURL|vtkSCurveSpline}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/KochanekSpline|Create an Kochanek spline on a set of points]] || {{VTKDoxygenURL|vtkKochanekSpline}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ParametricSpline|Create a Cardinal spline on a set of points]] || {{VTKDoxygenURL|vtkCardinalSpline}}, {{VTKDoxygenURL|vtkParametricSpline}}, {{VTKDoxygenURL|vtkParametricFunctionSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/SelectVisiblePoints|Select visible points]] || {{VTKDoxygenURL|vtkSelectVisiblePoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkStripper|Convert triangles to triangle strips]] || {{VTKDoxygenURL|vtkStripper}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DataSetSurfaceFilter|Convert vtkUnstructuredGrid to vtkPolyData]] || {{VTKDoxygenURL|vtkDataSetSurfaceFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/GeometryFilter|Convert vtkUnstructuredGrid to vtkPolyData (another way)]] || {{VTKDoxygenURL|vtkGeometryFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ImplicitModeller|Compute the distance from an object to every point on a uniform grid]] || {{VTKDoxygenURL|vtkImplicitModeller}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointLocator_Radius|Find all points within a radius of a specified point]] || {{VTKDoxygenURL|vtkPointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TransformFilter|Transform a data set]] || {{VTKDoxygenURL|vtkTransformFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/InterpolateTerrain|Interpolate terrain]] || {{VTKDoxygenURL|vtkProbeFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataPointSampler|Sample a PolyData]] || {{VTKDoxygenURL|vtkPolyDataPointSampler}} || Sample the edges or surfaces of a polydata.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CellLocatorVisualization|Visualization of the tree of a vtkCellLocator]] || {{VTKDoxygenURL|vtkCellLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointLocatorVisualization|Visualization of the tree of a vtkPointLocator]] || {{VTKDoxygenURL|vtkPointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointLocator|Efficient 3D point query]] || {{VTKDoxygenURL|vtkPointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CellLocator|Efficient 3D cell query]] || {{VTKDoxygenURL|vtkCellLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MaskPoints|Select a subset (mask) of a point set]] || {{VTKDoxygenURL|vtkMaskPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointSource|Generate a random point cloud]] || {{VTKDoxygenURL|vtkPointSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/LinearExtrusion|Linear Extrusion]] || {{VTKDoxygenURL|vtkLinearExtrusionFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/RotationAroundLine|Rotation around a line]] || {{VTKDoxygenURL|vtkTransform}}, {{VTKDoxygenURL|vtkTransformPolyDataFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkPolyDataConnectivityFilter_LargestRegion | Extract the largest connected region in a polydata]]  || {{VTKDoxygenURL|vtkPolyDataConnectivityFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkPolyDataConnectivityFilter_SpecifiedRegion | Extract a specific (specified) connected region in a polydata]] || {{VTKDoxygenURL|vtkPolyDataConnectivityFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ExtractOutsideSurface | Extract the outer surface of a multiple surface polydata]] || {{VTKDoxygenURL|vtkPolyDataConnectivityFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ContoursToSurface | vtkVoxelContoursToSurfaceFilter]] || {{VTKDoxygenURL|vtkVoxelContoursToSurfaceFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TubeFilter|vtkTubeFilter]] || {{VTKDoxygenURL|vtkTubeFilter}} || Give lines a thickness (produce a cylinder around lines.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/RibbonFilter|vtkRibbonFilter]] || {{VTKDoxygenURL|vtkRibbonFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ConvexHull_ShrinkWrap | Convex hull using shrink wrapping]] || {{VTKDoxygenURL|vtkSmoothPolyDataFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ConvexHull_vtkDelaunay3D | Convex hull using vtkDelaunay3D]] || {{VTKDoxygenURL|vtkDelaunay3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ConvexHull_vtkDelaunay3D_RealData | Convex hull using vtkDelaunay3D and real data]] || {{VTKDoxygenURL|vtkDelaunay3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ConvexHull_vtkHull | Convex hull using vtkHull]] || {{VTKDoxygenURL|vtkHull}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointInsideObject | Check if a point is inside an object]] || {{VTKDoxygenURL|vtkSelectEnclosedPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PointInsideObject2 | Check if a point is inside an object (alternate method)]] || {{VTKDoxygenURL|vtkDelaunay3D}}, vtkPolyData::FindCell || This uses a Delaunay triangulation to compute a volume. This gives more of an "is inside convex hull" effect than an "is inside object".
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DataBounds|Data Bounds]] || vtkPolyData::GetBounds || Get the minimum and maximum value in each dimension.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TransformOrderDemo|Demonstrate how the order of applying transforms affects the result]] || {{VTKDoxygenURL|vtkTransformPolyDataFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/Outline|Outline]] || {{VTKDoxygenURL|vtkOutlineFilter}} || Draw the bounding box of the data
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TriangleArea|Triangle Area]] || vtkTriangle::TriangleArea || Compute the area of all triangles in a polydata.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/Silhouette|Silhouette]] || {{VTKDoxygenURL|vtkPolyDataSilhouette}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MeshQuality|Mesh Quality]] || {{VTKDoxygenURL|vtkMeshQuality}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/HighlightBadCells|Highlight Bad Cells]] || {{VTKDoxygenURL|vtkMeshQuality}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ThresholdingPoints|Thresholding Points]] || {{VTKDoxygenURL|vtkThresholdPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ThresholdingCells|Thresholding Cells]] || {{VTKDoxygenURL|vtkThreshold}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ProcrustesAlignmentFilter|Align point sets]] || {{VTKDoxygenURL|vtkProcrustesAlignmentFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/GradientFilter|Compute the gradient of a scalar field on a data set]] || {{VTKDoxygenURL|vtkGradientFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataToImageData|Generate a binarized volume from a closed surface]] || {{VTKDoxygenURL|vtkPolyDataToImageStencil}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataContourToImageData|Generate a binarized image from a closed contour]] || {{VTKDoxygenURL|vtkLinearExtrusionFilter}},{{VTKDoxygenURL|vtkPolyDataToImageStencil}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ExtractPolyLinesFromPolyData|Extract polylines from polydata]] || {{VTKDoxygenURL|vtkPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/FitSplineToCutterOutput|Fit a spline to cutter output]] || {{VTKDoxygenURL|vtkKochanekSpline}}, {{VTKDoxygenURL|vtkSplineFilter}}, {{VTKDoxygenURL|vtkSpline}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MergePoints|Remove duplicate (merge) points]] || {{VTKDoxygenURL|vtkMergePoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DecimatePolyline|Decimate polyline]] || {{VTKDoxygenURL|vtkDecimatePolylineFilter}} ||
 
|}
 
 
 
 
 
'''Adding Colors to Polydata'''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ColoredPoints|Colored Points]] || {{VTKDoxygenURL|vtkUnsignedCharArray}} || Add three points to a polydata and associate a color with each of them.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TriangleColoredPoints|Triangle - Colored Points]] || {{VTKDoxygenURL|vtkUnsignedCharArray}} || Set the color of each point of a triangle. You will be able to interpolate the colors across the triangle.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/TriangleSolidColor|Triangle - Solid Color]] || {{VTKDoxygenURL|vtkUnsignedCharArray}} || Create a solid colored triangle.
 
|-
 
| [[VTK/Examples/Cxx/PolyData/ColorCells|Color Cells]] || {{VTKDoxygenURL|vtkLookupTable}} || Color individual cells of a polydata
 
|}
 
 
 
 
 
'''Adding Normals to Polydata'''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataCellNormals|Add/Get Normals to/from cells in a Polydata]] || {{VTKDoxygenURL|vtkCellData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataPointNormals|Add/Get Normals to/from points in a Polydata]] || {{VTKDoxygenURL|vtkPointData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/AddLineToPolydata|Add a line to a PolyData]] || {{VTKDoxygenURL|vtkLine}}, {{VTKDoxygenURL|vtkPolyData}}||
 
|}
 
 
 
 
 
'''Non-standard Data'''
 
These examples show how to attach your own, nonstandard fields to every point or cell in a polydata.
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MiscPointData|Add Miscellaneous Data to Points in a Polydata]] || {{VTKDoxygenURL|vtkPointData}}, {{VTKDoxygenURL|vtkFloatArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/GetMiscPointData|Get Miscellaneous Data from Points in a Polydata]] || {{VTKDoxygenURL|vtkDoubleArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/MiscCellData|Add Miscellaneous Data to Cells in a Polydata]] || {{VTKDoxygenURL|vtkCellData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/GetMiscCellData|Get Miscellaneous Data from Cells in a Polydata]] || {{VTKDoxygenURL|vtkCellData}} ||
 
|}
 
 
 
 
 
'''Point cloud operations'''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DownsamplePointCloud|Downsample a point cloud]] || {{VTKDoxygenURL|vtkCleanPolyData}} || Remove points so that there are no points within a tolerance of any point.
 
|}
 
 
 
'''Miscellaneous (Field) Data'''
 
Three types of data can be stored in a polydata object, PointData, CellData, and FieldData. For PointData, there must be a piece of data associated with each point (e.g. a temperature data array with the temperature at each point). For CellData, there must be a piece of data associated with each cell (e.g. the area of each triangle). For data that does not align with either points or cells, FieldData should be used. This is typically data that describes the dataset as a whole. An example could be the name of the dataset, or the center of mass of the points, etc.
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/FieldData|Add Global Miscellaneous Data (FieldData) to a Polydata]] || {{VTKDoxygenURL|vtkFieldData}} ||
 
|}
 
 
 
 
 
'''Global Operations on PolyData'''
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/PolyData/PolyDataExtractNormals|Extract Normals from a Polydata]] || {{VTKDoxygenURL|vtkPolyDataNormals}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/FindAllArrayNames|Get the names of all of the data arrays]]|| {{VTKDoxygenURL|vtkPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/DetermineArrayDataTypes|Determine data types of arrays]]|| {{VTKDoxygenURL|vtkPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/EmbedPointsIntoVolume|Embed points into a volume]]|| {{VTKDoxygenURL|vtkGaussianSplatter}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/CopyAllArrays|Copy all arrays from one vtkPolyData to another]]|| {{VTKDoxygenURL|vtkPolyData}} ||
 
|}
 
 
 
=== Working with Stuctured 3D Data ===
 
This section includes vtkImageData, vtkStructuredGrid, and vtkRectilinearGrid.
 
 
 
"ImageData" is not the traditional "flat, 2D image" you are used to. It is a special VTK data structure in the collection of 3D data structures provided by VTK. Here is an overview of these data structures: [http://vtk.org/Wiki/VTK/Tutorials/3DDataTypes]. Image data can represent at typical 2D image, but also, a 3D volume.
 
 
 
==== vtkImageData ====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/ImageData/IterateImageData|Iterating over a vtkImageData]] || {{VTKDoxygenURL|vtkImageData}} || Set and access locations in a 3D image.
 
|-
 
| [[VTK/Examples/Cxx/ImageData/vtkImageNormalize|Normalize an image]] || {{VTKDoxygenURL|vtkImageNormalize}} ||
 
|-
 
| [[VTK/Examples/Cxx/ImageData/vtkExtractVOI|Extract a volume of interest (subvolume)]] || {{VTKDoxygenURL|vtkExtractVOI}} ||
 
|-
 
| [[VTK/Examples/Cxx/ImageData/vtkImageWeightedSum|Add two or more images]] || {{VTKDoxygenURL|vtkImageWeightedSum}} ||
 
|-
 
| [[VTK/Examples/Cxx/ImageData/ImageDataGeometryFilter|Convert a vtkImageData to a vtkPolyData]] || {{VTKDoxygenURL|vtkImageDataGeometryFilter}} ||
 
|}
 
 
 
==== vtkStructuredGrid ====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/StructuredGrid/StructuredGrid|Structured Grid]] || {{VTKDoxygenURL|vtkStructuredGrid}} ||
 
|-
 
| [[VTK/Examples/Cxx/StructuredGrid/VisualizeStructuredGrid|Visualize the points of a structured grid]] || {{VTKDoxygenURL|vtkStructuredGridGeometryFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/StructuredGrid/OutlineStructuredGrid|Visualize the outline of a structured grid]] || {{VTKDoxygenURL|vtkStructuredGridOutlineFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/StructuredGrid/VisualizeStructuredGridCells|Visualize the cells of a structured grid]] || {{VTKDoxygenURL|vtkShrinkFilter}} ||
 
|}
 
 
 
==== vtkStructuredPoints ====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/StructuredPoints/StructuredPointsToUnstructuredGrid|Convert a vtkStructuredPoints to a vtkUnstructuredGrid]] || {{VTKDoxygenURL|vtkStructuredPoints}}, {{VTKDoxygenURL|vtkUnstructuredGrid}}||
 
|}
 
 
 
==== vtkRectilinearGrid ====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/RectilinearGrid/RectilinearGrid|Rectilinear grid]] || {{VTKDoxygenURL|vtkRectilinearGrid}} ||
 
|-
 
| [[VTK/Examples/Cxx/RectilinearGrid/VisualizeRectilinearGridCells|Visualize the cells of a rectilinear grid]] || {{VTKDoxygenURL|vtkRectilinearGrid}}, {{VTKDoxygenURL|vtkShrinkFilter}}||
 
|-
 
| [[VTK/Examples/Cxx/RectilinearGrid/RectilinearGridToTetrahedra|Convert a vtkRectilinearGrid to a vtkUnstructuredGrid mesh]] || {{VTKDoxygenURL|vtkRectilinearGridToTetrahedra}} ||
 
|}
 
 
 
===Utilities===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Utilities/BrownianPoints|Produce a random vector at each point in a dataset]] || {{VTKDoxygenURL|vtkBrownianPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/vtkVector|Mathematical vector class]] || {{VTKDoxygenURL|vtkVector}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/vtkPCAStatistics|Compute Principle Component Analysis (PCA) values]] || {{VTKDoxygenURL|vtkPCAStatistics}} ||
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/PassThrough|Pass input along to output]] || {{VTKDoxygenURL|vtkPassThrough}} ||
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/ArrayToTable|Convert a vtkDenseArray to a vtkTable]] || {{VTKDoxygenURL|vtkArrayToTable}} ||
 
|-
 
| [[VTK/Examples/Cxx/Developers/ProgressReport|Filter progress report]] || vtkCommand::ProgressEvent || Get the progress of a filter.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/CardinalSpline|Cardinal spline Interpolation]] || {{VTKDoxygenURL|vtkCardinalSpline}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/ShepardMethod|Shepard method interpolation]] || {{VTKDoxygenURL|vtkShepardMethod}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/TimerLog|Timer log]] || {{VTKDoxygenURL|vtkTimerLog}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/TimeStamp|Time stamp]] || {{VTKDoxygenURL|vtkTimeStamp}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/FileOutputWindow|File Output Window]] || {{VTKDoxygenURL|vtkFileOutputWindow}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/CommandSubclass|Subclass vtkCommand]] || {{VTKDoxygenURL|vtkCommand}} || Instead of using a callback function, it is more powerful to subclass vtkCommand.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/PiecewiseFunction|Interpolation using a piecewise function]] || {{VTKDoxygenURL|vtkPiecewiseFunction}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/Variant|Convert between data types]] || {{VTKDoxygenURL|vtkVariant}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/Coordinate|Coordinate system conversions]]|| {{VTKDoxygenURL|vtkCoordinate}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/CheckVTKVersion|Check VTK Version]] || {{VTKDoxygenURL|vtkVersion}} || vtkVersion and some #define's
 
|-
 
| [[VTK/Examples/Cxx/Utilities/ColorLookupTable|Color Lookup Table]] || {{VTKDoxygenURL|vtkLookupTable}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/ColorTransferFunction|Color Transfer Function]] || {{VTKDoxygenURL|vtkColorTransferFunction}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DiscretizableColorTransferFunction|Discretizable Color Transfer Function]] || {{VTKDoxygenURL|vtkDiscretizableColorTransferFunction}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/ConstructTable|Construct a Table]] || {{VTKDoxygenURL|vtkTable}} || A table is a 2D array of any type of elements. They do not all have to be the same type. This is achieved using vtkVariant.
 
|-
 
| [[VTK/Examples/Cxx/Filtering/Delaunay2D|Delaunay Triangulation (2D)]] || {{VTKDoxygenURL|vtkDelaunay2D}} || Perform a 2D Delaunay triangulation on a point set.
 
|-
 
| [[VTK/Examples/Cxx/Filtering/ConstrainedDelaunay2D|Constrained Delaunay Triangulation (2D)]] ||  {{VTKDoxygenURL|vtkDelaunay2D}} || Perform a 2D Delaunay triangulation on a point set respecting a specified boundary.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/KnownLengthArray|Known Length Array]] || {{VTKDoxygenURL|vtkFloatArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/UnknownLengthArray|Unknown Length Array]] || {{VTKDoxygenURL|vtkFloatArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/KnownLengthArrayOfVectors|Array of Vectors (Known Length)]] || {{VTKDoxygenURL|vtkFloatArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/UnknownLengthArrayOfVectors|Array of Vectors (Unknown Length)]] || {{VTKDoxygenURL|vtkFloatArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DenseArrayRange|Get the bounds of a vtkDenseArray]] || {{VTKDoxygenURL|vtkDenseArray}}, {{VTKDoxygenURL|vtkArrayRange}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/ArrayRange|Get the bounds (min,max) of a vtk array]] || vtkFloatArray::GetRange ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/2DArray|2D Array]] || {{VTKDoxygenURL|vtkDenseArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/3DArray|3D Array]] || {{VTKDoxygenURL|vtkDenseArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/CustomType2DArray|Custom type 2D Array]] || {{VTKDoxygenURL|vtkDenseArray}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DetermineVariableType|Determine the type of a VTK variable]] || GetClassName() ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DetermineActorType|Determine the type of an actor]] || {{VTKDoxygenURL|vtkActor}}, {{VTKDoxygenURL|vtkActorCollection}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/Screenshot|Screenshot]] || {{VTKDoxygenURL|vtkWindowToImageFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DirectoryFileExtensions|Directory File Extensions]] || {{VTKDoxygenURL|vtkDirectory}}, vtksys/SystemTools ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/FilenameFunctions|FilenameFunctions]] || {{VTKDoxygenURL|vtkDirectory}}, vtksys/SystemTools || Do things like get the file extension, strip the file extension, etc.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/Timer|Timer]] || vtkRenderWindowInteractor::CreateRepeatingTimer ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/Animation|Animation]] || vtkRenderWindowInteractor::CreateRepeatingTimer || Move a sphere across a scene.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DataAnimation|Data Animation]] || {{VTKDoxygenURL|vtkCallbackCommand}}, {{VTKDoxygenURL|vtkProgrammableFilter}} || Update points in a dataset every specified interval.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/DataAnimationSubclass|Data Animation (subclass)]] || {{VTKDoxygenURL|vtkCommand}}, {{VTKDoxygenURL|vtkProgrammableFilter}}|| Update points in a dataset every specified interval (using a vtkCommand subclass instead of a callback function.
 
|-
 
| [[VTK/Examples/Cxx/Utilities/OffScreenRendering|Off Screen Rendering]] || {{VTKDoxygenURL|vtkImagingFactory}}, {{VTKDoxygenURL|vtkGraphicsFactory}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/FunctionParser|String function parser]] || {{VTKDoxygenURL|vtkFunctionParser}} ||
 
|-
 
| [[VTK/Examples/Cxx/Utilities/WindowModifiedEvent|Catch the window modified event]] || {{VTKDoxygenURL|vtkRenderWindow}} ||
 
|}
 
 
 
===Math Operations===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Math/LeastSquares|Least Squares]] || vtkMath::SolveLeastSquares ||
 
|-
 
| [[VTK/Examples/Cxx/Math/HomogeneousLeastSquares|Homogeneous Least Squares]] || vtkMath::SolveHomogeneousLeastSquares ||
 
|-
 
| [[VTK/Examples/Cxx/Math/EigenSymmetric|Compute eigenvalues and eigenvectors of a symmetric matrix]] || vtkMath::Jacobi ||
 
|-
 
| [[VTK/Examples/Cxx/Math/MatrixTranspose|Matrix transpose]] || {{VTKDoxygenURL|vtkMatrix3x3}} ||
 
|-
 
| [[VTK/Examples/Cxx/Math/MatrixInverse|Matrix inverse]] || {{VTKDoxygenURL|vtkMatrix3x3}} ||
 
|-
 
| [[VTK/Examples/Cxx/Math/PerpendicularVector|Get a vector perpendicular to another vector]]|| vtkMath::Perpendiculars ||
 
|-
 
| [[VTK/Examples/Cxx/Math/VectorNorm|Get the lengths of an array of vectors]]|| {{VTKDoxygenURL|vtkVectorNorm}} ||
 
|}
 
 
 
===Graphs===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Graphs/AdjacentVertexIterator|Get all vertices connected to a specified vertex]] || {{VTKDoxygenURL|vtkAdjacentVertexIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/ExtractSelectedGraph|Extract a subgraph]] || {{VTKDoxygenURL|vtkExtractSelectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/EdgeWeights|Edge weights]] || vtkGraph::GetEdgeData::AddArray ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/IterateEdges|Iterate over edges]] || {{VTKDoxygenURL|vtkEdgeListIterator}}, {{VTKDoxygenURL|vtkInEdgeIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/BFSTree|Breadth first search tree]] || {{VTKDoxygenURL|vtkBoostBreadthFirstSearchTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/BreadthFirstDistance|Distance from origin]] || {{VTKDoxygenURL|vtkBoostBreadthFirstSearch}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/ColorVertices|Color vertices]] || {{VTKDoxygenURL|vtkGraphLayoutView}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/ConstructGraph|Construct a graph]] || {{VTKDoxygenURL|vtkMutableUndirectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/ConstructTree|Construct a tree]] || {{VTKDoxygenURL|vtkTree}}, {{VTKDoxygenURL|vtkMutableDirectedGraph}}  ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/MinimumSpanningTree|Minimum spanning tree of a graph]] || {{VTKDoxygenURL|vtkBoostPrimMinimumSpanningTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/DepthFirstSearchIterator|Depth First Search iterator]] || {{VTKDoxygenURL|vtkTreeDFSIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/BreadthFirstSearchIterator|Breadth First Search iterator]] || {{VTKDoxygenURL|vtkTreeBFSIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/VisualizeGraph|Visualize a graph]] || {{VTKDoxygenURL|vtkGraphLayoutView}}, {{VTKDoxygenURL|vtkGraphLayoutStrategy}}, {{VTKDoxygenURL|vtkSimple2DLayoutStrategy}}||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/LabelVerticesAndEdges|Label vertices and edges]] || vtkGraphLayoutView::SetEdgeLabelArrayName, vtkGraphLayoutView::SetVertexLabelArrayName||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/ConnectedComponents|Find Connected Components]] || {{VTKDoxygenURL|vtkBoostConnectedComponents}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/GraphToPolyData|Convert a graph to a PolyData]] || {{VTKDoxygenURL|vtkGraphToPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/VisualizeDirectedGraph|Visualize Directed Graph]] || {{VTKDoxygenURL|vtkGlyphSource2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/RandomGraphSource|Create a random graph]] || {{VTKDoxygenURL|vtkRandomGraphSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/DFSAnimation|Depth First Search Animation]] || {{VTKDoxygenURL|vtkTreeDFSIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/RemoveIsolatedVertices|Remove vertices of degree 0 from a vtkGraph]] || {{VTKDoxygenURL|vtkRemoveIsolatedVertices}} ||
 
|}
 
 
 
===Graph Conversions===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Graphs/Conversions/MutableDirectedGraphToDirectedGraph|vtkMutableDirectedGraph to vtkDirectedGraph]] || {{VTKDoxygenURL|vtkMutableDirectedGraph}}, {{VTKDoxygenURL|vtkDirectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/Conversions/DirectedGraphToMutableDirectedGraph| vtkDirectedGraph to vtkMutableDirectedGraph]] || {{VTKDoxygenURL|vtkMutableDirectedGraph}}, {{VTKDoxygenURL|vtkDirectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Graphs/Conversions/TreeToMutableDirectedGraph| vtkTree to vtkMutableDirectedGraph]] || {{VTKDoxygenURL|vtkMutableDirectedGraph}}, {{VTKDoxygenURL|vtkTree}} ||
 
 
 
|}
 
 
 
===Graph Conversions That Don't Work===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Broken/Graphs/Conversions/MutableDirectedGraphToMutableUndirectedGraph|vtkMutableDirectedGraph to vtkMutableUndirectedGraph]] || {{VTKDoxygenURL|vtkMutableDirectedGraph}}, {{VTKDoxygenURL|vtkMutableUndirectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Broken/Graphs/Conversions/MutableUndirectedGraphToMutableDirectedGraph|vtkMutableUndirectedGraph to vtkMutableDirectedGraph]] || {{VTKDoxygenURL|vtkMutableDirectedGraph}}, {{VTKDoxygenURL|vtkMutableUndirectedGraph}} ||
 
|-
 
| [[VTK/Examples/Cxx/Broken/Graphs/Conversions/TreeToMutableUndirectedGraph|vtkTree to vtkMutableUndirectedGraph]] || {{VTKDoxygenURL|vtkTree}}, {{VTKDoxygenURL|vtkMutableUndirectedGraph}} ||
 
|}
 
 
 
===Data Structures===
 
* [[VTK/Examples/DataStructures/Comparison|Data structure comparison]] || {{VTKDoxygenURL|vtkKdTree}}, {{VTKDoxygenURL|vtkOBBTree}}, {{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
 
 
====KD-Tree====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/vtkKdTree_BuildLocatorFromPoints_ClosestPoint|vtkKdTree_BuildLocatorFromPoints]] || {{VTKDoxygenURL|vtkKdTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/vtkKdTree_BuildLocatorFromPoints_ClosestKPoints|vtkKdTree_BuildLocatorFromPoints_ClosestKPoints]] || {{VTKDoxygenURL|vtkKdTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/KDTree_AccessPoints|Access the points of a KDTree]] || {{VTKDoxygenURL|vtkKdTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/KdTreePointLocator/ClosestPoint|Find the closest point to a query point]] || {{VTKDoxygenURL|vtkKDTreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/KdTreePointLocator/ClosestNPoints|Find the closest N points to a query point]] || {{VTKDoxygenURL|vtkKDTreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/VisualizeKDTree|Generate a mesh of each level of a KDTree]]|| {{VTKDoxygenURL|vtkKDTreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/KDTree/FindPointsWithinRadius|Find points within a specified radius of  a query point]]|| {{VTKDoxygenURL|vtkKdTreePointLocator}} ||
 
|}
 
 
 
====Oriented Bounding Box Tree====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/OBBTree|OBBTree]] || {{VTKDoxygenURL|vtkOBBTree}} || Oriented Bounding Box Tree
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/VisualizeOBBTree|Generate a mesh of each level of an OBBTree]]|| {{VTKDoxygenURL|vtkOBBTree}} ||
 
|}
 
 
 
====Octree====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/Octree/BuildTree|Create an octree]] || {{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/Octree/ClosestPoint|Find the closest point to a query point]] || {{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/Octree/KClosestPoints|Find the K closest points to a query point]] || {{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/Octree/FindPointsWithinRadius|Find the points within a sphere of specified radius to a query point]] || {{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/Octree/VisualizeOctree|Generate a mesh of each level of an octree]] ||{{VTKDoxygenURL|vtkOctreePointLocator}} ||
 
|}
 
 
 
====Modified BSP Tree====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/ModifiedBSPTree/BuildModifiedBSPTree|Create a modified BSP Tree]] || {{VTKDoxygenURL|vtkModifiedBSPTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/DataStructures/ModifiedBSPTree/VisualizeModifiedBSPTree|Generate a mesh of each level of an modified BSP tree]] || {{VTKDoxygenURL|vtkModifiedBSPTree}} ||
 
|}
 
 
 
===Filters===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Filters/AppendFilter | Append different types of data]] || {{VTKDoxygenURL|vtkAppendFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/PerlinNoise | Perlin Noise]] || {{VTKDoxygenURL|vtkPerlinNoise}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/Circle| Create a circle]] || {{VTKDoxygenURL|vtkCutter}} || Create a circle by cutting through a sphere.
 
|-
 
| [[VTK/Examples/Cxx/Filters/CombinePolydata| Combine/Append PolyData]] || {{VTKDoxygenURL|vtkAppendPolydata}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/GaussianSplat|Create a surface from Unorganized Points (Gaussian Splat)]] || {{VTKDoxygenURL|vtkGaussianSplatter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/ICPInputData|Iterative Closest Points (ICP) Transform]] || {{VTKDoxygenURL|vtkIterativeClosestPointTransform}} || Input data.
 
|-
 
| [[VTK/Examples/Cxx/Filters/IterativeClosestPointsTransform|Iterative Closest Points (ICP) Transform]] || {{VTKDoxygenURL|vtkIterativeClosestPointTransform}} || Generated data.
 
|-
 
| [[VTK/Examples/Cxx/Filters/LandmarkTransform|Landmark Transform]] || {{VTKDoxygenURL|vtkLandmarkTransform}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/ProgrammableFilter | Create a custom filter without subclassing]] || {{VTKDoxygenURL|vtkProgrammableFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/SurfaceFromUnorganizedPointsWithPostProc|Create a surface from Unorganized Points (with post processing)]] || {{VTKDoxygenURL|vtkSurfaceReconstructionFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/SurfaceFromUnorganizedPoints|Create a surface from Unorganized Points]] || {{VTKDoxygenURL|vtkSurfaceReconstructionFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/TransformPolyData | Apply a Transformation to a PolyData]] || {{VTKDoxygenURL|vtkTransformPolyDataFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/TriangulateTerrainMap|Triangulate a Terrain Map]] || {{VTKDoxygenURL|vtkDelaunay2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Filters/vtkGlyph2D | vtkGlyph2D]] || {{VTKDoxygenURL|vtkGlyph2D}}||
 
|-
 
| [[VTK/Examples/Cxx/Filters/vtkGlyph3D | vtkGlyph3D]] || {{VTKDoxygenURL|vtkGlyph3D}}||
 
|-
 
| [[VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter | Add a vertex to each point]] || {{VTKDoxygenURL|vtkVertexGlyphFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Medical/GenerateCubesFromLabels|Create cubes from labeled volume data]] || {{VTKDoxygenURL|vtkMetaImageReader}}, {{VTKDoxygenURL|vtkMaskFields}} ||
 
|-
 
| [[VTK/Examples/Cxx/Medical/GenerateModelsFromLabels|Create models from labeled volume data (Discrete MarchingCubes)]] || {{VTKDoxygenURL|vtkDiscreteMarchingCubes}} ||
 
|-
 
| [[VTK/Examples/Cxx/Modelling/Delaunay3DAlpha|Create a solid mesh from Unorganized Points (Delaunay3D with Alpha)]] || {{VTKDoxygenURL|vtkDelaunay3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Modelling/Delaunay3D|Create a solid mesh from Unorganized Points (Delaunay3D)]] || {{VTKDoxygenURL|vtkDelaunay3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Modelling/ExtractLargestIsosurface|Extract largest isosurface]] || {{VTKDoxygenURL|vtkPolyDataConnectivityFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/VisualizationAlgorithms/BandedPolyDataContourFilter|BandedPolyDataContourFilter]] || {{VTKDoxygenURL|vtkBandedPolyDataContourFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/VisualizationAlgorithms/FilledContours|Create filled contours (vtkClipPolyData)]] || {{VTKDoxygenURL|vtkContourFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/VisualizationAlgorithms/TubesWithVaryingRadiusAndColors|Create tubes with varying radius and colors]] || {{VTKDoxygenURL|vtkTubeFilter}} ||
 
|}
 
 
 
===Visualization===
 
See [[http://www.cs.uic.edu/~jbell/CS526/Tutorial/Mappers.html this]] for a brief explanation of the VTK terminology of mappers, actors, etc.
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ViewOrder|Order cells from a viewing direction]] || {{VTKDoxygenURL|vtkKdTree}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/BackfaceCulling| Backface culling]] || vtkActor::GetProperty::BackfaceCullingOn ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/BackgroundColor | Background color]] || vtkRenderer::SetBackground ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/BackgroundGradient | Background gradient]] || vtkRenderer::GradientBackgroundOn, vtkRenderer::Setbackground2 ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/CameraActor | CameraActor]] || {{VTKDoxygenURL|vtkCameraActor}} || Visualize a camera (frustum) in a scene.
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ClipArt | Generate 3D clip art from an image]] || {{VTKDoxygenURL|vtkTextureMapToPlane}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/CloseWindow|Close a render window]] || vtkRenderWindowInteractor::TerminateApp, vtkRenderWindow::Finalize ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ColorAnActor | Color an Actor]] || vtkActor::GetProperty::SetColor ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ColorEdges | Color the edges of an Actor]] || vtkActor::GetProperty::SetEdgeColor ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ColorGlyphs|Color glyphs]] || {{VTKDoxygenURL|vtkGlyph3D}} vtkGlyph3D::SetColorModeToColorByScalar ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/CornerAnnotation| Corner annotation]] || {{VTKDoxygenURL|vtkCornerAnnotation}} || Write text in the corners of a window.
 
|-
 
| [[VTK/Examples/Cxx/Visualization/CorrectlyRenderingTranslucentGeometry|Correctly Rendering Translucent Geometry]] || {{VTKDoxygenURL|vtkDepthSortPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/CubeAxesActor|Display three orthogonal axes with labels]] || {{VTKDoxygenURL|vtkCubeAxesActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Cursor3D|vtkCursor3D]] || {{VTKDoxygenURL|vtkCursor3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/DisplayCoordinateAxes|Display coordinate axes]] || {{VTKDoxygenURL|vtkOrientationMarkerWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/DisplayText|Display Text]] || {{VTKDoxygenURL|vtkTextActor}}, {{VTKDoxygenURL|vtkTextProperty}} ||
 
|-
 
| [[VTK/Examples/Cxx/Views/EasierRendering|A little bit easier rendering]] || {{VTKDoxygenURL|vtkRenderView}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/FlatShading | FlatShading]] || vtkActor::GetProperty::SetInterpolationToFlat ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Follower | Draw text that stays right side up]] || {{VTKDoxygenURL|vtkFollower}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/HideActor|Hide an actor]] || {{VTKDoxygenURL|vtkPropCollection}}, vtkProp::VisibilityOff ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/HideAllActors|Hide all actors]] || vtkRenderer::RemoveAllViewProps ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/LODProp3D | Level of detail rendering]] || {{VTKDoxygenURL|vtkLODProp3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/LabelContours|Label Contours]] || {{VTKDoxygenURL|vtkLabeledDataMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/LabeledDataMapper|Display the point ID at each point]] || {{VTKDoxygenURL|vtkLabeledDataMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Legend | Legend]] || {{VTKDoxygenURL|vtkLegendBoxActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/LegendScaleActor|Display the scale of a scene]] || {{VTKDoxygenURL|vtkLegendScaleActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MovableAxes | Movable axes]] || {{VTKDoxygenURL|vtkFollower}}, {{VTKDoxygenURL|vtkAxesActor}}, {{VTKDoxygenURL|vtkAssembly}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MoveActor|Moving an Actor]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MoveCamera|Moving the Camera]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballCamera}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MultipleActors|Multiple Actors]] || {{VTKDoxygenURL|vtkActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/NoShading | NoShading]] || vtkActor::GetProperty::SetAmbient, vtkActor::GetProperty::SetDiffuse, vtkActor::GetProperty::SetSpecular ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Opacity|Opacity]] || vtkActor::GetProperty::SetOpacity ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/PointSize | PointSize]] || vtkActor::GetProperty::SetPointSize ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/PolyDataDepthSorting|Poly Data Depth Sorting]] || {{VTKDoxygenURL|vtkDepthSortPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/QuadricLODActor|Automatic level of detail adjustment]] || {{VTKDoxygenURL|vtkQuadricLODActor}} || Level of detail adjustment.
 
|-
 
| [[VTK/Examples/Cxx/Visualization/RenderLargeImage|Render a large image, larger than a window]] || {{VTKDoxygenURL|vtkRenderLargeImage}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/RotateActor|Rotate an Actor]] || vtkActor::GetMatrix ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ScalarBarActor|ScalarBarActor]] || {{VTKDoxygenURL|vtkScalarBarActor}} || Display a color bar.
 
|-
 
| [[VTK/Examples/Cxx/Visualization/ScaleGlyphs|Scale glyphs]] || {{VTKDoxygenURL|vtkGlyph3D}} vtkGlyph3D::SetScaleModeToScaleByScalar ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/SelectWindowRegion|Select a region of a window]] ||{{VTKDoxygenURL|vtkInteractorStyleRubberBand2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/StreamLines|Stream Lines]] || {{VTKDoxygenURL|vtkStreamLine}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/TextSource|Display text]] || {{VTKDoxygenURL|vtkTextSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/TextureMapImageData | Texture map an ImageData]] || {{VTKDoxygenURL|vtkImageCanvasSource2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/TextureMapPlane|Texture map a plane]] || {{VTKDoxygenURL|vtkTextureMapToPlane}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/TextureMapQuad|Texture map a quad]] || {{VTKDoxygenURL|vtkPolygon}}, vtkPolyData::GetPointData::SetTCoords ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/TransformActor|Transform an Actor]] || vtkActor::SetUserTransform ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/VectorOfActors|Multiple Actors in a Vector]] || {{VTKDoxygenURL|vtkActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/VectorText|Display high resolution text]] || {{VTKDoxygenURL|vtkVectorText}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Visualize2DPoints|Visualize a 2D Set of Points]] || {{VTKDoxygenURL|vtkPolyDataMapper2D}}, {{VTKDoxygenURL|vtkProperty2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/VisualizeImageData|Visualize the points of an ImageData]] || {{VTKDoxygenURL|vtkDataSetMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/VisualizeVTP|Visualize a VTP File]] || {{VTKDoxygenURL|vtkXMLPolyDataReader}}, {{VTKDoxygenURL|vtkPolyDataMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/WindowSize | Change the size of a window]] || vtkRenderWindow:SetSize ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/WindowTitle | Change the title of a window]] || vtkRenderWindow::SetWindowName ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Wireframe|Wireframe]] || vtkActor::GetProperty::SetRepresentationToWireframe ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/vtkCamera|Positioning and aiming the camera]] || {{VTKDoxygenURL|vtkCamera}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/DisplayQuadraticSurfaces|Display Quadratic Surfaces]] || {{VTKDoxygenURL|vtkQuadric}}, {{VTKDoxygenURL|vtkSampleFunction}}, {{VTKDoxygenURL|vtkContourFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Glyph3DMapper|Glyph3DMapper]] || {{VTKDoxygenURL|vtkGlyph3DMapper}} ||
 
|}
 
 
 
===Volume Rendering===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/VolumeRendering/HAVSVolumeMapper|HAVS]] || {{VTKDoxygenURL|vtkHAVSVolumeMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper|Smart volume mapper]] || {{VTKDoxygenURL|vtkSmartVolumeMapper}} ||
 
|-
 
| [[VTK/Examples/Cxx/VolumeRendering/MinIntensityRendering|Min intensity rendering]] || {{VTKDoxygenURL|vtkFixedPointVolumeRayCastMapper}} ||
 
|}
 
 
 
===User Interaction===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Interaction/Assembly|Assembly]] || {{VTKDoxygenURL|vtkAssembly}} || Combine actors into an assembly.
 
|-
 
| [[VTK/Examples/Cxx/Interaction/ClickWorldCoordinates|Get world coordinates of mouse click]] || {{VTKDoxygenURL|vtkCoordinate}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/DoubleClick|Catch a double click]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballCamera}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/ImageClip|vtkImageClip]] || {{VTKDoxygenURL|vtkImageClip}} || Demonstrates how to interactively select and display a region of an image.
 
|-
 
| [[VTK/Examples/Cxx/Interaction/ImageRegion|Select a region of an image]] || {{VTKDoxygenURL|vtkCommand}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/InteractorStyleTerrain|Terrain mode]] || {{VTKDoxygenURL|vtkInteractorStyleTerrain}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/KeypressEvents|Handle keypress events]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballCamera}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/KeypressObserver | Handle keypress events (lightweight)]] || {{VTKDoxygenURL|vtkCallbackCommand}} || This uses a callback function rather than a derived interactor class.
 
|-
 
| [[VTK/Examples/Cxx/Interaction/MouseEvents | Handle mouse events]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballCamera}} || Subclass the interactor style.
 
|-
 
| [[VTK/Examples/Cxx/Interaction/MouseEventsObserver | Handle mouse events (light weight)]] || {{VTKDoxygenURL|vtkCallbackCommand}} || Use an observer.
 
|-
 
| [[VTK/Examples/Cxx/Interaction/PointPicker|Get the coordinates of the closest point in the data set to the mouse click]] || {{VTKDoxygenURL|vtkPointPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/RubberBand2DObserver|RubberBand2D Observer]] || {{VTKDoxygenURL|vtkInteractorStyleRubberBand2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/RubberBand2D|RubberBand2D]] || {{VTKDoxygenURL|vtkInteractorStyleRubberBand2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/RubberBand3D|RubberBand3D]] || {{VTKDoxygenURL|vtkInteractorStyleRubberBand3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/RubberBandPick|RubberBandPick]] || {{VTKDoxygenURL|vtkInteractorStyleRubberBandPick}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/RubberBandZoom|RubberBandZoom]] || {{VTKDoxygenURL|vtkInteractorStyleRubberBandZoom}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/SelectAnActor|Select an actor]] || {{VTKDoxygenURL|vtkPropPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/ShiftAndControl|Check if shift or control is being held]] || vtkRenderWindowInteractor::GetControlKey() ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/StyleSwitch|Choose between multiple interaction modes]] || {{VTKDoxygenURL|vtkInteractorStyleSwitch}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/TrackballActor|Trackball actor mode]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/TrackballCamera|Trackball camera mode]] || {{VTKDoxygenURL|vtkInteractorStyleTrackballCamera}} ||
 
|-
 
| [[VTK/Examples/Cxx/Interaction/WorldPointPicker|Get world coordinates of mouse click]] || {{VTKDoxygenURL|vtkWorldPointPicker}} ||
 
|}
 
 
 
===Selecting in 3D (Picking)===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Picking/CellPicking|Cell Picking]] || {{VTKDoxygenURL|vtkCellPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Picking/AreaPicking|Area Picking]] || {{VTKDoxygenURL|vtkAreaPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Picking/HighlightSelectedPoints|Highlight Selected Points]] || {{VTKDoxygenURL|vtkExtractGeometry}} ||
 
|}
 
 
 
===Working with Images===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Images/BackgroundImage|Display an image as the background of a scene]] ||  {{VTKDoxygenURL|vvtkImageCanvasSource2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/Blending2DImagesWithDifferentColorMaps|Blending 2D images with different color maps]] || {{VTKDoxygenURL|vtkImageMapToColors}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/CenterAnImage|Center an image]] || {{VTKDoxygenURL|vtkImageChangeInformation}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/CombineImages|Combine two images]] || {{VTKDoxygenURL|vtkImageBlend}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/CombiningRGBChannels|Combine layers into an RGB image]] || {{VTKDoxygenURL|vtkImageAppendComponents}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ConvertToGreyScale|Convert RGB image to greyscale]] || {{VTKDoxygenURL|vtkImageMagnitude}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/DisplayStaticImage|Display a static image]] ||  {{VTKDoxygenURL|vvtkImageViewer2}} || This will display the image, but not allow you to interact with it.
 
|-
 
| [[VTK/Examples/Cxx/Images/DotProduct|Image dot product]] || {{VTKDoxygenURL|vtkImageDotProduct}} || Compute the pixel-wise dot product of two vector images.
 
|-
 
| [[VTK/Examples/Cxx/Images/DrawOnAnImage|Drawing on an image]] || {{VTKDoxygenURL|vtkImageCanvasSource2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/DrawShapes|Drawing shapes in an image]] || {{VTKDoxygenURL|vtkImageCanvasSource2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageDifference|Compute the difference image of two images]] || {{VTKDoxygenURL|vtkImageDifference}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageLuminance|Convert RGB image to greyscale (luminance)]] || {{VTKDoxygenURL|vtkImageLuminance}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageMask|Mask a region of an image]] || {{VTKDoxygenURL|vtkImageMask}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageMathematics|Perform mathematical operations on an image]] || {{VTKDoxygenURL|vtkImageMathematics}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageMirrorPad|vtkImageMirrorPad]] || {{VTKDoxygenURL|vtkImageMirrorPad}} || Pad the edges of an extended image by mirror existing pixels.
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageText|Draw text in an image]] || {{VTKDoxygenURL|vtkVectorText}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/InteractWithImage|Visualize and interact with an image]] || {{VTKDoxygenURL|vtkImageActor}}, {{VTKDoxygenURL|vtkInteractorStyleImage}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/NegativeIndices|Negative Indices]] || {{VTKDoxygenURL|vtkImageData}} || A very powerful feature of vtkImageData is that you can use negative indices.
 
|-
 
| [[VTK/Examples/Cxx/Images/PickingAPixel2|Picking a pixel 2 - modified version for exact pixel values]] || {{VTKDoxygenURL|vtkPropPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/PickingAPixel|Picking a pixel]] || {{VTKDoxygenURL|vtkPropPicker}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/VisuallyCompareImages|Visually Compare Two Images]] || {{VTKDoxygenURL|vtkImageCheckerboard}} ||  Visually compare two images.
 
|}
 
 
 
===Image Processing===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadWriteJPG|Read/Write JPG]] || {{VTKDoxygenURL|vtkJPEGReader}}, {{VTKDoxygenURL|vtkJPEGWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/IO/ReadWritePNG|Read/Write PNG]] || {{VTKDoxygenURL|vtkPNGReader}}, {{VTKDoxygenURL|vtkPNGWriter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/Cast|Cast an image to a different type]] || {{VTKDoxygenURL|vtkImageCast}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ExtractComponents| Extract components of an image]] || {{VTKDoxygenURL|vtkImageExtractComponents}} || This can be used to get, for example, the red channel of an image.
 
|-
 
| [[VTK/Examples/Cxx/Images/Flip| Flip an image]] || {{VTKDoxygenURL|vtkImageFlip}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/Gradient|Image gradient]] || {{VTKDoxygenURL|vtkImageGradient}} || Compute the gradient vector at every pixel.
 
|-
 
| [[VTK/Examples/Cxx/Images/HistogramBarChart| Display a histogram]] || {{VTKDoxygenURL|vtkImageAccumulate}}, {{VTKDoxygenURL|vtkBarChartActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/HistogramXYPlot| Display a histogram]] || {{VTKDoxygenURL|vtkImageAccumulate}}, {{VTKDoxygenURL|XYPlotActor}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageContinuousDilate3D|Dilate an image]] || {{VTKDoxygenURL|vtkImageContinuousDilate3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageContinuousErode3D|Erode an image]] || {{VTKDoxygenURL|vtkImageContinuousErode3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageConvolve|Convolve an image with a kernel]] || {{VTKDoxygenURL|vtkImageConvolve}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageCorrelation|Correlate two images]] || {{VTKDoxygenURL|vtkImageCorrelation}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageDivergence|Divergence of a vector field]] || {{VTKDoxygenURL|vtkImageDivergence}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageEllipsoidSource|Create an image of an ellipsoid]] || {{VTKDoxygenURL|vtkImageEllipsoidSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageFFT|Compute the FFT of an image]] || {{VTKDoxygenURL|vtkImageFFT}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageGaussianSmooth|Smooth an image]] || {{VTKDoxygenURL|vtkImageGaussianSmooth}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageGradientMagnitude|Compute the magnitude of the gradient at each pixel of an image]] || {{VTKDoxygenURL|vtkImageGradientMagnitude}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageIdealHighPass|High pass filter an image]] || {{VTKDoxygenURL|vtkImageIdealHighPass}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageIdealLowPass|Low pass filter an image]] || {{VTKDoxygenURL|vtkImageIdealLowPass}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageIslandRemoval2D|Remove small patches from an image]] || {{VTKDoxygenURL|vtkImageIslandRemoval2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageLaplacian|Compute the Laplacian of an image]] || {{VTKDoxygenURL|vtkImageLaplacian}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageMedian3D|Median filter a 3d or 2d image]] || {{VTKDoxygenURL|vtkImageMedian3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageNoiseSource|Create an image of noise]] || {{VTKDoxygenURL|vtkImageNoiseSource}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImagePermute|Switch axes of an image]] || {{VTKDoxygenURL|vtkImagePermute}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageShiftScale|Shift and scale an image]] || {{VTKDoxygenURL|vtkImageShiftScale}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageShrink3D|Resample an image]] || {{VTKDoxygenURL|vtkImageShrink3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageSobel2D|Sobel edge detection 2D]] || {{VTKDoxygenURL|vtkImageSobel2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageSobel3D|Sobel edge detection 3D]] || {{VTKDoxygenURL|vtkImageSobel3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageThreshold|Threshold an image]] || {{VTKDoxygenURL|vtkImageThreshold}} ||
 
|-
 
| [[VTK/Examples/Cxx/Images/ImageVariance3D|Variance of a 3D image]] || {{VTKDoxygenURL|vtkImageVariance3D}} || Construct a new image consisting of the variance of the input image at each pixel.
 
|-
 
| [[VTK/Examples/Cxx/Images/RGBToHSV|Convert RGB to HSV]] || {{VTKDoxygenURL|vtkImageRGBToHSV}} ||
 
|}
 
 
 
===Working with Meshes===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Meshes/MatrixMathFilter|Matrix math filter]] || {{VTKDoxygenURL|vtkMatrixMathFilter}} || Compute various quantities on cell and points in a mesh.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/Decimation|Decimation]] || {{VTKDoxygenURL|vtkDecimatePro}} || Reduce the number of triangles in a mesh.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/Subdivision|Subdivision]] || {{VTKDoxygenURL|vtkButterflySubdivisionFilter}}, {{VTKDoxygenURL|vtkLoopSubdivisionFilter}}, {{VTKDoxygenURL|vtkLinearSubdivisionFilter}} || Increase the number of triangles in a mesh.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/FindingBoundaryEdges|Finding Boundary Edges]] || {{VTKDoxygenURL|vtkFeatureEdges}} || Find the edges that are used by only one face.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/FillHoles|Fill Holes]] || {{VTKDoxygenURL|vtkFillHolesFilter}} || Close holes in a mesh.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/WindowedSincPolyDataFilter|Windowed Sinc PolyData Filter|Smooth a mesh (windowed sinc filter)]] || {{VTKDoxygenURL|vtkWindowedSincPolyDataFilter}} || Smooth a mesh.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/Color a mesh by height|Color a mesh by height]]|| {{VTKDoxygenURL|vtkLookupTable}} ||
 
|-
 
| [[VTK/Examples/Cxx/Meshes/Elevation Filter|Color a mesh by height]] || {{VTKDoxygenURL|vtkElevationFilter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Meshes/Triangulate a mesh|Triangulate a mesh]] || {{VTKDoxygenURL|vtkTriangleFilter}} || Convert all polygons in a mesh to triangles.
 
|-
 
| [[VTK/Examples/Cxx/Meshes/ExtractEdges|Extract Edges]] || {{VTKDoxygenURL|vtkExtractEdges}} ||
 
|-
 
| [[VTK/Examples/Cxx/Meshes/CellEdges|Get edges of cells]] || {{VTKDoxygenURL|vtkCell}} ||
 
|-
 
| [[VTK/Examples/Cxx/Meshes/SolidClip|Create a "solid" clip]] || {{VTKDoxygenURL|vtkClipPolyData}} ||
 
|-
 
| [[VTK/Examples/Cxx/Meshes/CapClip|Cap a clipped polydata with a polygon]] || {{VTKDoxygenURL|vtkClipPolyData}} ||
 
|}
 
 
 
===Widgets===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkAffineWidget | Apply an affine transformation interactively]] || {{VTKDoxygenURL|vtkAffineWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/vtkPolygonalSurfacePointPlacer | vtkPolygonalSurfacePointPlacer]] || {{VTKDoxygenURL|vtkPolygonalSurfacePointPlacer}} || Used in conjuntion with vtkContourWidget to draw curves on a surface.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/SphereWidgetEvents |Sphere widget events]] || {{VTKDoxygenURL|vtkSphereWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/TextWidget |Draw movable text]] || {{VTKDoxygenURL|vtkTextWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkSeedWidget |Seed widget]] || {{VTKDoxygenURL|vtkSeedWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkSphereWidget |Sphere widget]] || {{VTKDoxygenURL|vtkSphereWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/SphereWidget2|vtkSphereWidget2]] || {{VTKDoxygenURL|vtkSphereWidget2}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Spline|vtkSplineWidget]] || {{VTKDoxygenURL|vtkSplineWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Border|vtkBorderWidget]] || {{VTKDoxygenURL|vtkBorderWidget}} || 2D selection, 2D box.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Contour|vtkContourWidget]] || {{VTKDoxygenURL|vtkContourWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkAngleWidget |vtkAngleWidget]] || {{VTKDoxygenURL|vtkAngleWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkAngleWidget_2D |vtkAngleWidget + vtkAngleRepresentation2D]] || {{VTKDoxygenURL|vtkAngleWidget}}, {{VTKDoxygenURL|vtkAngleRepresentation2D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Caption|vtkCaptionWidget]] || {{VTKDoxygenURL|vtkCaptionWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Slider|3D Slider]] || {{VTKDoxygenURL|vtkSliderWidget}}, {{VTKDoxygenURL|vtkSliderRepresentation3D}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/Slider2D|2D Slider]] || {{VTKDoxygenURL|vtkSliderWidget}}, {{VTKDoxygenURL|vtkSliderRepresentation2D}}||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/BalloonWidget|Balloon]] || {{VTKDoxygenURL|vtkBalloonWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/ContourWidget | Contour Widget]] || {{VTKDoxygenURL|vtkContourWidget}} || Create a contour from a set of points and dynamically change the contour using the points as control points.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkDistanceWidget |vtkDistanceWidget]] || {{VTKDoxygenURL|vtkDistanceWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/ImplicitPlaneWidget2|vtkImplicitPlaneWidget2]] || {{VTKDoxygenURL|vtkImplicitPlaneWidget2}} || Clip polydata with an implicit plane.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/BoxWidget|vtkBoxWidget]] || {{VTKDoxygenURL|vtkBoxWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/BoxWidget2|vtkBoxWidget2]] || {{VTKDoxygenURL|vtkBoxWidget2}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/LineWidget2|vtkLineWidget2]] || {{VTKDoxygenURL|vtkLineWidget2}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/vtkBiDimensionalWidget |vtkBiDimensionalWidget]] ||  {{VTKDoxygenURL|vtkBiDimensionalWidget}} ||  When would you use this?
 
|-
 
| [[VTK/Examples/Cxx/Widgets/ImagePlaneWidget|vtkImagePlaneWidget]] || {{VTKDoxygenURL|vtkImagePlaneWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/ImageTracerWidget|vtkImageTracerWidget]] || {{VTKDoxygenURL|vtkImageTracerWidget}} || Scribble on an image.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/ImageTracerWidget_NonPlanar|Draw on a non-planar surface]] || {{VTKDoxygenURL|vtkImageTracerWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/HoverWidget|vtkHoverWidget]] || {{VTKDoxygenURL|vtkHoverWidget}} || How to detect a hover?
 
|-
 
| [[VTK/Examples/Cxx/Widgets/LogoWidget|Logo widget]] || {{VTKDoxygenURL|vtkLogoWidget}} ||
 
|-
 
| [[VTK/Examples/Cxx/Widgets/OrientationMarkerWidget|Orientation Marker widget]] || {{VTKDoxygenURL|vtkOrientationMarkerWidget}} || Display a polydata as an orientation icon.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/RectilinearWipeWidget|Rectilinear Wipe widget]] || {{VTKDoxygenURL|vtkImageRectilinearWipe}}, {{VTKDoxygenURL|vtkRectilinearWipeWidget}}, {{VTKDoxygenURL|vtkRectilinearWipeRepresentation}} || Compare two images.
 
|-
 
| [[VTK/Examples/Cxx/Widgets/CheckerboardWidget|Checkerboard widget]] || {{VTKDoxygenURL|vtkCheckerboardWidget}}, {{VTKDoxygenURL|vtkCheckerboardRepresentation}} || Compare two images using a checkerboard.
 
|-
 
| [[VTK/Examples/Cxx/Visualization/Cursor2D|vtkCursor2D]] || {{VTKDoxygenURL|vtkCursor2D}} ||
 
|}
 
 
 
===Miscellaneous===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/VisualizationAlgorithms/vtkCutter|vtkCutter]] || {{VTKDoxygenURL|vtkCutter}} ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MultipleViewports |Multiple Viewports]] || vtkRenderer::SetViewPort ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/SideBySideViewports | Side by side viewports]] || vtkRenderer::SetViewPort ||
 
|-
 
| [[VTK/Examples/Cxx/Visualization/MultipleRenderWindows | MultipleRenderWindows]] || {{VTKDoxygenURL|vtkRenderWindow}} ||
 
|-
 
| [[VTK/Examples/Cxx/PolyData/Casting | Casting VTK objects]]|| vtkObject::SafeDownCast ||
 
|}
 
 
 
===Plotting===
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Plotting/LinePlot|Line plot]] || {{VTKDoxygenURL|vtkChartXY}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/ScatterPlot|Scatter plot]] || {{VTKDoxygenURL|vtkPlotPoints}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/BarChart|Bar chart]] || {{VTKDoxygenURL|vtkChartXY}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/PieChart|Pie chart]] || {{VTKDoxygenURL|vtkChartPie}}, {{VTKDoxygenURL|vtkPlotPie}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/StackedPlot|Stacked plot]] || {{VTKDoxygenURL|vtkPlotStacked}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/ParallelCoordinates|Parallel coordinates]] || {{VTKDoxygenURL|vtkChartParallelCoordinates}} ||
 
|-
 
| [[VTK/Examples/Cxx/Plotting/PlotLegacyMethod|Plot data (Legacy method)]] || {{VTKDoxygenURL|vtkXYPlotActor}} ||
 
|}
 
 
 
===Animation===
 
{{VTKExamplesTable}}
 
|-
 
|[[VTK/Examples/Cxx/Animation/AnimateActors|Animate actors]] || {{VTKDoxygenURL|vtkAnimationScene}}, {{VTKDoxygenURL|vtkAnimationCue}}||
 
|}
 
 
 
===Geographic Visualization (Geovis)===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Geovis/CompassWidget | Compass Widget]] || ||
 
|-
 
| [[VTK/Examples/Cxx/Geovis/EarthSource|Earth source]] || || Create the Earth.
 
|}
 
 
 
===Information Visualization (Infovis)===
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/InfoVis/ParallelCoordinatesView | Parallel coordinates]] || {{VTKDoxygenURL|vtkParallelCoordinatesView}} ||
 
|}
 
 
 
===KWWidgets===
 
{{VTKExamplesTable}}
 
|-
 
|}
 
 
 
===Qt===
 
Click [[VTK/Tutorials/QtSetup | here]] for a tutorial on how to setup Qt.
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Qt/RenderWindow | Render window]] || QVTKWidget|| This is a very basic example that shows how to create a Qt window. Typically, one would want to design a form in the QtDesigner (this is shown in [[VTK/Examples/Qt/RenderWindowUi|RenderWindowUi]])
 
|-
 
| [[VTK/Examples/Cxx/Qt/RenderWindowUi | Render window UI]] || QMainWindow ||
 
|-
 
| [[VTK/Examples/Cxx/Qt/SideBySideRenderWindows | Side by side render windows]] || QApplication ||
 
|-
 
| [[VTK/Examples/Cxx/Qt/vtkQtBarChart | vtkQtBarChart]] || {{VTKDoxygenURL|vtkQtBarChart}} ||
 
|-
 
| [[VTK/Examples/Cxx/Qt/BorderWidget | Border Widget]] || {{VTKDoxygenURL|vtkBorderWidget}}, QApplication ||
 
|}
 
 
 
===Matlab===
 
You must turn on VTK_USE_MATLAB_MEX to use these.
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Matlab/MatlabEngineFilter | vtkMatlabEngineFilter]] || {{VTKDoxygenURL|vtkMatlabEngineFilter}} ||
 
|}
 
 
 
===Databases===
 
====SQL====
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Databases/SQL/MySQL/ConnectAndRead | Connect to and read a MySQL database]] || {{VTKDoxygenURL|vtkMySQLDatabase}}, {{VTKDoxygenURL|vtkSQLQuery}} ||
 
|-
 
| [[VTK/Examples/Cxx/Databases/SQL/MySQL/CreateDatabase | Create a MySQL database]] || {{VTKDoxygenURL|vtkMySQLDatabase}} ||
 
|}
 
 
 
===Broken/Missing Examples (Please write/fix me!)===
 
Some of these are simply shells waiting for a good example. Some of these have a specific problem that is noted. Please help improve them!
 
 
 
====Testing Needed====
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Video/AVI|AVI (Windows only)]] || {{VTKDoxygenURL|vtkAVIWriter}} || Someone please test this.
 
|-
 
| [[VTK/Examples/Video/OggTheora|OggTheora]] || {{VTKDoxygenURL|vtkOggTheoraWriter}} || Can't find lvtkoggtheora
 
|-
 
| [[VTK/Examples/Video/MPEG2|MPEG2]] || {{VTKDoxygenURL|vtkMPEG2Writer}} || CMake won't find MPEG2 include?
 
|-
 
| [[VTK/Examples/Video/FFMPEG|FFMPEG]] || {{VTKDoxygenURL|vtkFFMPEGWriter}} || CMake won't find FFMPEG include?
 
|}
 
 
 
====Small Problems====
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Broken/KWWidgets/SideBySideRenderWindows | Side By Side Render Windows]] || ||
 
|-
 
| [[VTK/Examples/Cxx/Broken/ImageData/vtkImageIterator|vtkImageIterator]]|| {{VTKDoxygenURL|vtkImageIterator}} ||
 
|-
 
| [[VTK/Examples/Cxx/Broken/ExtractSelectedThresholds|Extract points based on a criterion function]] || {{VTKDoxygenURL|vtkExtractSelectedThresholds}} ||
 
|-
 
| [[VTK/Examples/Cxx/Broken/PolyData/ImplicitDataSetClipping|Clip using an implicit data set]] || {{VTKDoxygenURL|vtkImplicitDataSet}} ||
 
|-
 
| [[VTK/Examples/Broken/RTAnalyticSource|RTAnalyticSource]] || {{VTKDoxygenURL|vtkRTAnalyticSource}} || Output seems to be the wrong type?
 
|-
 
| [[VTK/Examples/Broken/VectorDot|vtkVectorDot]] || {{VTKDoxygenURL|vtkVectorDot}} || All return values are -1?
 
|-
 
| [[VTK/Examples/Broken/Actor2D|2D actor and mapper]] || {{VTKDoxygenURL|vtkActor2D}} {{VTKDoxygenURL|vtkMapper2D}} || Nothing is displayed?
 
|-
 
| [[VTK/Examples/Broken/CellLinks|Get connected cells]] || {{VTKDoxygenURL|vtkCellLinks}} || How to use vtkCellLinks::Links class? How to know how many cells GetCells returns?
 
|-
 
| [[VTK/Examples/Broken/DataObjectToTable|Convert data from an object into a vtkTable]] || {{VTKDoxygenURL|vtkDataObjectToTable}} || How to get the point coordinates into the table?
 
|-
 
| [[VTK/Examples/Broken/Widgets/SeedWidgetImage|SeedWidgetImage]] || {{VTKDoxygenURL|vtkImageViewer2}}, {{VTKDoxygenURL|vtkSeedWidget}} || How to start the interaction?
 
|-
 
| [[VTK/Examples/Broken/ImageViewer2|vtkImageViewer2]] || {{VTKDoxygenURL|vtkImageViewer2}} || How to start the interaction?
 
|-
 
| [[VTK/Examples/Broken/ImplicitDataSet|Convert a polydata to an implicit function]] || {{VTKDoxygenURL|vtkImplicitDataSet}} || The error is: "Can't evaluate dataset!"
 
|-
 
| [[VTK/Examples/Broken/GenericClip|vtkGenericClip]] || {{VTKDoxygenURL|vtkGenericClip}} || The input is vtkPolyData, but a vtkGenericDataSet is required.
 
|-
 
| [[VTK/Examples/Broken/LabelPlacementMapper|Display non-overlapping labels]] || {{VTKDoxygenURL|vtkLabelPlacementMapper}}, {{VTKDoxygenURL|vtkLabelHierarchy}}, {{VTKDoxygenURL|vtkPointSetToLabelHierarchy}} || no labels are displayed?
 
|-
 
| [[VTK/Examples/Broken/ArrayCalculator|Perform in-place operations on arrays]] || {{VTKDoxygenURL|vtkArrayCalculator}} || Currently MyArray does not change.
 
|-
 
| [[VTK/Examples/Broken/MarchingCubes|Marching cubes]] || {{VTKDoxygenURL|vtkMarchingCubes}} || The output is empty?
 
|-
 
| [[VTK/Examples/Broken/Widgets/CameraWidget|vtkCameraWidget]] || {{VTKDoxygenURL|vtkCameraWidget}} || How to use this?
 
|-
 
| [[VTK/Examples/Broken/vtkFrustumCoverageCuller|vtkFrustumCoverageCuller]] || {{VTKDoxygenURL|vtkFrustumCoverageCuller}} || When would you use this?
 
|-
 
| [[VTK/Examples/Broken/VoxelModeller|Compute occupancy of an object on a grid]] || {{VTKDoxygenURL|vtkVoxelModeller}} || VTK_BIT is not supported - convert it?
 
|-
 
| [[VTK/Examples/Broken/Images/ImageToStructuredPoints|vtkImageToStructuredPoints]] || {{VTKDoxygenURL|vtkImageToStructuredPoints}} || Doesn't seem to produce a vtkStructuredPoints?
 
|-
 
| [[VTK/Examples/Broken/GridPointCloud|Divide a point cloud into uniform cubic voxels]] || {{VTKDoxygenURL|vtkCellLocator}} || We can determine which cell a point is in, but how to determine which points are in a particular cell?
 
|-
 
| [[VTK/Examples/Broken/Interaction/Flight|Flight]] || {{VTKDoxygenURL|vtkInteractorStyleFlight}} || linux keypresses not handled. I submitted a patch to the devel list - we'll see if they respond.
 
|-
 
| [[VTK/Examples/Broken/Widgets/vtkPointHandleRepresentation2D |vtkPointHandleRepresentation2D]] || {{VTKDoxygenURL|vtkPointHandleRepresentation2D}} ||
 
|-
 
| [[VTK/Examples/Broken/Interaction/RecordEvents | RecordEvents]] || {{VTKDoxygenURL|vtkInteractorEventRecorder}} || How to exit?
 
|-
 
| [[VTK/Examples/Broken/Interaction/PlayBackEvents | PlayBackEvents]] || {{VTKDoxygenURL|vtkInteractorEventRecorder}} || How to slow down?
 
|-
 
| [[VTK/Examples/Broken/vtkDistanceToCamera | vtkDistanceToCamera]] || {{VTKDoxygenURL|vtkDistanceToCamera}} || How to trigger the DistanceToCamera computation?
 
|-
 
| [[VTK/Examples/Broken/Quadric Surface Fitting | Quadric Surface Fitting]] || {{VTKDoxygenURL|vtkQuadric}} ||
 
|-
 
| [[VTK/Examples/Broken/LU Factorization | LU Factorization]] || vtkMath::LUFactorLinearSystem || how do you get the resulting L and U?
 
|-
 
| [[VTK/Examples/Broken/RectangularButtonSource|Rectangular button source]] || {{VTKDoxygenURL|vtkRectangularButtonSource}} || is this the intended usage?
 
|-
 
| [[VTK/Examples/Broken/ApplyColors|ApplyColors]] || {{VTKDoxygenURL|vtkApplyColors}} || How is this different from just adding a Colors array to a vtkDataSet?
 
|-
 
| [[VTK/Examples/Broken/vtkSelectionSource|vtkSelectionSource]] || {{VTKDoxygenURL|vtkSelectionSource}} || The output currently has 50 points when it should only have 10.
 
|-
 
| [[VTK/Examples/Broken/vtkPCAAnalysisFilter | vtkPCAAnalysisFilter ]] || {{VTKDoxygenURL|vtkPCAAnalysisFilter}} || What is the difference between this and vtkPCAStatistics? The eigenvalues vector doesn't seem to be valid. It seems like the eigenvector corresponding to the smallest value is stored as the normal of the cell in the output - how do you get the other two eigen vectors?
 
|}
 
 
 
====Big Problems====
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Broken/Widgets/TensorProbeWidget|vtkTensorProbeWidget]] || {{VTKDoxygenURL|vtkTensorProbeWidget}} || How is this used?
 
|-
 
| [[VTK/Examples/Broken/TensorGlyph|vtkTensorGlyph]] || {{VTKDoxygenURL|vtkTensorGlyph}} ||
 
|-
 
| [[VTK/Examples/Broken/SpherePuzzle|SpherePuzzle]] || {{VTKDoxygenURL|vtkSpherePuzzle}} ||
 
|-
 
| [[VTK/Examples/Broken/Geovis/GeoGlobeSource|GeoGlobeSource]] || {{VTKDoxygenURL|vtkGeoGlobeSource}} ||
 
|-
 
| [[VTK/Examples/Broken/Geovis/GeoView|GeoView]] || {{VTKDoxygenURL|vtkGeoView}} ||
 
|}
 
 
 
====Empty====
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Cxx/Broken/ImplicitFunctions/vtkSphere|An implicit representation of a sphere]] || {{VTKDoxygenURL|vtkSphere}} ||
 
|-
 
| [[VTK/Examples/Broken/vtkFrustumCoverageCuller|vtkFrustumCoverageCuller]] || {{VTKDoxygenURL|vtkFrustumCoverageCuller}} || Doesn't seem to have a property to specify a frustum? What is it for? How to use it?
 
|-
 
| [[VTK/Examples/vtkKdTreeSelector|vtkKdTreeSelector]] || {{VTKDoxygenURL|vtkKdTreeSelector}} || What is this used for?
 
|-
 
| [[VTK/Examples/vtkRungeKutta4|vtkRungeKutta4]] || {{VTKDoxygenURL|vtkRungeKutta4}} ||
 
|-
 
| [[VTK/Examples/vtkCoincidentPoints|vtkCoincidentPoints]] || {{VTKDoxygenURL|vtkCoincidentPoints}} || What is this for?
 
|-
 
| [[VTK/Examples/FrameRate|Get the frame rate of the rendering]] || ||
 
|-
 
| [[VTK/Examples/ThreadedExample|Threaded/Parallel example]] || ||
 
|-
 
| [[VTK/Examples/AssignAttribute|Assign an array to a particular field]] || {{VTKDoxygenURL|vtkAssignAttribute}} ||
 
|-
 
| [[VTK/Examples/TransposeMatrix|vtkTransposeMatrix]] || {{VTKDoxygenURL|vtkTransposeMatrix}} || What is this supposed to operate on? There is no vtkMatrix class.
 
|-
 
| [[VTK/Examples/HyperOctree|vtkHyperOctree]] || {{VTKDoxygenURL|vtkHyperOctree}} || What does this do?
 
|-
 
| [[VTK/Examples/WarpVector|vtkWarpVector]] || {{VTKDoxygenURL|vtkWarpVector}} || What is this?
 
|-
 
| [[VTK/Examples/TextExtraction|vtkTextExtraction]] || {{VTKDoxygenURL|vtkTextExtraction}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtChartView|vtkQtChartView]] || {{VTKDoxygenURL|vtkQtChartView}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtChartWidget|vtkQtChartWidget]] || {{VTKDoxygenURL|vtkQtChartWidget}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtTreeView|vtkQtTreeView]] || {{VTKDoxygenURL|vtkQtTreeView}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtTableView|vtkQtTableView]] || {{VTKDoxygenURL|vtkQtTableView}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtListView|vtkQtListView]] || {{VTKDoxygenURL|vtkQtListView}} ||
 
|-
 
| [[VTK/Examples/Qt/vtkQtChartArea|vtkQtChartArea]] || {{VTKDoxygenURL|vtkQtChartArea}} ||
 
|}
 
 
 
==Developer Examples==
 
 
 
===General===
 
* [[VTK/Examples/Developers/FilterProgress|Make your filter output its progress]]
 
* [[VTK/Examples/Developers/Macros|Macros]]
 
 
 
===Errors and Warnings===
 
* [[VTK/Examples/Developers/Errors|Errors]]
 
* [[VTK/Examples/Developers/Warnings|Warnings]]
 
 
 
===Filters and Sources===
 
====Standard classes====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Developers/vtkPolyDataAlgorithmReader|PolyDataAlgorithm Reader]] || {{VTKDoxygenURL|vtkPolyDataAlgorithm}} || Nothing in, PolyData out.
 
|-
 
| [[VTK/Examples/Developers/vtkPolyDataAlgorithm Filter|PolyDataAlgorithm Filter]] || {{VTKDoxygenURL|vtkPolyDataAlgorithm}} || PolyData in, PolyData out.
 
|-
 
| [[VTK/Examples/Developers/vtkGraphAlgorithm Source|vtkGraphAlgorithm Source]] || {{VTKDoxygenURL|vtkGraphAlgorithm}} || Nothing in, Graph out.
 
|-
 
| [[VTK/Examples/Developers/vtkGraphAlgorithm Filter|vtkGraphAlgorithm Filter]] || {{VTKDoxygenURL|vtkGraphAlgorithm}} || Graph in, Graph out.
 
|-
 
| [[VTK/Examples/Developers/vtkImageAlgorithm Filter|vtkImageAlgorithm Filter]] || {{VTKDoxygenURL|vtkImageAlgorithm}} || Image in, Image out.
 
|-
 
| [[VTK/Examples/Developers/vtkImageAlgorithm Source|vtkImageAlgorithm Source]] || {{VTKDoxygenURL|vtkImageAlgorithm}} || Nothing in, Image out.
 
|}
 
 
 
====Custom classes====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Developers/vtkAlgorithm_Source|vtkAlgorithm Source]] || {{VTKDoxygenURL|vtkAlgorithm}} || Nothing in, custom class out.
 
|-
 
| [[VTK/Examples/Developers/vtkAlgorithm_Filter|vtkAlgorithm Filter]] || {{VTKDoxygenURL|vtkAlgorithm}} {{VTKDoxygenURL|vtkDataObject}} || Custom class in, custom class out.
 
|-
 
| [[VTK/Examples/Developers/vtkAlgorithm_Source_Multiple_Output_Ports|vtkAlgorithm Filter Multiple Output Ports]] || {{VTKDoxygenURL|vtkAlgorithm}} || Nothing in, 2 custom classes out.
 
|}
 
 
 
====Multiple Connections on a Single Port====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Developers/Multiple Connections|Multiple Connections]] || || Two PolyDatas in, 1 PolyData out.
 
|}
 
 
 
====Multiple Input Ports====
 
 
 
{{VTKExamplesTable}}
 
|-
 
| [[VTK/Examples/Developers/Multiple Input Ports|Multiple Input Ports]] -  || || Two PolyDatas in, 1 PolyData out.
 
|}
 
 
 
===Needed/Missing Developer Examples===
 

Latest revision as of 21:20, 6 August 2018

Please try the new VTKExamples website.