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:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/OrientedGlyphs (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestOrientedGlyphs.png</div> ==OrientedGlyphs.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPointData.h> #include <vtkSphereSource.h> #include <vtkArrowSource.h> #include <vtkPolyData.h> #include <vtkPoints.h> #include <vtkGlyph3D.h> #include <vtkCellArray.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h>...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Opacity (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestOpacity.png</div> ==Opacity.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCubeSource.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { // Cube vtkSmartPointer<vtkCubeSource> cubeSource = vtkSmartPo...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/NoShading (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestNoShading.png</div> ==NoShading.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 = vtkSmartPointe...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/NamedColors (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestNamedColors.png</div> This example demonstrates the usage of the vtkNamedColors class. Some helper functions are also implemented. A cone is created and contoured using the BandedPolyDataContourFilter, it is then colored using a LookupTable where the colors have been assigned using color names. A list of available color names and any synonyms are also output. ==NamedColors.cxx== <source lang="cpp"> /*...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/NamedColorPatches (content was: "==Description== This example shows how to produce a HTML page called VTKNamedColorPatches.html showing the available colors in {{VTKDoxygenURL|vtkNamedColors}}. It also shows how to select the text color based on luminance. In this case Digital CCIR601 is used which gives less weight to the red and blue components of a color. This program produces identical output to VTK/Examples/Python/Visualization/NamedColor...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MultipleViewports (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMultipleViewports.png</div> This example creates a window with 4 viewports. ==MultipleViewports.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> int main(int, char *[]) { vtk...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MultipleRenderWindows (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMultipleRenderWindow.png</div> This example creates 4 render windows. When you close one, the next one opens? Or do they all open simultaneously? ==MultipleRenderWindows.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <v...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MultipleActors (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMultipleActors.png</div> This example creates two spheres and renders them. The idea is to show that each object needs its own mapper and actor and then multiple actors can be added to a renderer. ==MultipleActors.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData....")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MoveCamera (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMoveCamera.png</div> This example creates two spheres. They will move together when the mouse is used to interact with the scene because the camera is actually what is moving causing the view of the spheres to change. ==MoveCamera.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #incl...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MoveActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMoveActor.png</div> This example creates two spheres. They can be moved/scaled/rotated independent of each other using the mouse. ==MoveActor.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <v...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/MovableAxes (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestMovableAxes.png</div> With vtkAxesActor, a hybrid object with 3D axes and 2D label props, it is not possible to move the labels along with the axes with vtkInteractorStyleTrackballActor. Here we create new axes labels using a different 3D prop: vtkFollower, and update their positions with a custom callback command. ==MovableAxes.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkAssembly.h> #in...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/LineWidth (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestLineWidth.png</div> ==LineWidth.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLineSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkProperty.h> int main(int, char *[]) { vtkSmartPointer<vtkLineSource> lineSource = vtkSmartPointer<vtkLineSource>::New(); /...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/LegendScaleActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestLegendScaleActor.png</div> ==LegendScaleActor.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLegendScaleActor.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkLegendScaleActor.h> int main(int, char *[]) { vtkSmartPoint...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Legend (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestLegend.png</div> ==Legend.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> #include <vtkCubeSource.h> #include <vtkSphereSource.h> #include <vtkLegendBoxActor.h> #include <vtkNamedColors.h> #include <vtkSmartPointer.h> int main (int,...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/LabeledDataMapper (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestLabeledDataMapper.png</div> This example demonstrates how to display the point ID at each point. ==LabeledDataMapper.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPointSource.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkLabeledDataMapper.h> #include <vtkProperty.h> #include <vtkActor.h> #include <vtkActor2D.h> #include <vtkRenderWindow.h> #include <vtkRende...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CubeAxesActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCubeAxesActor.png</div> ==CubeAxesActor.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkCubeAxesActor.h> #include <vtkTextProperty.h> #include <vtkActorCollection.h> #include <vtkCamera.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkSuperquadricSource.h> #include <vtkAct...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry (content was: "<div class="floatright">300px</div> * Contributed by: Lars Friedrich ==Brief Description== Correctly rendering translucent geometry with OpenGL-functionality in the background (as in the case of VTK) requires non-intersecting polygons and depth-sorted traversal. In general these requirements are not satisfied as the inherent order of scene traversal is object-based. Using a method, namely d...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/CornerAnnotation (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestCornerAnnotation.png</div> ==CornerAnnotation.cxx== <source lang="cpp" highlight="9,35-45,47"> #include <vtkSmartPointer.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkTextProperty.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkCornerAnnotation.h> int main( int, char *[] ) { vtkSmartPointer<v...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/ScaleGlyphs (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestScaleGlyphs.png</div> ==ScaleGlyphs.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPointData.h> #include <vtkCubeSource.h> #include <vtkPolyData.h> #include <vtkPoints.h> #include <vtkGlyph3D.h> #include <vtkCellArray.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor....")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/SceneBounds (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestSceneBounds.png</div> ==SceneBounds.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTransform.h> #include <vtkCubeSource.h> #include <vtkProperty.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkAssembly.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkOr...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/SelectWindowRegion (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestSelectWindowRegion.png</div> ==SelectWindowRegion.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCallbackCommand.h> #include <vtkCommand.h> #include <vtkImageActor.h> #include <vtkImageMapper3D.h> #include <vtkInteractorStyleRubberBand2D.h> #include <vtkJPEGReader.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> static void SelectionChan...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Shadows (content was: "<div class="floatright">300px</div> ==Shadows.cxx== <source lang="cpp"> // The scene consists of // * 4 actors: a rectangle, a box, a cone and a sphere. The box, the cone and // the sphere are above the rectangle. // * 2 spotlights: one in the direction of the box, another one in the // direction of the sphere. Both lights are above the box, the cone and // the sphere. #include <vtkActor.h> #include <vtkSmartPointer.h...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/SideBySideViewports (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestSideBySideViewports.png</div> This example splits the window into a left and right side. A sphere is drawn on the left and a cube is drawn on the right. ==SideBySideViewports.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkCamera.h> #include <vtkCubeSource.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/StreamLines (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestStreamLines.png</div> ==StreamLines.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkActor.h> #if VTK_MAJOR_VERSION <= 5 #include <vtkPLOT3DReader.h> #else #include <vtkMultiBlockPLOT3DReader.h> #include <vtkMultiBlockDataSet.h> #endif #include <vtkPlaneSource.h> #include <vtkPolyDataMapper.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #in...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/StructuredDataTypes (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestStructuredDataTypes.png</div> ==StructuredDataTypes.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkDataSetMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkTransform.h> #include <vtkDoubleArray.h> #include <vtkImageData.h> #include <vtkRectilinearGrid.h> #include <vtkStru...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TensorGlyph (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestTensorGlyph.png</div> This example demonstrates how to apply a rotation+scaling matrix to each point in a data set. We use a cube as the glyph so that simple rotations are easy to interpret. Specifically, we glyph one point with no rotation/scaling, and a second point with a rotation of 45 degrees around the x axis. ==TensorGlyph.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkActor.h> #i...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TextSource (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTextSource.png</div> This example displays a 3D polygonal text saying "Hello", using the 9x15 font from X Windows. That is a raster (pixelized) font, so characters are formed by converting the pixels on each character into quadrilaterals. {{class|vtkVectorText}} generates higher quality polygonal representations of text, so it is recommended instead -- see [[../VectorText]] fo...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TextureMapImageData (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTextureMapImageData.png</div> This example creates an image and texture maps it onto a plane. ==TextureMapImageData.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageCanvasSource2D.h> #include <vtkPlaneSource.h> #include <vtkPolyDataMapper.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkTexture.h> int main(int, char *[])...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TextureMapPlane (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTextureMapPlane.png</div> This example reads a jpg image file and uses it to texture map a plane. ==TextureMapPlane.cxx== <source lang="cpp"> #include <vtkImageData.h> #include <vtkJPEGReader.h> #include <vtkPolyDataMapper.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkTextureMapToPlane.h> #include <vtkPlaneSource.h> #include <vtkTexture.h> #include <vtkRenderer.h> #include <vtkRend...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TextureMapQuad (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTextureMapQuad.png</div> This example defines 4 points (coplanar) and textures them using the input image. ==TextureMapQuad.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkImageData.h> #include <vtkPointData.h> #include <vtkCellArray.h> #include <vtkJPEGReader.h> #include <vtkPolyDataMapper.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkTexture.h> #include <vtkRendere...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TransformActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTransformActor.png</div> This examples demonstrates how to transform an actor. This is different than using vtkTransformPolyDataFilter in that it doesn't actually transform the data (you can't access the transformed coordinates) - it is all done on the video card. ==TransformActor.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkConeSource.h> #include <vtkTransform.h> #include <vtkPoly...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/TransformActorCollection (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestTransformActorCollection.png</div> ==TransformActorCollection.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkConeSource.h> #include <vtkSphereSource.h> #include <vtkCubeSource.h> #include <vtkTransform.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vt...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/VectorField (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestVectorField.png</div> ==VectorField.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkArrowSource.h> #include <vtkCellArray.h> #include <vtkGlyph2D.h> #include <vtkPointData.h> #include <vtkImageData.h> #include <vtkImageSliceMapper.h> #include <vtkImageSlice.h> #include <vtkInteractorStyleImage.h> #include <vtkPolyDataMapper.h> #include <vtkPolyData.h> #include <vtkPoints.h> #include <vtkRen...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/VectorOfActors (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestVectorOfActors.png</div> This example creates multiple actors and stores them in a vector. The resulting image is 10 spheres in a line. ==VectorOfActors.cxx== <source lang="cpp"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h>...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/VectorText (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestVectorText.png</div> This example displays a red "Hello" in 3D space. For an example where the text always faces the camera, see [[../Follower]]. If you want to draw text in 2D rather than 3D, take a look at [[../DrawText]] or [[../../Widgets/TextWidget]]. ==VectorText.cxx== <source lang="cpp"> #include <vtkVectorText.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h>...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Visualize2DPoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestVisualize2DPoints.png</div> This example shows how to render a set of points. The example reads the points from a vtp file specified as the first command line argument. An example data set can be found [http://www.vtk.org/Wiki/Image:Ring.vtp here]. ==Visualize2DPoints.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowIntera...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/VisualizeImageData (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestVisualizeImageData.png</div> ==VisualizeImageData.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> int main(int, char*[]) { // Create an image data vtkSmartPointer<vtkImageData> imageData = vtkSmart...")
- 03:31, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/VisualizeVTP (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestVisualizeVTP.png</div> This example shows how to load a vtp file and render it in an interactive window. The example accepts a .vtp file on the command line. ==VisualizeVTP.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkPolyDataMapper.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkXMLPolyDataReader.h>...")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/ImageOrder (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Visualization_TestImageOrder.png</div> ==ImageOrder.cxx== <source lang="cpp" highlight="45-51"> #include <vtkVersion.h> #include <vtkImageActor.h> #include <vtkImageData.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> static void CreateWhiteImage(vtkSmartPointer<vtkImageData> image); static void CreateRedImage...")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/ImageTransparency (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestImageTransparency.png</div> :''See also: [[../../Images/Transparency]] and [[../../Images/ImageStencil]]'' ==ImageTransparency.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkLookupTable.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageMapToColors.h> #include <vtkJPEGReader.h> #include <vtkPointData.h> #include <vtkRenderWindow.h> #i...")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/IsosurfaceSampling (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestIsosurfaceSampling.png</div> This example illustrates how to create an isosurface and create point data on that isosurface that is sampled from another dataset. This example creates an isosurface of a sphere and then uses the vtkProbeFilter to compute point data from a sampled cylinder. '''Note''', tha...", and the only contributor was "Lorensen" (talk))
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/VersionMacros (content was: "==VersionMacros.cxx== <source lang="cpp"> #include <vtkPolyData.h> #include <vtkVersion.h> // NOTE: without this include, the VTK_[]_VERSION are not defined! // These functions allow you to output the version defines at compile time #define STR(x) STR2(x) #define STR2(x) #x int main(int, char *[]) { #if VTK_MAJOR_VERSION>5 || (VTK_MAJOR_VERSION==5 && VTK_MINOR_VERSION>4) #pragma message(STR(VTK_MAJOR_VERSION)) #endif return EXIT_SUCCESS; } </source> {{VTKCMakeLis...")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ShareCamera (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Utilities_TestShareCamera.png</div> ==ShareCamera.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> int main(int, char *[]) { vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPoint...")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ShallowCopy (content was: "==ShallowCopy.cxx== <source lang="cpp"> #include <vtkPolyData.h> #include <vtkSmartPointer.h> int main(int, char *[]) { vtkSmartPointer<vtkPolyData> polydata = vtkSmartPointer<vtkPolyData>::New(); vtkSmartPointer<vtkPolyData> polydataCopy = vtkSmartPointer<vtkPolyData>::New(); polydataCopy->ShallowCopy(polydata); return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
- 03:28, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/PointInPolygon (content was: "==PointInPolygon.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkPolygon.h> int main(int, char *[]) { // Create the polygon vtkSmartPointer<vtkPolygon> polygon = vtkSmartPointer<vtkPolygon>::New(); polygon->GetPoints()->InsertNextPoint(0.0, 0.0, 0.0); polygon->GetPoints()->InsertNextPoint(1.0, 0.0, 0.0); polygon->GetPoints()->InsertNextPoint(1.0, 1.0, 0.0); polygon->GetPoints()->InsertNextPoint(0.0, 1.0, 0.0); doubl...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/PCADemo (content was: "<div class="floatright">File:VTK_Examples_Baseline_Utilities_TestPCADemo.png</div> ==PCADemo.cxx== <source lang="cpp"> #include <vtkVersion.h> #include "vtkSmartPointer.h" #include "vtkLine.h" #include "vtkLineSource.h" #include "vtkTransform.h" #include "vtkVertexGlyphFilter.h" #include "vtkMath.h" #include "vtkDoubleArray.h" #include "vtkMultiBlockDataSet.h" #include "vtkPCAStatistics.h" #include "vtkStringArray.h" #include "vtkTable.h" #include "vtkTransformPolyDataFilte...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ObserveError (content was: "When vtk encounters an error or warning, by default the message is written to standard output. This example shows how to catch the error or warning. The example prints to standard output, but an application may wish to present the error or warning in a different manner, e.g. write to a log file or present the message in a window. ==ObserveError.cxx== <source lang="cpp"> #in...", and the only contributor was "Lorensen" (talk))
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/LUTUtilities (content was: "==Description== A class called LUTUtilities is demonstrated along with a test harness that shows you how to use the class. This class allows you to: * Print the contents of the lookup table * Compare two lookup tables to see if they are the same. The test harness is a function called: TestLookupTables that tests pairs of lookup tables against each other. The program will not display any output if all tests are successful. ==LUTUtilities.cxx== <source lang="cpp"> #include <v...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/GetDataRoot (content was: "==GetDataRoot.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTesting.h> int main(int, char *[]) { // Locate VTK_DATA_ROOT vtkSmartPointer<vtkTesting> testHelper = vtkSmartPointer<vtkTesting>::New(); std::string dataRoot = testHelper->GetDataRoot(); std::cout << "dataRoot: " << dataRoot << std::endl; return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/FullScreen (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Utilities_TestFullScreen.png</div> ==FullScreen.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<vtkSp...")