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/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...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ExtractArrayComponent (content was: "==ExtractArrayComponent.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkArrayCalculator.h> #include <vtkDoubleArray.h> #include <vtkPointData.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(1.0, 0.0, 0.0); points->...", and the only contributor was "Daviddoria" (talk))
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/DeepCopy (content was: "==DeepCopy.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->DeepCopy(polydata); return 0; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}}")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/CameraModifiedEvent (content was: "<div class="floatright">File:VTK_Examples_Baseline_Utilities_TestCameraModified.png</div> ==CameraModifiedEvent.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> #incl...", and the only contributor was "Lorensen" (talk))
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/CMakeVTKVersionCheck (content was: "==CMakeVTKVersionCheck.cxx== <source lang="cpp"> #include <vtkPolyData.h> int main(int, char *[]) { return EXIT_SUCCESS; } </source> ==CMakeLists.txt== <source lang="cmake"> # This works: # if(${VTK_MAJOR_VERSION} LESS 5 OR ${VTK_MINOR_VERSION} LESS 8) # message("Your VTK version is too old!") # else() # message("Valid VTK version.") # endif() # But this is...", and the only contributor was "Daviddoria" (talk))
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/Box (content was: "==Box.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkBox.h> int main(int, char *[]) { // Define a box double bounds[6] = {-1,1,-1,1,-1,1}; // Define a ray double rayOrigin[3] = {-5.0, 0, 0}; double rayDirection[3] = {1.0, 0, 0}; double intersection[3]; double t; char hit = vtkBox::IntersectBox(bounds, rayOrigin, rayDirection, intersection, t); if(!hit) { std::cout << "Not hit!" << std::endl; } else { // Intersect...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/BrownianPoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_Utilities_TestBrownianPoints.png</div> ==BrownianPoints.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkArrowSource.h> #include <vtkBrownianPoints.h> #include <vtkCamera.h> #include <vtkGlyph3D.h> #include <vtkMath.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRend...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/CardinalSpline (content was: "This example takes two points that have associated scalar values and allows you to interpolate the value at any point on the line between them using cardinal spline interpolation. ==CardinalSpline.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCardinalSpline.h> #include <vtkFloatArray.h> int main(int, char *[]) { // Create a scalar array. The array could be associated with the scalars of a vtkDataSet vtkSmartPointer<vtkFloatArray> distances =...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/CheckVTKVersion (content was: "This example demonstrates how to check the VTK version with vtkVersion. ==CheckVTKVersion.cxx== <source lang="cpp"> #include <vtkVersion.h> int main(int, char *[]) { std::cout << vtkVersion::GetVTKSourceVersion() << std::endl; std::cout << vtkVersion::GetVTKMajorVersion() << std::endl; std::cout << vtkVersion::GetVTKMinorVersion() << std::endl; return EXIT_SUCCESS; } </source> {{VTKCMakeLists|{{SUBPAGENAME}}}} Category:VTKNoVizRequired")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ColorLookupTable (content was: "This example shows how to create a table of colors that map from a continuous range of values. ==ColorLookupTable.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLookupTable.h> int main(int, char *[]) { vtkSmartPointer<vtkLookupTable> lookupTable = vtkSmartPointer<vtkLookupTable>::New(); lookupTable->SetTableRange(0.0, 10.0); // If you don't want to use the whole color range, you can use // SetValueRange, SetHueRange, and SetSaturationRange...")
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/ColorTransferFunction (content was: "This example demonstrates how to map the values (0.0 to 10.0) to the colors (red to green). ==ColorTransferFunction.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkColorTransferFunction.h> int main(int, char *[]) { vtkSmartPointer<vtkColorTransferFunction> colorTransferFunction = vtkSmartPointer<vtkColorTransferFunction>::New(); colorTransferFunction->AddRGBPoint(0.0, 1, 0, 0); colorTransferFunction->AddRGBPoint(10.0, 0, 1, 0); double co...")