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)- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageToStructuredPoints (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageToStructuredPoints.png</div> ==ImageToStructuredPoints.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkStructuredPoints.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageToStructuredPoints.h> #include <vtkDataSetMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> int main(int, char *...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageToPolyDataFilter (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageToPolyDataFilter.png</div> ==ImageToPolyDataFilter.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkLookupTable.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkImageToPolyDataFilter.h> #include <vtkImageQuantizeRGBToIndex.h> #include <vtkCamera.h> #incl...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageText (content was: "This example demonstrates how to draw text onto an image ({{class|vtkImageData}}). It uses {{class|vtkImageBlend}} to blend the text and the image. For another example using vtkImageBlend, see [[../CombineImages]]. See also [[../../Visualization/DrawText]] for an example of drawing text, also in 2D, but into the render window rather than into a vtkImageData object. ==ImageText.cxx== <source lang="cpp"> #include <vtkImageBlend.h> #include <vtkImageData.h> #include <vtkPointDat...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageThreshold (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Images_TestImageThreshold.png</div> The image on the left is the input image and the image on the right is the thresholded version. ==ImageThreshold.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageThreshold.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageMapper3D.h> #incl...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageMapToColors (content was: "<div class="floatright">400px</div> ==ImageMapToColors.cxx== <source lang="cpp"> // // Displays a "grayscale" image as a full color image via the // vtkImageMapToColors filter, which uses a lookup table to // map scalar values to colors // #include <vtkImageActor.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageMapToColors.h> #include <vtkImageProperty.h> #include <vtkInteractorStyleImage...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageMandelbrotSource (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageMandelbrotSource.png</div> ==ImageMandelbrotSource.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageMandelbrotSource.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageCast.h> #include <vtkImageMapper3D.h> int main(int, char *[]) { // Create an image vtkS...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageMagnitude (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageMagnitude.png</div> There are two ways to convert images to greyscale: * {{class|vtkImageLuminance}} uses the luminance equation for properly weighting the R, G, and B components; * {{class|vtkImageMagnitude}} does a simple sum-of-squares computation of the components (i.e. the Euclidean norm -- not the wikipedia:Root...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageMagnify (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Images_TestImageMagnify.png</div> vtkImageMagnify increases the dimensions of an image by integral magnification factors. It also adjusts the spacing of the pixels so that the magnified image covers the same region as the original image. To stretch the image, the pixel spacing needs to be adjusted. This example uses vtkImageChangeInformation to modify the magnified image's spacing. The result is an image that has increased...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageLuminance (content was: "<div class="floatright">400px</div> There are two ways to convert images to greyscale: * {{class|vtkImageLuminance}} uses the luminance equation for properly weighting the R, G, and B components; * {{class|vtkImageMagnitude}} does a simple sum-of-squares computation of the components (i.e. the Euclidean norm -- not the wikipedia...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageLaplacian (content was: "<div class="floatright">400px</div> ==ImageLaplacian.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageMandelbrotSource.h> #include <vtkImageLaplacian.h> #include <vtkImageActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkImageCast.h> int...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageImport (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Images_TestImageImport.png</div> ==ImageImport.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkImageData.h> #include <vtkSmartPointer.h> #include <vtkImageImport.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkInteractorStyleImage.h> #include <vtkXMLImageDataWriter.h> int main(int, char *[]) { // Create a c-style image...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageIslandRemoval2D (content was: "This example creates a small white square and a big white square. We want the ImageIslandRemoval2D to turn the small white square black and leave the big white square alone. <div class="floatcenter">File:VTK_Examples_Baseline_Images_TestImageIslandRemoval2D.png</div> ==ImageIslandRemoval2D.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageIslandRemoval2D.h> #i...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageIdealHighPass (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Images_TestImageIdealHighPass.png</div> ==ImageIdealHighPass.cxx== <source lang="cpp"> #include <vtkImageExtractComponents.h> #include <vtkImageData.h> #include <vtkImageFFT.h> #include <vtkImageMandelbrotSource.h> #include <vtkImageIdealHighPass.h> #include <vtkImageShiftScale.h> #include <vtkInteractorStyleImage.h> #include <vtkImageSlice.h> #include <vtkImageSliceMapper.h> #include <vtkImageEllipsoidSource.h> #include <...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageHybridMedian2D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageHybridMedian2D.png</div> This example reads in an image and performs median filtering on it. The input and output are displayed. ==ImageHybridMedian2D.cxx== <source lang="cpp"> #include <vtkImageActor.h> #include <vtkImageCast.h> #include <vtkImageMapper3D.h> #include <vtkInteractorStyleImage.h> #include <vtkImageAccumulate.h> #include <vtkImageData.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageGridSource (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageGridSource.png</div> ==ImageGridSource.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageGridSource.h> #include <vtkImageMapper3D.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageCast.h> int main(int, char *[]) { // Create an image vtkSmartPointer<vtkIm...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageGradientMagnitude (content was: "<div class="floatright">400px</div> ==ImageGradientMagnitude.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageGradientMagnitude.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkJPEGReader.h> #include <vtkImageActor.h> #include <vtkImage...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageGaussianSmooth (content was: "<div class="floatright">400px</div> ==ImageGaussianSmooth.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageGaussianSmooth.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageEllipsoidSource.h> #include <vtkImag...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageFFT (content was: "<div class="floatright">400px</div> ==ImageFFT.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageFFT.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkJPEGReader.h> #include <vtkImageActor.h> #include <vtkImageEllips...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageExport (content was: "==ImageExport.cxx== <source lang="cpp"> #include <vtkImageData.h> #include <vtkImageExport.h> #include <vtkSmartPointer.h> #include <vtkVersion.h> int main(int, char *[]) { // Create an image data vtkSmartPointer<vtkImageData> imageData = vtkSmartPointer<vtkImageData>::New(); // Specify the size of the image data int dims[3] = {2,3,1}; imageData->SetDimensions(dims[0], dims[1], dims[2]); #if VTK_MAJOR_VERSION <= 5 imageData->SetNumberOfScalarComponents(1...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageEllipsoidSource (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageEllipsoidSource.png</div> ==ImageEllipsoidSource.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageEllipsoidSource.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageCast.h> int main(int, char *[]) { //...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageDivergence (content was: "<div class="floatright">400px</div> ==ImageDivergence.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageCast.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageDivergence.h> #include <vtkImageGradient.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageCorrelation.h> #include <vtkInteractorStyleImage.h> #include <vtkImageActor.h...")
- 02:55, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageDilateErode3D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageDilateErode3D.png</div> This example reads in a binary image and dilates one value and erodes another (morphological operations). ==ImageDilateErode3D.cxx== <source lang="cpp"> #include <vtkImageActor.h> #include <vtkImageCast.h> #include <vtkInteractorStyleImage.h> #include <vtkImageAccumulate.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #...")
- 02:54, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageDifference (content was: "<div class="floatright">File:VTK_Examples_Baseline_Images_TestImageDifference.png</div> This example makes a large square and a smaller square and subtracts them, leaving the outline of a square. ==ImageDifference.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageDifference.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowIntera...")
- 02:54, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageCorrelation (content was: "<div class="floatright">400px</div> ==ImageCorrelation.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageShiftScale.h> #include <vtkImageCast.h> #include <vtkImageMapper3D.h> #include <vtkMath.h> #include <vtkImageData.h> #include <vtkPointData.h> #include <vtkDataArray.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageCorrelation.h> #include <vtkInteractorStyleImage.h> #include <vtkIma...")
- 02:54, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Images/ImageConvolve (content was: "<div class="floatright">400px</div> ==ImageConvolve.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkImageConvolve.h> #include <vtkImageMandelbrotSource.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkInteractorStyleImage.h> #include <vtkRenderer.h> #include <vtkImageActor.h> #include <vtkImageCast.h> int mai...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/WishList/Images/HistogramXYPlot (content was: "<div class="floatright">300px</div> This example works but there is an issue with vtkImageAccumulate. It appears the maximum frequency of a histogram generated by vtkImageAccumulate, when that frequency corresponds to the value of 0, cannot be disabled by setting ignore zero to true! See lines 245 and 218 in vtkImageAccumulate.cxx ==HistogramXYPlot.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkS...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/WishList/Images/HistogramBarChart (content was: "<div class="floatright">400px</div> This example works, but the testing images produced usually vary slightly from the baseline. ==HistogramBarChart.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkBarChartActor.h> #include <vtkFieldData.h> #include <vtkImageAccumulate.h> #include <vtkImageData.h> #include <vtkImageExtractComponents.h> #include <vtkIntArray.h> #include <vtkJPEGReader.h> #include <vtkLe...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/WishList/CompositeDataGeometryFilter (content was: "==CompositeDataGeometryFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkLSDynaReader.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkUnstructuredGrid.h> #include <vtkCompositeDataGeometryFilter.h> #include <vtkCompositeDataPipeline.h> int main(int argc, char *argv[]) { // Parse command line arguments if(arg...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/TexturedButtonWidget (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Widgets/TexturedButtonWidget TexturedButtonWidget] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/TextWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestTextWidget.png</div> :''See also: [[../../Visualization/DrawText]]'' ==TextWidget.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkTextWidget.h> #include <vtkTextActor.h> #include <vtkSphereSource.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkTextActor.h> #include <vtkTextProperty.h> #include <vtkTextRepresentation.h> #include <vtkCoordinate.h> #include <vtkRenderer.h>...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SplineWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSplineWidget.png</div> ==SplineWidget.cxx== <source lang="cpp"> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkSplineWidget2.h> int main(int, char *[]) { // A renderer and render window vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::New(); vtkSmartPointer<vtkRenderWindow> renderWindow =...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SphereWidgetEvents (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSphereWidgetEvents.png</div> This example shows how to subclass a widget so that events can be further customized. Contributed by: Alex Malyushytskyy. ==SphereWidgetEvents.cxx== <source lang="cpp"> #include <vtkCallbackCommand.h> #include <vtkCommand.h> #include <vtkObjectFactory.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #includ...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SphereWidget2 (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSphereWidget2.png</div> The spherical coordinates of the widget's handle match the coordinates that it displays in the window. The world coordinates of the handle are also shown. ==SphereWidget2.cxx== <source lang="cpp"> #include <vtkCommand.h> #include <vtkMath.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkSphere.h> #in...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SphereWidget (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/Widgets/SphereWidget SphereWidget] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/Slider2D (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSlider2D.png</div> == 2D Slider == This example demonstrates how to use a slider that is drawn in window coordinates - so if you move the scene the slider is not affected. Contrast this with the 3D slider widget that remains at a fixed location in the world coordinates. If the callback is connected to InteractionEvent, the scene will update immediately. This is not ideal if t...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/Slider (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSlider.png</div> ==3D Slider== This example demonstrates how to use a 3D slider widget. Here, the slider controls the resolution of the sphere. The slider is positioned in world coordinates - so if you rotate/translate/scale the scene, the slider will change orientation/position/size. Contrast this with the 2D slider widget that remains at a fixed location in the window. If...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SeedWidgetWithCustomCallback (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestSeedWidget.png</div> This example demonstrates how to place seed points in the scene. The seed points can be used for operations like connectivity, segmentation, and region growing. ==SeedWidgetWithCustomCallback.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkCommand.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkSphereSource.h> #include <vtkRend...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/RectilinearWipeWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestRectilinearWipeWidget.png</div> This example illustrates the Rectilinear Wipe widget. This widget is useful for comparing two images. There are 7 different image comparison modes. A rectilinear wipe is a 2x2 checkerboard pattern created by combining two separate images, where various combinations of the checker squares are possible. Using this widget, the user can adjust the layout of the checker pattern, such...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SeedWidgetImage (content was: "==SeedWidgetImage.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkCommand.h> #include <vtkImageActor.h> #include <vtkImageCanvasSource2D.h> #include <vtkInteractorStyleImage.h> #include <vtkPointHandleRepresentation2D.h> #include <vtkPolyDataMapper.h> #include <vtkProperty2D.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSeedWidget.h> #include <vtkSeedRepresentation.h> #include <vtkSmartPointer.h> #inclu...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/SeedWidget (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Widgets_TestSeedWidget.png</div> This example demonstrates how to use vtkSeedWidget, which generates (seeds) points to be placed in the scene in the locations where the user clicks. The points can then be used for operations like connectivity, segmentation, and region growing. For an example using a custom callback where such operations can be assembled, see [[../SeedWidgetWithCustomCallback]] ==SeedWidget.cxx== <source...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/PlaneWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestPlaneWidget.png</div> ==PlaneWidget.cxx== <source lang="cpp"> #include <vtkPlaneWidget.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> int main(int, char *[]) { vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::New(); vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPointer<vtkRenderWindow>::...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/OrientationMarkerWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestOrientationMarkerWidget.png</div> This example uses a polydata as an orientation icon. You can get the bunny data http://gitorious.org/vtkwikiexamples/wikiexamples/blobs/raw/master/Testing/Data/Bunny.vtp here. ==OrientationMarkerWidget.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkXMLPolyDataReader.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInterac...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/LogoWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestLogoWidget.png</div> Turn the widget on before the render. Otherwise, it won't appear until you interact with the scene. ==LogoWidget.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkImageCanvasSource2D.h> #include <vtkLogoRepresentation.h> #include <vtkLogoWidget.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty2D.h> #include <vtkRenderWi...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/LineWidget2 (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestLineWidget2.png</div> ==LineWidget2.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 <vtkLineWidget2.h> #include <vtkLineRepresentation.h> #include <vtkCommand.h> // This does the actual work. // Cal...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/ImplicitPlaneWidget2 (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestImplicitPlaneWidget2.png</div> This example shows how to use the second generation ImplicitPlaneWidget2 to interactively define the clipping plane for a polydata. If no arguments are specified, a vtkSphereSource generates the polydata. By specifying a .vtp file, the example can operate on arbitrary polydata. For example, try VTKData/Data/cow.vtp. ==ImplicitPlaneWidget2.cxx== <source lang="cpp"> #include <vtkSm...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/ImageTracerWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestImageTracerWidget.png</div> ==ImageTracerWidget.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCallbackCommand.h> #include <vtkImageActor.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSphereSource.h> #include <vtkImageTracerWidget.h> #include <vtkImageM...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/ImageTracerWidgetInsideContour (content was: "<div class="floatcenter">File:VTK_Examples_Baseline_Widgets_TestImageTracerWidgetInsideContour.png</div> ==ImageTracerWidgetInsideContour.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkPolygon.h> #include <vtkImageData.h> #include <vtkCallbackCommand.h> #include <vtkImageActor.h> #include <vtkImageMapper3D.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRe...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/ImageTracerWidgetNonPlanar (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestImageTracerWidgetNonPlanar.png</div> ==ImageTracerWidgetNonPlanar.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 <vtkImageTracerWidget.h> #include <vtkInteractorStyleTrackballCamera.h> int main(int...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/ImagePlaneWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestImagePlaneWidget.png</div> ==ImagePlaneWidget.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 <vtkImagePlaneWidget.h> #include <vtkInteractorStyleTrackballActor.h> #include <vtkInteractorStyleTrackba...")
- 02:52, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Widgets/HoverWidget (content was: "<div class="floatright">File:VTK_Examples_Baseline_Widgets_TestHoverWidget.png</div> ==HoverWidget.cxx== <source lang="cpp"> #include <vtkActor.h> #include <vtkCommand.h> #include <vtkHoverWidget.h> #include <vtkPolyDataMapper.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> class vtkHoverCallback : public vtkCommand { public: static vtkHoverCallback *New() {...")