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:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/GaussianRandomNumber (content was: "This example generates 3 random numbers from a Gaussian distribution with mean 0.0 and standard deviation 2.0. ==GaussianRandomNumber.cxx== <source lang="cpp"> #include <vtkMath.h> #include <time.h> int main(int, char *[]) { //The number of random numbers we wish to produce unsigned int numRand = 3; //without this line, the random numbers will be the same every iteration vtkMath::RandomSeed(time(NULL)); //Generate numRand random numbers from a Gaussian dis...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/PerspectiveTransform (content was: "The perspective transform automatically appends the "homogeneous 1" to the point before it is multiplied by the matrix. It then divides the first 3 coordinates of the result by the 4th coordinate of the result. For comparison, the standard projection (vtkTransform) is also performed with the same matrix and the same point. Note that the results are much different. ==PerspectiveTransform.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPerspectiveTransform.h>...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/ProjectPointPlane (content was: "This example projects a point onto a plane. To use this example, you must have the CVSHEAD version of VTK (as of 2/2/2010). ==ProjectPointPlane.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPlane.h> int main(int, char *[]) { vtkSmartPointer<vtkPlane> plane = vtkSmartPointer<vtkPlane>::New(); plane->SetOrigin(0.0, 0.0, 0.0); plane->SetNormal(0.0, 0.0, 1.0); double p[3] = {23.1, 54.6, 9.2}; double origin[3] = {0.0, 0.0, 0.0}; double n...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/RandomSequence (content was: "This is the "new" (December, 2009) VTK way to produce random numbers. It is actually a random sequence generator. ==RandomSequence.cxx== <source lang="cpp"> #include <vtkMinimalStandardRandomSequence.h> #include <vtkSmartPointer.h> int main(int, char *[]) { //Create a random sequence generator. vtkSmartPointer<vtkMinimalStandardRandomSequence> sequence = vtkSmartPointer<vtkMinimalStandardRandomSequence>::New(); // initialize the sequence sequence->SetSeed(1);...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/UniformRandomNumber (content was: "This example generates 3 random numbers between 0 and 2 from a uniform distribution. ==UniformRandomNumber.cxx== <source lang="cpp"> #include <vtkMath.h> #include <time.h> int main(int, char *[]) { // Set the number of random numbers we wish to produce to 3. unsigned int numRand = 3; // Without this line, the random numbers will be the same every iteration. vtkMath::RandomSeed(time(NULL)); // Generate numRand random numbers from a uniform distribution between...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredData/GetLinearPointId (content was: "==GetLinearPointId.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkStructuredData.h> #include <vtkStructuredGrid.h> int main(int, char *[]) { // Create a grid vtkSmartPointer<vtkStructuredGrid> structuredGrid = vtkSmartPointer<vtkStructuredGrid>::New(); // Set the dimensions of the grid { int dims[3] = {5,10,1}; structuredGrid->SetDimensions(dims); } // Retrieve the dimensions of the grid int dimensions[3]; structuredGrid->GetD...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredGrid/BlankPoint (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_StructuredGrid_TestBlankPointOK.png</div> ==BlankPoint.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkIdList.h> #include <vtkProperty.h> #include <vtkStructuredGrid.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkMath.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #inclu...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredGrid/StructuredGrid (content was: "<div class="floatright">File:VTK_Examples_Baseline_StructuredGrid_TestStructuredGrid.png</div> This example reads and writes points into a structured grid. Required version: You must have the CVS HEAD of VTK as of 2/17/10. ==StructuredGrid.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkStructuredGrid.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #incl...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredGrid/StructuredGridOutline (content was: "<div class="floatright">File:VTK_Examples_Baseline_StructuredGrid_TestStructuredGridOutline.png</div> Visualize the outline of a structured grid. ==StructuredGridOutline.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkStructuredGrid.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkMath.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInte...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredGrid/VisualizeStructuredGrid (content was: "<div class="floatright">File:VTK_Examples_Baseline_StructuredGrid_TestVisualizeStructuredGrid.png</div> Visualize the points of a structured grid. ==VisualizeStructuredGrid.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkStructuredGrid.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkMath.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredGrid/VisualizeStructuredGridCells (content was: "<div class="floatright">File:VTK_Examples_Baseline_StructuredGrid_TestVisualizeCells.png</div> ==VisualizeStructuredGridCells.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkDataSetMapper.h> #include <vtkMath.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkShrinkFilter.h> #include <vtkStructuredGrid.h> #include <vtkUnstructuredGrid.h> int main(in...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/StructuredPoints/StructuredPointsToUnstructuredGrid (content was: "==StructuredPointsToUnstructuredGrid.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkStructuredPoints.h> #include <vtkXMLUnstructuredGridWriter.h> #include <vtkUnstructuredGrid.h> int main(int argc, char *argv[]) { // Create a structuredpoints vtkSmartPointer<vtkStructuredPoints> structuredPoints = vtkSmartPointer<vtkStructuredPoints>::New(); // Specify the size of the image data structuredPoints->SetDimensions(2,3,1); structuredPoints->Se...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/TextAnalysis/ConcatenateArray (content was: "==ConcatenateArray.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkConcatenateArray.h> #include <vtkDenseArray.h> int main(int, char *[]) { vtkSmartPointer<vtkDenseArray<double> > array0 = vtkSmartPointer<vtkDenseArray<double> >::New(); array0->Resize(2); array0->SetValue(0, 0); array0->SetValue(1, 1); vtkSmartPointer<vtkDenseArray<double> > array1 = vtkSmartPointer<vtkDenseArray<double> >::New(); array1->Resize(2); array1->SetValue(0...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/TextAnalysis/PowerWeighting (content was: "==PowerWeighting.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPowerWeighting.h> #include <vtkDenseArray.h> int main(int, char *[]) { vtkSmartPointer<vtkDenseArray<double> > array = vtkSmartPointer<vtkDenseArray<double> >::New(); array->Resize(2); array->SetValue(0, 3); array->SetValue(1, 4); vtkSmartPointer<vtkArrayData> arrayData = vtkSmartPointer<vtkArrayData>::New(); arrayData->AddArray(array); vtkSmartPointer<vtkPowerWeighti...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Texture/TexturedSphere (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Texture_TestTexturedSphere.png</div> ==TexturedSphere.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkActor.h> #include <vtkPolyDataMapper.h> #include <vtkTransformTextureCoords.h> #include <vtkTexture.h> #...", and the only contributor was "Lorensen" (talk))
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Untested/Video/AVI (content was: "This example demonstrates how to make an AVI video. In this example, each frame of the video is a red rectangle moving across the frame incrementally. ==AVI.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> //#include <vtkJPEGReader.h> #include <vtkImageCanvasSource2D.h> #include <vtkAVIWriter.h> int main (int argc, char *argv[]) { //vtkSmartPointer<vtkJPEGReader> reader = // vtkSmartPointer<vtkJPEGReader>::New(); vtkSmartPointer<vtkImageCanvasSource2D> sour...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/2DArray (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/2DArray 2DArray] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/3DArray (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/3DArray 3DArray] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/Animation (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/Animation Animation] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/AnimationScene (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/AnimationScene AnimationScene] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ArrayLookup (content was: "Link title= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/ArrayLookup ArrayLookup] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ArrayWriter (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/ArrayWriter ArrayWriter] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/BoundingBox (content was: ":''See also: [[../../PolyData/Outline]] and [[../../Visualization/CubeAxesActor2D]]'' ==BoundingBox.cxx== <source lang="cpp"> #include <vtkBoundingBox.h> int main(int, char *[]) { double p0[3] = {0,0,0}; double p1[3] = {0.5,0.5,0.5}; double p2[3] = {1.0,1.0,1.0}; vtkBoundingBox boundingBox; boundingBox.AddPoint(p0); double bounds[6]; boundingBox.GetBounds(bounds); std::cout << "Bounds: " << bounds[0] << ", " << bounds[1] << ", " << bounds[2] << ", "...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/BoundingBoxIntersection (content was: "==BoundingBoxIntersection.cxx== <source lang="cpp"> #include <vtkBoundingBox.h> int main(int, char *[]) { vtkBoundingBox boundingBox0; boundingBox0.SetBounds(0, 1, 0, 1, 0, 1); vtkBoundingBox boundingBox1; boundingBox1.SetBounds(5, 6, 5, 6, 5, 6); vtkBoundingBox boundingBox2; boundingBox2.SetBounds(0.5, 1.5, 0.5, 1.5, 0.5, 1.5); std::cout << bo...", and the only contributor was "Daviddoria" (talk))
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/CellTreeLocator (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/CellTreeLocator CellTreeLocator] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' = ==CMakeLists.txt== <source lang="cmake"> cmake_minimum_required(VERSION 2.6) PROJECT(PointInsideObjectUsingCellTree) FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE(PointInsideObjectUsingCellTree PointInsideObjectUsingCellTree.cxx) TARGET_LINK_LIBRARIES(PointInsideObjectU...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ContoursToSurface (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ContoursToSurface ContoursToSurface] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractOutsideSurface (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractOutsideSurface ExtractOutsideSurface] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractPolyLinesFromPolyData (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractPolyLinesFromPolyData ExtractPolyLinesFromPolyData] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractSelectedIds (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractSelectedIds ExtractSelectedIds] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractSelection (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractSelection ExtractSelection] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractSelectionCells (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractSelectionCells ExtractSelectionCells] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ExtractSelectionOriginalId (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ExtractSelectionOriginalId ExtractSelectionOriginalId] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/FitSplineToCutterOutput (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/FitSplineToCutterOutput FitSplineToCutterOutput] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/GeometryFilter (content was: "This example demonstrates how to convert an unstructured grid to a polydata. Currently nothing is done with the resulting polydata. If someone has a good data set that demonstrates the conversion, please let us know. ==GeometryFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPolyData.h> #include <vtkUnstructuredGrid.h> #include <vtkCellArray.h> #include <vtkGeometryFilter.h> #include <vtkPointSource.h> int main(int, char *[])...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/GetMiscCellData (content was: "==GetMiscCellData.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCellData.h> #include <vtkCellArray.h> #include <vtkFloatArray.h> #include <vtkTriangle.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkXMLPolyDataReader.h> int main(int argc, char *argv[]) { // Parse command line arguments if(argc != 3) { std::cout << "Required arguments: Filename ArrayName" << std::endl; return EXIT_FAILURE; } // Get filename from comm...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/GetMiscPointData (content was: "This example demonstrates how to get data stored at each point in a polydata. ==GetMiscPointData.cxx== <source lang="cpp"> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkSmartPointer.h> #include <vtkXMLPolyDataReader.h> #include <vtkPolyDataNormals.h> #include <string> int main(int argc, char *argv[]) { // Parse command line arguments if(argc != 3) { std::cout << "Required...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/GradientFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestGradientFilter.png</div> Computes the gradient of a scalar field defined on the points of a data set. ==GradientFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkArrowSource.h> #include <vtkAssignAttribute.h> #include <vtkCamera.h> #include <vtkExtractEdges.h> #include <vtkGlyph3D.h> #include <vtkGradientFilter.h> #include <vtkPolyDataMapper.h> #include <vtkRende...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/GreedyTerrainDecimation (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestGreedyTerrainDecimation.png</div> ==GreedyTerrainDecimation.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkPolyData.h> #include <vtkProperty.h> #include <vtkMath.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkImageData.h> #include <vtkGreedyTerrainDecima...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/HighlightBadCells (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestHighlightBadCells.png</div> ==HighlightBadCells.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkUnstructuredGrid.h> #include <vtkPolyData.h> #include <vtkThreshold.h> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkDataSet.h> #include <vtkDataSetMapper.h> #include <vtkMeshQuality.h> #include <vtkSphereSource.h> #include <vtkT...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/Hull (content was: "==Hull.cxx== <source lang="cpp"> #include <vtkPoints.h> #include <vtkXMLPolyDataReader.h> #include <vtkXMLPolyDataWriter.h> #include <vtkSmartPointer.h> #include <vtkHull.h> int main(int argc, char *argv[]) { // Parse command line arguments if(argc != 2) { std::cout << "Required arguments: Filename" << std::endl; return EXIT_FAILURE; } vtkSmartPointer<vtkXMLPolyDataReader> reader = vtkSmartPointer<vtkXMLPolyDataReader>::New(); reader->SetFileName...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ImplicitDataSetClipping (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestImplicitDataSetClipping.png</div> This example demonstrates how to clip one object with another. ==ImplicitDataSetClipping.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkVersion.h> #include <vtkActor.h> #include <vtkBox.h> #include <vtkCamera.h> #include <vtkCellData.h> #include <vtkClipPolyData.h> #include <vtkCubeSource.h> #include <vtkDataSetWriter.h> #include <vtkIdFilter.h> #include...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ImplicitModeller (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestImplicitModeller.png</div> ==ImplicitModeller.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkImplicitModeller.h> #include <vtkSphereSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkContourFilter.h>...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ImplicitPolyDataDistance (content was: "NOTE: This example requires version 5.9.20111206 or higher. <div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestImplicitPolyDataDistance.png</div> ==ImplicitPolyDataDistance.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkImplicitPolyDataDistance.h> #include <vtkActor.h> #include <vtkFloatArray.h> #include <vtkPointData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtk...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/InterpolateTerrain (content was: "This example samples a "terrain map" using two approaches. # Creates an image from the x,y points of the terrian and then uses vtkProbeFilter to interpolate the heights. # Uses vtkCellLocator to directly interpolate the terrain polydata. Note that the results differ when the point is not one of the original terrain points. This is because the image has quadrilateral elements and the polydata has triangles. As the resolution of the grid increases, the two results converge. ==...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/InterpolateMeshOnGrid (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestInterpolateMeshOnGrid.png</div> This example resamples a mesh on a grid of points. ==InterpolateMeshOnGrid.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkProperty.h> #include <vtkDataSetMapper.h> #include <vtkSmartPointer.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkTriangle.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkLine.h> #include <vtkImageData.h>...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/IntersectionPolyDataFilter (content was: "NOTE: This example requires version 5.9.20111206 or higher. <div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestIntersectionPolyDataFilter.png</div> ==IntersectionPolyDataFilter.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkIntersectionPolyDataFilter.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkSphe...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/IterateOverLines (content was: "(If anyone can explain why the commented section doesn't work the same as the uncommented section, or fix it, that would be great.) ==IterateOverLines.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLine.h> #include <vtkCellArray.h> #include <vtkPolyData.h> #include <vtkPoints.h> int main(int, char *[]) { double origin[3] = {0.0, 0.0, 0.0}; double p0[3] = {1.0, 0.0, 0.0}; double p1[3] = {0.0, 1.0, 0.0}; double p2[3] = {0.0, 1.0, 2.0}; double p3[3...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/KochanekSpline (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestKochanekSpline.png</div> ==KochanekSpline.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPointSource.h> #include <vtkPoints.h> #include <vtkKochanekSpline.h> #include <vtkParametricSpline.h> #include <vtkParametricFunctionSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInte...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/LinearExtrusion (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestLinearExtrusion.png</div> This example creates some text, extrudes it to make it 3D. ==LinearExtrusion.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkVectorText.h> #include <vtkLinearExtrusionFilter.h> #include <vtkTriangleFilter.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkProperty.h> #include <vtkCamera.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #in...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/MaskPoints (content was: "<div class="floatright">300px</div> ==MaskPoints.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMaskPoints.h> #include <vtkPointSource.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkVertexGlyphFilter.h> int main(int, char*[]) { // Create a set of points vtkSmartPointer<vtkPointS...")