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).
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/PickPixel2 (content was: "<div class="floatright">300px</div> This example demonstrates how to continuously retrieve pixel values using the mouse. This example is a slight modification of the existing example Picking a pixel. The main difference is the display of the exact pixel coordinates and values instead of interpolated values. ==PickPixel2.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtk...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/RGBToHSV (content was: "<div class="floatright">400px</div> Convert RGB channels to HSV channels. ==RGBToHSV.cxx== <source lang="cpp"> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkSmartPointer.h> #include <vtkImageRGBToHSV.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkJPEGReader.h> #include <vtkImageActor.h> #include <vtkIma...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/RTAnalyticSource (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestRTAnalyticSource.png</div> ==RTAnalyticSource.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkImageActor.h> #include <vtkImageMapper3D.h> #include <vtkImageData.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkRTAnalyticSource.h> int main(int, char*[]) { vtkSmartPointer<vtk...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ResizeImage (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Images_TestResizeImage.png</div> Resize an image using a sinc interpolator. Without command line arguments, the example resize a synthetic image. A jpeg file can be passed on the command lines. The new dimensions can also be passed as well as an integer specifying the sinc interpolator. See {{VTKDoxygenURL|vtkImageSin...", and the only contributor was "Lorensen" (talk))
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/Transparency (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestTransparency.png</div> This example creates a half transparent, half green mask and overlays it on top of an input image. :''See also: [[../../Visualization/ImageTransparency]] and [[../ImageStencil]]'' ==Transparency.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkLookupTable.h> #include <vtkImageMapper3D.h> #include <vtkImageData.h> #include <vtkImageMapToColors.h>...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/ImplicitFunctions/IsoContours (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/ImplicitFunctions/IsoContours IsoContours] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/ImplicitFunctions/SampleFunction (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/ImplicitFunctions/SampleFunction SampleFunction] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/ArrayToTable (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/InfoVis/ArrayToTable ArrayToTable] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/DelimitedTextReader (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestDelimitedTextReader.png</div> This example takes a plain text file of coordinates and normals (x y z nx ny nz) and reads them into a vtkPolyData and displays them on the screen. This can be easily changed to reading a file with any delimiter by changing the argument of <source lang="cpp">Reader->SetFieldDelimiterCharacters(" ");</source> Here is an example file: 0.0 0.0 0.0 1.0 2.0 3.0 1.0 0.0 0.0 4.0 5.0 6....")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/DelimitedTextWriter (content was: "Is the output of <source lang="cpp"> "","","" 0,1,2 3,4,5 6,7,8 </source> expected? What is the first line indicating? Simply that there are 3 string fields? With my prior edit, the first line is now "column-0","column-1","column-2" -- the first line is the names of the column arrays in the table. I added them to the example because the example was crashing on Windows builds, where streaming a NULL char* is no bueno. (David Cole) ==DelimitedTextWriter.cxx== <source lang="cpp...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/GraphPoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestGraphPoints.png</div> ==GraphPoints.cxx== <source lang="cpp"> #include <vtkMutableUndirectedGraph.h> #include <vtkPoints.h> #include <vtkSmartPointer.h> #include <vtkGraphLayoutView.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { vtkSmartPointer<vtkMutableUndirectedGraph> g = vtkSmartPointer<vtkMutableUndirectedGraph>::New(); // Create 3 vertices vtkIdType v1 = g->AddVertex(); v...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/KMeansClustering (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestKMeans.png</div> This example clusters 3D points using the KMeans algorithm. The points are assigned to a cluster by creating an array with each point's cluster id. ==KMeansClustering.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkXMLPolyDataWriter.h> #include <vtkIntArray.h> #include <vtkMu...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/MutableGraphHelper (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestMutableGraphHelper.png</div> ==MutableGraphHelper.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMutableDirectedGraph.h> #include <vtkMutableUndirectedGraph.h> #include <vtkMutableGraphHelper.h> #include <vtkGraphLayoutView.h> #include <vtkRenderWindowInteractor.h> int main(int, char*[]) { vtkSmartPointer<vtkMutableUndirectedGraph> g = vtkSmartPointer<vtkMutableUndirectedGraph>::New(...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/PKMeansClustering (content was: "==PKMeansClustering.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkXMLPolyDataWriter.h> #include <vtkIntArray.h> #include <vtkMultiBlockDataSet.h> #include <vtkPoints.h> #include <vtkTable.h> #include <vtkDoubleArray.h> #include <vtkPKMeansStatistics.h> //display #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkR...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/ParallelCoordinatesView (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_InfoVis_TestParallelCoordinatesView.png</div> ==ParallelCoordinatesView.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPolyData.h> #include <vtkDelimitedTextReader.h> #include <vtkTable.h> #include <vtkPointData.h> #include <vtkParallelCoordinatesView.h> #include <vtkParallelCoordinatesRepresentation.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #incl...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/PassThrough (content was: "==PassThrough.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkPolyData.h> #include <vtkPassThrough.h> int main(int, char *[]) { // Create a sphere vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); std::cout << "Points before: " << sphereSource->GetOutput()->GetNumberOfPoints() << std::endl; vtkSmartPointer<vtkPassThrough> passThrough = vtkSm...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/SCurveSpline (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestSCurveSpline.png</div> ==SCurveSpline.cxx== <source lang="cpp" highlight="16-40,45"> #include <vtkSmartPointer.h> #include <vtkPointSource.h> #include <vtkPoints.h> #include <vtkSCurveSpline.h> #include <vtkParametricSpline.h> #include <vtkParametricFunctionSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRe...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/TreeMapView (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestTreeMapView.png</div> Fix: use a much simpler tree and generate the tree in the code instead of reading files. ==TreeMapView.cxx== <source lang="cpp"> #include <vtkDataRepresentation.h> #include <vtkRenderWindow.h> #include <vtkRegressionTestImage.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkTestUtilities.h> #include <vtkTreeMapView.h> #include <vtkViewTheme.h> #include <vtkXML...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/InfoVis/XGMLReader (content was: "<div class="floatright">File:VTK_Examples_Baseline_InfoVis_TestXGMLReader.png</div> This example reads and displays the graph from a gml file. You can test this with VTKData/Data/Infovis/fsm.gml. ==XGMLReader.cxx== <source lang="cpp"> #include <vtkPolyData.h> #include <vtkXGMLReader.h> #include <vtkSmartPointer.h> #include <vtkUndirectedGraph.h> #include <vtkGraphLayoutStrategy.h> #include <vtkGraphLayoutView.h> #include <vtkRenderWindowInteractor.h> #include <vtkSimple2DL...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/Assembly (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Interaction/Assembly Assembly] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/CallData (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Interaction_TestCallData.png</div> This example demonstrates the use of 'calldata' in a vtkCallbackCommand. Here, we create a custom VTK filter to invoke an event to which we attach a value (the 'calldata'). We use a timer to modify and update the filter so that the event is triggered repeatedly, demonstrating the pass-via-calldata. ==CallData.cxx== <source lang="cpp"> #include "vtkObjectFactory.h" #include "vtkCommand.h"...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/ClientData (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestClientData.png</div> ==ClientData.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkSmartPointer.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkCallbackCommand.h> #include <vtkCommand.h> static void KeypressCallbackFunction ( vtkObject* caller, long un...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/DoubleClick (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestDoubleClick.png</div> ==DoubleClick.cxx== <source lang="cpp"> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkSmartPointer.h> #include <vtkPointPicker.h> #include <vtkCamera.h> #include <vtkInteractorStyleTrackballCamera.h> #include <vtkObjectFactory.h> // Define inte...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/Game (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestGame.png</div> ==Game.cxx== <source lang="cpp"> // Demonstrate moving pieces and "snapping" #include <vtkVersion.h> #include <vtkSelectEnclosedPoints.h> #include <vtkRendererCollection.h> #include <vtkPointData.h> #include <vtkPolyDataMapper.h> #include <vtkTransform.h> #include <vtkLinearTransform.h> #include <vtkTransformPolyDataFilter.h> #include <vtkObjectFactory.h> #include <vtkActor.h> #include <vtkRe...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/ImageClip (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestImageClip.png</div> This example loads an image into the left half of the window. When you move the border widget (the green square in the bottom left corner) over the image, the region that is selected is displayed in the right half of the window. ==ImageClip.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkBorderRepresentation.h> #include <v...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/ImageRegion (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestImageRegion.png</div> This example shows how to get the image coordinates of the corners of a BorderWidget. It currently says the pick for the lower left corner of the border widget is valid even when it is off the image. ==ImageRegion.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkAssemblyNode.h> #include <vtkAssemblyPath.h> #include <vtkBorderRepresentation.h> #...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/TrackballActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestTrackballActor.png</div> This example shows how to visualize data in "trackball" mode. That is, click and drag actors is the way to interact. Contrast this with Trackball Camera. ==TrackballActor.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #incl...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/TrackballCamera (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestTrackballCamera.png</div> This example demonstrates the trackball camera mode. When the mouse is clicked and dragged from anywhere in the window, the camera is modified. Contrast this with Trackball Actor. ==TrackballCamera.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #inc...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/UserEvent (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Interaction_TestUserEvent.png</div> ==UserEvent.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkCallbackCommand.h> #include <vtkCommand.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include "vtkTestFilter.h" static void CallbackFunction(vtkObject...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Interaction/WorldPointPicker (content was: "<div class="floatright">File:VTK_Examples_Baseline_Interaction_TestWorldPointPicker.png</div> This example demonstrates how to get the position of the point in 3D that is exactly behind the mouse click. This point is not likely a point that exists in the data set - i.e. it can be a point on the interior of a cell. ==WorldPointPicker.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkRendererCollection.h> #include <vtkWorldPointPicker.h> #include <vtkSphere...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Lighting/Light (content was: "<div class="floatright">File:VTK_Examples_Baseline_Lighting_TestLight.png</div> ==Light.cxx== <source lang="cpp"> #include <cstdlib> #include <vtkVersion.h> #include <vtkLightCollection.h> #include <vtkProperty.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkPlaneSource.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkLight.h> #include <vtkLightActor.h> #include <vtkSmartPointer.h> #include <vtkRenderWi...")
- 03:06, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Lighting/LightActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Lighting_TestLightActor.png</div> ==LightActor.cxx== <source lang="cpp"> #include <cstdlib> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkLightActor.h> #include <vtkLight.h> #include <vtkSmartPointer.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::New(); // Display where the light is vtkSmartPointer<vtkLig...")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/1DTupleInterpolation (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Math/1DTupleInterpolation 1DTupleInterpolation] on the new VTKExamples website.''' =")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/EigenSymmetric (content was: "At the moment, this is a pretty messy process, so here are some helper functions that will hopefully eventually be wrapped into a class/interface. ==EigenSymmetric.cxx== <source lang="cpp"> #include <vtkMath.h> allocate memory for an nrow x ncol matrix: template<class TReal> TReal **create_matrix ( long nrow, long ncol ) { typedef TReal* TRealPointer; TReal **m = new TRealPointer[nrow]; TReal* block = ( TReal* ) calloc ( nrow*ncol, sizeof ( TReal ) ); m[0] = blo...")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/HomogeneousLeastSquares (content was: "==HomogeneousLeastSquares.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMath.h> allocate memory for an nrow x ncol matrix: template<class TReal> TReal **create_matrix ( long nrow, long ncol ) { typedef TReal* TRealPointer; TReal **m = new TRealPointer[nrow]; TReal* block = ( TReal* ) calloc ( nrow*ncol, sizeof ( TReal ) ); m[0] = block; for ( int row = 1; row < nrow; ++row ) { m[ row ] = &block[ row * ncol ]; } return m...")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/LUFactorization (content was: "==LUFactorization.cxx== <source lang="cpp"> #include <vtkMath.h> template<class TReal> TReal **create_matrix ( long nrow, long ncol ) { typedef TReal* TRealPointer; TReal **m = new TRealPointer[nrow]; TReal* block = ( TReal* ) calloc ( nrow*ncol, sizeof ( TReal ) ); m[0] = block; for ( int row = 1; row < nrow; ++row ) { m[ row ] = &block[ row * ncol ]; } return m; } free a TReal matrix allocated with matrix(): template<class TReal> void fre...")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/LeastSquares (content was: "This example solves XM = Y (an interesting way to write Ax = b). In particular, we are trying to solve <source lang="text"> [1 4] [-2] [1 2] M = [6] [2 3] [1] </source> It currently does not work. ==LeastSquares.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMath.h> allocate memory for an nrow x ncol matrix: template<class TReal> TReal **create_matrix ( long nrow, long ncol ) { typedef TReal* TRealPointer; TReal **m = new TRe...")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/MatrixInverse (content was: "==MatrixInverse.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMatrix3x3.h> int main(int, char *[]) { vtkSmartPointer<vtkMatrix3x3> m = vtkSmartPointer<vtkMatrix3x3>::New(); m->SetElement(2,1,2.0); // Set element (0,0) to 1.0 std::cout << *m << std::endl; m->Invert(); std::cout << *m << std::endl; return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}} Category:VTKNoVizRequired")
- 03:05, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Math/MatrixTranspose (content was: "==MatrixTranspose.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMatrix3x3.h> int main(int, char *[]) { vtkSmartPointer<vtkMatrix3x3> m = vtkSmartPointer<vtkMatrix3x3>::New(); m->SetElement(2,1,2.0); // Set element (2,1) to 2.0 std::cout << *m << std::endl; m->Transpose(); std::cout << *m << std::endl; return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}} Category:VTKNoVizRequired")
- 03:04, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Filtering/ExtractVisibleCells (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Filtering/ExtractVisibleCells ExtractVisibleCells] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WritePNM (content was: "<div class="floatright">File:VTK_Examples_Baseline_IO_TestWritePNM.png</div> ==WritePNM.cxx== <source lang="cpp"> #include <vtkImageData.h> #include <vtkPNMWriter.h> #include <vtkSmartPointer.h> #include <vtkImageCanvasSource2D.h> #include <vtkSmartPointer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageMapper3D.h> #include <vtkPNMReader.h> #include <vtkInteractorStyleImage.h> int...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WriteSTL (content was: "<div class="floatright">File:VTK_Examples_Baseline_IO_TestWriteSTL.png</div> An STL file describes a triangulated three-dimensional surface by the unit normal and vertices (ordered by the right-hand rule) of the triangles. This example saves a 3D geometric data stored in a {{class|vtkPolyData}} to an STL file using {{class|vtkSTLWriter}}. ==WriteSTL.cxx== <source lang="cpp"> #include <vtkPolyData.h> #include <vtkSTLWriter.h> #include <vtkST...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WriteTIFF (content was: "<div class="floatright">File:VTK_Examples_Baseline_IO_TestWriteTIFF.png</div> ==WriteTIFF.cxx== <source lang="cpp" highlight="3,34-38"> #include <vtkImageData.h> #include <vtkInteractorStyleImage.h> #include <vtkTIFFWriter.h> #include <vtkSmartPointer.h> #include <vtkImageCanvasSource2D.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageMapper3D.h> #include <vtkTIFFReader.h> int main(...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WriteVTI (content was: "<div class="floatright">File:VTK_Examples_Baseline_IO_TestWriteVTI.png</div> ==WriteVTI.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkXMLImageDataWriter.h> #include <vtkXMLImageDataReader.h> #include <vtkImageData.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkImageDataGeometryFilter.h> #include <vtkRenderWindow.h> #include <vtkActor.h> #include <vtkPolyDataMapper.h> int...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WriteVTP (content was: "In this example, we add 10 points to a polygonal data (polydata) object and write the result to a VTP file. ==WriteVTP.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkXMLPolyDataWriter.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> int main ( int, char *[] ) { // Create 10 points. vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); for ( unsigned int i = 0; i < 10; ++i )...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/WriteVTU (content was: "<div class="floatright">File:VTK_Examples_Baseline_IO_TestWriteVTUFile.png</div> This example writes a VTU file. ==WriteVTU.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkTetra.h> #include <vtkCellArray.h> #include <vtkXMLUnstructuredGridReader.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkXMLUnstructuredGridWriter....")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/XMLPImageDataWriter (content was: "==XMLPImageDataWriter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkXMLPImageDataWriter.h> #include <vtkImageCanvasSource2D.h> int main(int, char *[]) { vtkSmartPointer<vtkImageCanvasSource2D> drawing = vtkSmartPointer<vtkImageCanvasSource2D>::New(); drawing->SetNumberOfScalarComponents(3); drawing->SetScalarTypeToUnsignedChar(); drawing->SetExtent(0, 20, 0, 50, 0, 1); drawing->SetDrawColor(255.0, 255.0, 255.0); drawing->DrawCircle(5, 5, 3...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/XMLPUnstructuredGridWriter (content was: " ==XMLPUnstructuredGridWriter.cxx== <source lang="cpp"> #include <vtkDelaunay3D.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkXMLPUnstructuredGridWriter.h> int main(int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); vtkSmartPointer<vtkDelaunay3D> delaunay = vtkSmartPointer<vtkDelaunay3D>::New(); delaunay->SetInputConnection(sphereSource->GetOutputPort());...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/IO/XMLStructuredGridWriter (content was: "==XMLStructuredGridWriter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkStructuredGrid.h> #include <vtkSmartPointer.h> int main ( int, char *[] ) { // Create a grid vtkSmartPointer<vtkStructuredGrid> structuredGrid = vtkSmartPointer<vtkStructuredGrid>::New(); vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint...")
- 03:03, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/ImageData/CellIdFromGridCoordinates (content was: "==CellIdFromGridCoordinates.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkStructuredData.h> int main(int, char *[]) { vtkSmartPointer<vtkImageData> grid = vtkSmartPointer<vtkImageData>::New(); grid->SetOrigin(0, 0, 0); unsigned int numVoxelsPerDimension = 2; //the number of voxels in each dimension grid->SetSpacing(1, 1, 1); int extent[6]; extent[0] = 0; extent[1] = numVoxelsPerDimension...")