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/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...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/MergePoints (content was: "Add new points if they are unique. You must add the original points first. After that, the locator will only add unique points. ==MergePoints.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkMath.h> #include <vtkMergePoints.h> #include <vtkPointSource.h> #include <vtkPoints.h> #include <vtkPolyData.h> int main(int, char *[]) { // Create a set of points vtkSmartPointer<vtkPointSource> pointsSource = vtkSmartPointer<vtkPointSource>::New(); pointsS...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/MergeSelections (content was: "<div class="floatright">400px</div> * Fixed by Mirko Heuegger ==MergeSelections.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkInformation.h> #include <vtkPointSource.h> #include <vtkExtractSelection.h> #include <vtkSelection.h> #include <vtkSelectionNode.h> #include <vtkPolyData.h> #include <vtkUnstructuredGrid.h> #include <vtkIdTypeArray.h> #include <vtkDataSetMapper....")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/MeshQuality (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestMeshQuality.png</div> This example uses one of many selectable methods to determine the quality of a mesh. In this case, we have selected to use the area of the triangles. We show how to retrieve the quality metric computed on each triangle after the process is completed. ==MeshQuality.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkCellData.h>...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/MultiBlockMergeFilter (content was: "==MultiBlockMergeFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkMultiBlockMergeFilter.h> #include <vtkMultiBlockDataSet.h> int main(int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource1 = vtkSmartPointer<vtkSphereSource>::New(); sphereSource1->Update(); vtkSmartPointer<vtkSphereSource> sphereSource2 = vtkSmartPointer<vtkSp...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/NullPoint (content was: "==NullPoint.cxx== <source lang="cpp"> #include <vtkPoints.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkFloatArray.h> int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(1,1,1); points->InsertNextPoint(2,2,2); points->InsertNextPoint(3,3,3); vtkSmartPointer<vtkPolyData> polydata = vtkSmartPointer<vtkPolyData>::New(); polydata->SetPoints(po...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/Outline (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestOutline.png</div> This example shows how to draw the outline of the dataset. :''See also: [[../../Utilities/BoundingBox]] and [[../../Visualization/CubeAxesActor2D]]'' ==Outline.cxx== <source lang="cpp" highlight="11,34-48,62"> #include <vtkVersion.h> #include <vtkSphereSource.h> #include <vtkProperty.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h>...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ParametricSpline (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestParametricSpline.png</div> ==ParametricSpline.cxx== <source lang="cpp" highlight="17-39,44"> #include <vtkSmartPointer.h> #include <vtkCellArray.h> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkPoints.h> #include <vtkParametricSpline.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindow...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/PointCellIds (content was: "==PointCellIds.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkIdFilter.h> #include <vtkIdTypeArray.h> #include <vtkPointData.h> #include <vtkCellData.h> int main(int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); std::cout << "There are " << sphereSource->GetOutput()->GetNumberOfPoints() << " points." << std::endl; std::cout << "There...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/PointInsideObject (content was: "<div class="floatright">File:PointsInsideObject.png</div> This example creates a cube at the origin with side 1. Then it checks if the points are inside the cube. There is one point inside, one in the border and one outside. The answer for the first one should be yes, and for the other two, no. Then render the cube and the points to see the result. ==PointInsideObject.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkPolyData.h> #include <vtkPointData.h> #inc...")
- 03:13, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/PointInsideObject2 (content was: "This example creates a volume (convex hull-ish) out of a mesh object. It then uses FindCell (which determines if a point is inside of a cell) to determine if a point is inside of any of the 3D cells created by Delaunay3D or not. This could potentially lead to false positives - that is, points that are outside the mesh but inside the convex hull. <div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestPointInsideObject2.png</div> ==PointInsideObject2.cxx== <source l...")