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:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Glyph3DMapper (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestGlyph3DMapper.png</div> ==Glyph3DMapper.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkCubeSource.h> #include <vtkPolyData.h> #include <vtkPoints.h> #include <vtkGlyph3DMapper.h> #include <vtkCellArray.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { vtkSmartPointer...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Follower (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestFollower.png</div> The text is a 3D actor and is placed in 3D space, but stays right side up and facing the camera, while the cube does not. ==Follower.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkCubeSource.h> #include <vtkFollower.h> #include <vtkInteractorStyle.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderer.h> #include <vtkRende...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/FlatShading (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestFlatShading.png</div> ==FlatShading.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> int main (int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPo...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/FastSplatter (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestFastSplatter.png</div> ==FastSplatter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include "vtkImageData.h" #include "vtkImageShiftScale.h" #include "vtkFastSplatter.h" #include "vtkImageViewer2.h" #include "vtkPoints.h" #include "vtkPolyData.h" #include "vtkRenderer.h" #include "vtkRenderWindow.h" #include "vtkRenderWindowInteractor.h" #include "vtkSmartPointer.h" #include <cmath> const int SPLAT_...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/ElevationBandsWithGlyphs (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestElevationBandsWithGlyphs.png</div> == Description == In this example we are coloring the surface by partitioning the elevation into bands and using arrows to display the normals on the surface. Rather beautiful surfaces are generated. The banded contour filter and an indexed lookup table are used along with the elevation filter to generate the banding on the surface. To further enhance the surface the s...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/DrawText (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestDrawText.png</div> This example writes "Hello world" in the bottom left corner of the render window. The text size and color are set. There are many properties that can be set that control how the text is changed when the render window is resized, but they are not covered in this example. This example draws text in 2D. For an example using 3D text that can be placed on the scene like a regular vtkActor, s...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/DistanceToCamera (content was: "This example produces two arrows whose scale stays fixed with respect to the distance from the camera (i.e. as you zoom in and out). Standard spheres are drawn for comparison. <div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestDistanceToCamera.png</div> ==DistanceToCamera.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkArrowSource.h> #include <vtkDistanceToCamera.h> #include <vtkGlyph3D.h> #include <vtkInteractorStyleTrackballCamera.h> #inclu...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/DisplayQuadraticSurfaces (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestDisplayQuadraticSurfaces.png</div> This example demonstrates how to display several types of quadratic surfaces. ==DisplayQuadraticSurfaces.cxx== <source lang="cpp"> #include <vtkQuadric.h> #include <vtkSampleFunction.h> #include <vtkContourFilter.h> #include <vtkOutlineFilter.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRendere...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/DisplayCoordinateAxes (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestAxesIndicator.png</div> This example shows how to display the coordinate axes in the render window. :''See also: VTK/Examples/Cxx/GeometricObjects/Axes''. ==DisplayCoordinateAxes.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #in...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/DepthSortPolyData (content was: "<div class="floatright">300px</div> * Contributed by: Lars Friedrich == Brief Description == This is a C++-port of the VTK example '''DepthSort.py''' found in VTKSourceDir/Examples/VisualizationAlgorithms/Python. It was slightly modified. It generates 5 spheres with configurable PHI and THETA resolution. The spheres overlap. Therefore, correct blending and visualization in general requires depth sorting of...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CurvedReformation (content was: "<div class="floatcenter">500px</div> This example makes a curved reformation of a volume. The example requires three parameters: # Input volume # Input polydata that defines a polyline for the reformation. The polyline will be resampled with a cubic spline # Resolution is the result in resolution of the reformation. '''NOTE:''' The image was generated with this volume data: [http://vtk.org/gitweb?p=VTKData....")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CurvatureBandsWithGlyphs (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCurvatureBandsWithGlyphs.png</div> == Description == In this example we are coloring the surface by partitioning the gaussian curvature into bands and using arrows to display the normals on the surface. Rather beautiful surfaces are generated. The banded contour filter and an indexed lookup table are used along with the gaussian curvature filter to generate the banding on the surface. To further enhance...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CursorShape (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCursorShape.png</div> ==CursorShape.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { // Create a sphere vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Cursor3D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCursor3D.png</div> ==Cursor3D.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkProperty.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkCursor3D.h> int main(int, char *[]) { // Create a sphere vtkSmartPointer<vtkSphe...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Cursor2D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCursor2D.png</div> ==Cursor2D.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkProperty.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkCursor2D.h> int main(int, char *[]) { // Create a sphere vtkSmartPointer<vtkSphe...")
- 03:26, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CubeAxesActor2D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCubeAxesActor2D.png</div> For more information on how to configure this actor, see:<br> http://vtk.1045678.n5.nabble.com/How-to-Scale-vtkCubeAxesActor2D-td5090262.html This was converted from Python to C++, the source I found for the Python was at:<br> https://github.com/Kitware/VTK/blob/master/Examples/Annotation/Python/cubeAxes.py :''See also: [[../../PolyData/Outline]] and ../../Utilities/BoundingBo...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ResamplePolyLine (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestResamplePolyLine.png</div> This example resamples a polyline with a vtkCardinalSpline. The resampled line will have 10 times the number of points contained in the original polyline. If no XML file is provided, a random polyline is generated. ==ResamplePolyLine.cxx== <source lang="cpp"> #include <vtkVersion...", and the only contributor was "Lorensen" (talk))
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ReverseSense (content was: "==ReverseSense.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkPointData.h> #include <vtkReverseSense.h> #include <vtkFloatArray.h> int main(int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); vtkSmartPointer<vtkFloatArray> pointNormals = vtkFloatArray::SafeDownCast(sphereSource->GetOutput()->GetPointData()->...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/RibbonFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestRibbonFilter.png</div> This example demonstrates how to draw a flat surface (a ribbon) along a line. ==RibbonFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkCamera.h> #include <vtkCellArray.h> #include <vtkMath.h> #include <vtkLine.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWind...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/RotationAroundLine (content was: "This example demonstrates how to rotate an object around an axis. For the demo, we rotate a cone 10 degrees around the y axis. ==RotationAroundLine.cxx== <source lang="cpp"> #include <vtkConeSource.h> #include <vtkPolyData.h> #include <vtkTransformPolyDataFilter.h> #include <vtkTransform.h> #include <vtkSmartPointer.h> #include <vtkXMLPolyDataWriter.h> int main(int, char *[]) { //Create a cone vtkSmartPointer<vtkConeSource> coneSource = vtkSmartPointer<vtkConeSource...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/RuledSurfaceFilter (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestRuledSurfaceFilter.png</div> ==RuledSurfaceFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkRuledSurfaceFilter.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkCellArray.h> #include <vtkTransform.h> #include <vtkTransformPolyDataFilter.h> #include <vtkAppendPolyData.h> #include <vtkPolyDataMapper.h> #...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/SelectPolyData (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestSelectPolyData.png</div> ==SelectPolyData.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkSelectPolyData.h> #include <vtkSphereSource.h> #include <vtkClipPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkLODActor.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> int main(int, char *[]) { vtkSmartPointer<vtkSph...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/SelectVisiblePoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestSelectVisiblePoints.png</div> This example demonstrates how to determine which objects are visible. ==SelectVisiblePoints.cxx== <source lang="cpp"> #include <vtkPolyData.h> #include <vtkPointSource.h> #include <vtkSphereSource.h> #include <vtkSmartPointer.h> #include <vtkSelectVisiblePoints.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <v...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ShrinkPolyData (content was: "==ShrinkPolyData.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkShrinkPolyData.h> #include <vtkXMLPolyDataWriter.h> int main(int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->SetRadius(10); sphereSource->SetPhiResolution(50); sphereSource->SetThetaResolution(50); sphereSource->Update(); { vtkSmartPointer<vtkXMLPo...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/Silhouette (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestSilhouette.png</div> ==Silhouette.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyDataSilhouette.h> #include <vtkSphereSource.h> #include <vtkXMLPolyDataReader.h> #includ...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/SmoothPolyDataFilter (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestSmoothPolyDataFilter.png</div> ==SmoothPolyDataFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkDelaunay2D.h> #include <vtkMath.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtk...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ThinPlateSplineTransform (content was: "<div class="floatright">300px</div> ==ThinPlateSplineTransform.cxx== <source lang="cpp"> #include "vtkImageGridSource.h" #include "vtkLookupTable.h" #include "vtkImageMapToColors.h" #include "vtkBMPReader.h" #include "vtkImageBlend.h" #include "vtkPoints.h" #include "vtkThinPlateSplineTransform.h" #include "vtkImageReslice.h" #include "vtkSmartPointer.h" #include "vtkDataObject.h" #include "vtkRenderer.h"...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ThresholdCells (content was: "==ThresholdCells.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkIntArray.h> #include <vtkCellData.h> #include <vtkTriangle.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkUnstructuredGrid.h> #include <vtkPointData.h> #include <vtkSmartPointer.h> #include <vtkThreshold.h> int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(0,0,0); points->In...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/ThresholdPoints (content was: "==ThresholdPoints.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkIntArray.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkSmartPointer.h> #include <vtkThresholdPoints.h> int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(0,0,0); points->InsertNextPoint(1,1,1); points->InsertNextPoint(2,2,2); points->InsertNextPoint(3,3,3); points->In...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TransformFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestTransformFilter.png</div> This example stretches an arrow. ==TransformFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkArrowSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkTransform.h> #include <vtkTransformFilter.h> int main(int, char *[...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TransformOrderDemo (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestTransformOrderDemo.png</div> This example creates an image. In the left viewport, it translates the image, then translates and rotates the image. In the right viewport, it rotates the image, then rotates and translates the image. One can see that the result is clearly not the same! ==TransformOrderDemo.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTransform.h> #include <vtkAxesActor.h> #i...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TransformPipeline (content was: "This example demonstrate how to connect a transformation for keeping coordinate one actor relative to another. I used a robotic arm because it's good example used originally by James D. Foley in book: Computer Graphics: Principles and Practice in C. Someone who read this book may want to know how to make it in VTK. <div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestTransformPipeline.png</div> ==TransformPipeline.cxx== <source lang="cpp"> //This example describ...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TriangleArea (content was: "==TriangleArea.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkTriangle.h> int main(int, char *[]) { //setup points (geometry) vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint ( 0.0, 0.0, 0.0 ); points->InsertNextPoint ( 1.0, 0.0, 0.0 ); points->InsertNextPoint ( 1.0, 1.0, 0.0 ); points->InsertNextPoint ( 0.0, 1.0, 0.0 );...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TriangleColoredPoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestTriangleColoredPoints.png</div> This example shows how by adding a color to each vertex of a triangle, the triangle's color will be smoothly varying between the colors of the vertices. ==TriangleColoredPoints.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkXMLPolyDataWriter.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkCell...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TriangleSolidColor (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestTriangleSolidColor.png</div> ==TriangleSolidColor.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkXMLPolyDataWriter.h> #include <vtkPolyData.h> #include <vtkCellData.h> #include <vtkCellArray.h> #include <vtkTriangle.h> #include <vtkUnsignedCharArray.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <v...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/TubeFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestTube.png</div> This example creates a tube around a line. This is helpful because when you zoom the camera, the thickness of a line remains constant, while the thickness of a tube varies. ==TubeFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLine.h> #include <vtkCellArray.h> #include <vtkTubeFilter.h> #include <vtkLineSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h>...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/VertexConnectivity (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestVertexConnectivity.png</div> The input must be only edges (i.e. vtkExtractEdges must be run). ==VertexConnectivity.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkIdList.h> #include <vtkPolyData.h> #include <vtkCellData.h> #include <vtkDoubleArray.h> #include <vtkDataSet.h> #include <vtkSphereSource.h> #include <vtkTriangleFilter.h> #include <vtkExtractEdges.h> #incl...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/WarpScalar (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestWarpScalar.png</div> ==WarpScalar.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkDoubleArray.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkWarpScalar.h> #include <vtkMath.h> int main(int, char *[]...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/WarpSurface (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_PolyData_TestWarpSurface.png</div> The image was produced using [https://raw.githubusercontent.com/lorensen/VTKWikiExamples/master/Testing/Data/cowHead.vtp this data] and a scale of .1. ==WarpSurface.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkVersion.h> #include <vtkWarpVector.h> #include <vtk...", and the only contributor was "Lorensen" (talk))
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/WarpVector (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/WarpVector WarpVector] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/PolyData/WeightedTransformFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_PolyData_TestWeightedTransformFilter.png</div> ==WeightedTransformFilter.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSphereSource.h> #include <vtkTransformFilter.h> #include <vtkProperty.h> #include <vtkCamera.h> #include <vtkFloatArray.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #inclu...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/BorderWidgetQt (content was: "==BorderWidgetQtDriver.cxx== <source lang="cpp"> #include <QApplication> #include "BorderWidgetQt.h" int main(int argc, char* argv[]) { QApplication app( argc, argv ); BorderWidgetQt borderWidgetQt; borderWidgetQt.show(); return app.exec(); } </source> ==BorderWidgetQt.cxx== <source lang="cpp"> #include "BorderWidgetQt.h" #include <vtkBorderWidget.h> #include <vtkCommand.h> #include <vtkPolyDataMapper.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #includ...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/EventQtSlotConnect (content was: "==EventQtSlotConnectDriver.cxx== <source lang="cpp"> #include <QApplication> #include "EventQtSlotConnect.h" int main(int argc, char** argv) { QApplication app(argc, argv); EventQtSlotConnect eventQtSlotConnect; eventQtSlotConnect.show(); return app.exec(); } </source> ==EventQtSlotConnect.h== <source lang="cpp"> #ifndef EventQtSlotConnect_H #define EventQtSlotConnect_H #include "ui_EventQtSlotConnect.h" #include <QMainWindow> #include <vtkSmartPointer.h> class...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/ImageDataToQImage (content was: "This example shows how a {{class|vtkImageData}} can be converted into a [//doc.qt.io/qt-5/qimage.html QImage]. See also the QImageToImageSource example. ==ImageDataToQImage.cxx== <source lang="cpp" highlight="40-68"> #include <vtkVersion.h> #include <vtkImageData.h> #include <vtkSmartPointer.h> #include <QImage> #include <QColor> #include <QApplication> // Create a green 50x50 imageData for demonstration purposes vtkSmartPointer<...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/QImageToImageSource (content was: "This example demonstrates the use of {{class|vtkQImageToImageSource}}. See also the ImageDataToQImage example. ==QImageToImageSource.cxx== <source lang="cpp"> #include <QApplication> #include <QPixmap> #include "vtkSmartPointer.h" #include "vtkQImageToImageSource.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); QPixmap pixmap(10,10); QColor color(10,20,30); pixmap.fill(color); vtkSmartPointer<vtkQI...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/QtBarChart (content was: "==QtBarChart.cxx== <source lang="cpp"> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkSmartPointer.h> #include <vtkChartXY.h> #include <vtkPlot.h> #include <vtkTable.h> #include <vtkIntArray.h> #include <vtkContextView.h> #include <vtkContextScene.h> #include <vtkRenderWindowInteractor.h> #include <vtkVersion.h> #define VTK_CREATE(type, name) \ vtkSmartPointer<type> name = vtkSmartPointer<type>::New() // Monthly circulation data static int data_2008[] =...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/RenderWindowNoUiFile (content was: "==Description== 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 RenderWindowUi) File:Qt-RenderWindowNoUiFile.png ==RenderWindowNoUiFile.cxx== <source lang="cpp"> #include <QApplication> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <QVTKWidget.h>...")
- 03:18, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance (content was: "==Description== Using a QVTKWidget with the Qt Multiple Inheritance model. In contrast to the single inheritance example the main widget is here derived from QMainWindow as well as the class defining the form (Ui::RenderWindowUIMultipleInheritance). File:Qt-RenderWindowUISingleInheritance.png ==RenderWindowUIMultipleInheritanceDriver.cxx== <source lang="cpp"> #include <QApplication> #include "RenderWindowUIMultipleInheritance.h" int main(int argc, char** argv) { QAppl...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance (content was: "==Description== Using a QVTKWidget with the Qt Single Inheritance model File:Qt-RenderWindowUISingleInheritance.png ==RenderWindowUISingleInheritanceDriver.cxx== <source lang="cpp"> #include <QApplication> #include "RenderWindowUISingleInheritance.h" int main( int argc, char** argv ) { // QT Stuff QApplication app( argc, argv ); RenderWindowUISingleInheritance renderWindowUISingleInheritance; renderWindowUISingleInheritance.show(); return app.exec(); } </...")
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Qt/ShareCameraQt (content was: "==ShareCameraQtDriver.cxx== <source lang="cpp"> #include <QApplication> #include "ShareCameraQt.h" int main( int argc, char** argv ) { // QT Stuff QApplication app( argc, argv ); ShareCameraQt shareCameraQt; shareCameraQt.show(); return app.exec(); } </source> ==ShareCameraQt.h== <source lang="cpp"> #ifndef ShareCameraQt_H #define ShareCameraQt_H #include <QMainWindow> #include "ui_ShareCameraQt.h" class ShareCameraQt : public QMainWindow, public Ui::ShareCa...")