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).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/VisualizationAlgorithms/FilledContours (content was: "<div class="floatright">File:VTK_Examples_Baseline_VisualizationAlgorithms_TestFilledContours.png</div> == Create Filled Contours == This example produces filled contours using the vtkClipPolyData filter. There is a sample data file [http://public.kitware.com/cgi-bin/viewcvs.cgi/Data/filledContours.vtp?root=VTKData&view=log here] ==FilledContours.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkXMLPolyDataReader.h> #include <vtkAppendPolyData.h> #include...")
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/VisualizationAlgorithms/Cutter (content was: "<div class="floatright">300px</div> ==Cutter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkCubeSource.h> #include <vtkPolyDataMapper.h> #include <vtkPlane.h> #include <vtkCutter.h> #include <vtkProperty.h> #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> int main(int, char *[]) { vtkSmartPointer<vtkCubeSource> cube =...")
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/VisualizationAlgorithms/CutWithScalars (content was: "<div class="floatright">File:VTK_Examples_Baseline_VisualizationAlgorithms_TestCutWithScalars.png</div> ==CutWithScalars.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkXMLPolyDataReader.h> #include <vtkPolyDataMapper.h> #include <vtkPolyData.h> #include <vtkDoubleArray.h> #include <vtkPoints.h> #include <vtkPointData.h> #include <vtkPlane.h> #includ...", and the only contributor was "Lorensen" (talk))
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/VisualizationAlgorithms/CutWithCutFunction (content was: "= '''See [https://lorensen.github.io/VTKExamples/site/Cxx/VisualizationAlgorithms/CutWithCutFunction CutWithCutFunction] on the new [https://lorensen.github.io/VTKExamples/site/ VTKExamples website].''' =", and the only contributor was "Lorensen" (talk))
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/Wireframe (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestWireframe.png</div> ==Wireframe.cxx== <source lang="cpp"> #include <vtkVersion.h> #include <vtkSmartPointer.h> #include <vtkProperty.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 =...")
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/WindowTitle (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestWindowName.png</div> This example shows how to change the title of the window. ==WindowTitle.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 vtkSmartP...")
  • 02:51, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Visualization/WindowSize (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestWindowSize.png</div> ==WindowSize.cxx== <source lang="cpp" highlight="29"> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> int main (int, char *[]) { // Create a sphere vtkSmartPointer<vtkSphereSource> sphereSource = v...")
  • 02:45, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Visualization/ColorAnActor (content was: "<div class="floatright">File:VTK_Examples_Baseline_Visualization_TestColorAnActor.png</div> This example creates a red sphere. ==ColorAnActor.java== <source lang="java" highlight="30"> import vtk.*; public class ColorAnActor { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.lo...", and the only contributor was "Egk865" (talk))
  • 02:45, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Visualization/Animation (content was: "This example demonstrates how to create a simple animation. A timer is used to move a sphere across a scene. ==Animation.java== <source lang="java"> import vtk.*; public class Animation { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); System.loa...", and the only contributor was "Egk865" (talk))
  • 02:45, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Visualization/AnimDataCone (content was: "==animDataCone.java== <source lang="Java"> // First we import the VTK package that will make available all // of the VTK commands to Java. import vtk.*; public class animDataCone { * * @param args: // load the necessary interface libraries on first reference to the // class. static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); Sys...", and the only contributor was "Jimcp" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/SwingIntegration/SwingHandleMouseEvents (content was: "This example shows how to display in a JLabel the point the mouse is hovering over using a mouse listener. ==SwingHandleMouseEvent.java== <source lang="java"> import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import vtk.*; public class SwingHandleMouseEvent extends JFrame { static { System.loadLibrary("vtkCommonJava"); S...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/SwingIntegration/JFrameRenderer (content was: "This example shows how to render a VTK scene in a JFrame using a vtkRenderWindowPanel. ==JFrameRenderer.java== <source lang="java"> import java.awt.*; import javax.swing.*; import vtk.*; public class JFrameRenderer extends JFrame { static { if (!vtkNativeLibrary.LoadAllNativeLibraries()) { for (vtkNativeLibrary lib : vtkNativeLibrary.values()) { if (!lib.IsLoaded()) { System.out.println(lib.GetLibraryName() + " not loaded"); } }...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Miscellaneous/vtkCutter (content was: "This example demonstrates how to use vtkCutter by cutting through a cube. ==Cutter.java== <source lang="java"> import vtk.*; public class Cutter { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); System.loadLibrary("vtkGraphicsJava"); System.l...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Miscellaneous/Cone6 (content was: "==Cone6.java== <source lang="Java"> // First we import the VTK package that will make available all // of the VTK commands to Java. import vtk.*; public class Cone6 { * * @param args: // load the necessary interface libraries on first reference to the // class. static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); System.loadLibrary("vtkGraphicsJava");...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Miscellaneous/Screenshot (content was: "This example shows how to save the window to a file (png in this case). ==Screenshot.java== <source lang="java"> import vtk.*; public class Screenshot { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); System.loadLibrary("vtkGraphicsJava"); Sy...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Interaction/SphereInteractorPanel (content was: "* This example creates three actors, two spheres and one a tube filter output from some arbitrary lines. * This example demonstrates the Switch style interactor that allows selection of the interaction options via keyboard events. "c" selects Camera interaction, "a" selects Actor interaction, "t" selects Trackball mode, "j" selects joystick mode, "r" resets the camera position to vi...", and the only contributor was "Jimcp" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Interaction/ExtrudeTest (content was: "* This extrusion test includes the addObserver callback on the RenderWindowInteractor to switch styles from trackballActor to trackballCamera. * This extrusion test also demonstrates the linearExtrusion and the RotationalExtrusion filters ==ExtrudeTest.Java== <source lang="Java"> import vtk.*; public class ExtrudeTest { * * @param args: // load the necessary interface l...", and the only contributor was "Jimcp" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/ImplicitFunctions/ImplicitSphere (content was: "This example creates a polygonal model of two spheres and 3 tubes, and then renders it to the screen. It will rotate the scene 360 degrees and then exit. The basic setup of source -> mapper -> actor -> renderer -> renderwindow is typical of most VTK programs. ==Sphere.java== <source lang="Java"> // // This example creates a polygonal model of two spheres and 3 tubes, and then renders it to // the screen. It will rotate the scene 360 degrees and then exit. The basic // setup o...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Imaging/ImageTest (content was: "==ImageTest.java== <source lang="Java"> import java.awt.FileDialog; import java.awt.Frame; import vtk.*; public class ImageTest { * * ImageTest provides a means to test the ImageReader2Factory * Image files understood by vtk are displayed, * all others are reported with a message.: vtkRenderWindow renWin; vtkRenderWindowInteractor iren; vtkRenderer ren1; vtkIm...", and the only contributor was "Jimcp" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/IO/WritePolyData (content was: "In this example, we add 10 points to a polygonal data (polydata) object and write the result to a VTP file. ==WritePolyData.java== <source lang="java"> import vtk.*; public class WritePolyData { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); Sys...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/IO/ReadPolyData (content was: "This example reads a polygonal data (.vtp) file. An example data set can be found at VTKData/Data/SyntheticPolyline.vtp ==ReadPolyData.java== <source lang="java"> import vtk.*; public class ReadPolyData { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/Graphs/SelectGraphVertices (content was: "==SelectGraphVertices.java== <source lang="Java"> import vtk.*; * Java language example to select edges and vertices from a generated Graph.: public class SelectGraphVertices { * * All Java programs require a host class. in addition, * these two instance variables provide access to the * callback data used in this example.: vtkGraphLayoutView view; vtkAnnot...", and the only contributor was "Jimcp" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Java/DataStructures/VisualizeKDTree (content was: "<div class="floatright">File:VTK_Examples_Baseline_DataStructures_TestVisualizeKDTree.png</div> This demo shows every level of a kdTree. ==VisualizeKDTree.java== <source lang="java"> import vtk.*; public class VisualizeKDTree { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.l...", and the only contributor was "Egk865" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Instructions/ForUsers (content was: "If you want to use VTK Examples you have several options. If you are a Wiki Example Developer, go here or a Wiki Example Administrator go here. ==Build an example== # Create a source directory (mkdir '''ExampleName''') # Copy and paste the source code under the heading '''ExampleName'''.cxx into an editor and save the file as '''ExampleName'''.cxx in the source director...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Instructions/ForDevelopers (content was: "<!-- __NOTOC__ --> The success of the VTK Wiki Examples depends on the contributions from the VTK user community. If you wish to contribute to this valuable resource, please follow these guidelines. If you are a Wiki Example User, go here or a Wiki Example Administrator go here. ==Create an Example== C++, C#, Tcl, Python and Java examples are welcome! Examples should illustrate a single conc...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Instructions/ForAdministrators (content was: "==DEPRECATED== Wiki Example Administrators have write access to the [https://github.com/lorensen/VTKWikiExamples.git git repository]. Wiki Example Developers do not need write access to the repository since the definitive copy of the source code resides on the Wiki. If you are a Wiki Example User go here or a Wiki Example Developer go here. Wiki Example Administrators maintain the CMakeLists.t...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/ImplicitFunctions/ImplicitDataSet (content was: " ==ImplicitDataSet.cxx== <source lang="cpp"> #include <vtkImageData.h> #include <vtkImplicitDataSet.h> #include <vtkRTAnalyticSource.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> int main(int argc, char **argv) { vtkSmartPointer<vtkRTAnalyticSource> waveletSource = vtkSmartPointer<vtkRTAnalyticSource>::New(); waveletSource->Update(); vtkSmartPointer<vtkImplicitDataSet> implicitWavelet = vtkSmartPointer<vtkImplicitDataSet>::New(); implicitWav...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/HowTo (content was: "* Create a login/user for the wiki (maybe you have already done this?) * Click "Edit" in the section you want to add something to * Create a new page and a link to the new page by adding: <pre> * What you want to display as the link </pre> * when you save these changes, there will now be a red link. When you click this link, it immediately brings you to the "edit" page of the new page * add the content and save it * the link automatically tu...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/GuideLines (content was: "__NOTOC__ == Requirements == Although education of new users in the main motivation, the VTK wiki examples should also: # Encourage good programming style # Promote the proper and modern way to use VTK and write VTK programs # Facilitate the nightly compilation and testing of examples that reside in the VTK wiki These requirements must be met without compromising the main goal of user education. == Guidelines == All examples should follow the VTK programming style. * The ind...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/vtkObject (content was: "An object class should be derived from vtkObject. It should provide a PrintSelf function, use vtkSet/Get macros for mutators/accessors, use vtkStandardNewMacro for it's only allowed constructor, and forcefully omit the copy constructor and assignment operator. An example header file is: <source lang="cpp"> #ifndef __vtkLidarPoint_h #define __vtkLidarPoint_h #include...", and the only contributor was "Daviddoria" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/vtkImageAlgorithm Source (content was: "==vtkImageAlgorithmSourceExample.cxx== <source lang="cpp"> #include "vtkImageAlgorithmSource.h" #include <vtkSmartPointer.h> #include <vtkImageData.h> #include <vtkXMLImageDataWriter.h> void PrintImage(vtkImageData* image); int main (int argc, char *argv[]) { vtkSmartPointer<vtkImageAlgorithmSource> source = vtkSmartPointer<vtkImageAlgorithmSource>::New(); source->Update(); vtkImageData* output = source->GetOutput(); std::cout << "Output image: " << std::en...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/SetClampMacro (content was: "This example demonstrates how to restrict an int member variable to the range 2 to 8. If a value less than 2 is specified, the variable is set to 2. If a value greater than 8 is specified, the variable is set to 8. ==SetClampMacro.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestClass1.h" int main (int argc, char *argv[]) { vtkSmartPointer<vtkTestClass> myClass = vtkSmartPointer<vtkTestClass>::New(); myClass->SetValue(1); cout << "Trie...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/PassInputTypeAlgorithm (content was: "==PassInputTypeAlgorithm.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include "vtkTestPassInputTypeAlgorithmFilter.h" int main(int, char *[]) { vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(0.0, 0.0, 0.0); points->InsertNextPoint(0.0, 0.0, 1.0); vtkSmartPointer<vtkPolyData> inputPolydata = vtkSmartPointer<vtkPolyData>::New(); inputPolydata->Se...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/MultipleOutputPorts (content was: "==MultipleOutputPorts.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include "vtkTestMultipleOutputPortsFilter.h" int main (int, char *[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); vtkSmartPointer<vtkTestMultipleOutputPortsFilter> filter = vtkSmartPointer<vtkTestMultipleOutputPortsFilter>::New(); filter->SetInputConnection(sphereSource->GetOutput...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/MultipleInputConnections (content was: "==MultipleInputConnections.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestMultipleInputConnectionsFilter.h" int main(int, char*[]) { //setup the first input vtkSmartPointer<vtkPoints> points1 = vtkSmartPointer<vtkPoints>::New(); points1->InsertNextPoint(1.0, 2.0, 3.0); vtkSmartPointer<vtkPolyData> inputPolydata1 = vtkSmartPointer<vtkPolyData>::New(); inputPolydata1->SetPoints(points1); //setup the second input vtkSmartPointer<vtk...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/Macros (content was: "==Macros== ===String=== <source lang="cpp"> char* Filename; vtkSetStringMacro(Filename); </source> ===Bool=== <source lang="cpp"> vtkSetMacro(UseTransform, bool); vtkGetMacro(UseTransform, bool); vtkBooleanMacro(UseTransform, bool); </source> ===Normal Variable=== <source lang="cpp"> vtkGetMacro(ZRange, double); vtkSetMacro(ZRange, double); </source> ===Vector Vari...", and the only contributor was "Daviddoria" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/GetSetVector3Macro (content was: "==GetSetVector3Macro.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestClass3.h" int main(int, char*[]) { vtkSmartPointer<vtkTestClass> testClass = vtkSmartPointer<vtkTestClass>::New(); testClass->Update(); double test[3]; testClass->SetTestVector(test); double testOut[3]; testClass->GetTestVector(test); return EXIT_SUCCESS; } </source> ==vtkTestClass3.h== <source lang="cpp"> #ifndef __vtkTestClass_h #define __vtkTestClass_h #...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/FailedFilter (content was: "==FailedFilter.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include "vtkTestFailedFilter.h" int main (int argc, char *argv[]) { vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New(); sphereSource->Update(); vtkSmartPointer<vtkTestFailedFilter> filter = vtkSmartPointer<vtkTestFailedFilter>::New(); filter->SetInputConnection(sphereSource->GetOutputPort()); filter->Update(); if(fi...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/Errors (content was: "==Errors.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkDataObject.h> #include <vtkObjectFactory.h> class TestClass : public vtkDataObject { public: static TestClass *New(); vtkTypeMacro(TestClass,vtkDataObject); TestClass() { vtkErrorMacro(<< "Test error."); } }; vtkStandardNewMacro(TestClass); int main(int argc, char *argv[]) { vtkSmartPointer<TestClass> test = vtkSmartPointer<TestClass>::New(); return EXIT_SUCCESS; } </sour...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/DebugMacro (content was: "==DebugMacro.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestClass2.h" int main(int, char*[]) { vtkSmartPointer<vtkTestClass> testClass = vtkSmartPointer<vtkTestClass>::New(); testClass->DebugOn(); testClass->Update(); return EXIT_SUCCESS; } </source> ==vtkTestClass2.h== <source lang="cpp"> #ifndef __vtkTestClass_h #define __vtkTestClass_h #include "vtkPolyDataAlgorithm.h" class vtkTestClass : public vtkPolyDataAlgorithm { public:...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/Broken/MultipleOutputConnections (content was: "==MultipleOutputConnections.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestMultipleOutputConnectionsFilter.h" int main(int, char*[]) { //setup the second input vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); points->InsertNextPoint(4.0, 5.0, 6.0); vtkSmartPointer<vtkPolyData> polydata = vtkSmartPointer<vtkPolyData>::New(); polydata->SetPoints(points); vtkSmartPointer<vtkTestMultipleOutputConnectionsFilter> fi...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Developers/AlgorithmSourceMultipleOutputPorts (content was: "This example demonstrates how to setup a source that produces two outputs. The output on port 0 is of type vtkTestA and the Value gets set to 111. The output on port 1 is of type vtkTestB and the Value gets set to 222. ==AlgorithmSourceMultipleOutputPorts.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include "vtkTestMultipleOutputPortsSource.h" #include "vtkTestA.h" #include "vtkTestB.h" int main (int argc, char *argv[]) { vtkTestMultipleOutputPortsSource* source...")
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/WishList/Visualization/LayeredRenderers (content was: "==LayeredRenderers.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkTransform.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkVectorText.h> int main(int, char *[]) { // Create a sp...", and the only contributor was "Daviddoria" (talk))
  • 02:44, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/WishList/Plotting/PlotLegacyMethod (content was: "<div class="floatright">300px</div> ==PlotLegacyMethod.cxx== <source lang="cpp"> #include <vtkSphereSource.h> #include <vtkMath.h> #include <vtkDoubleArray.h> #include <vtkFieldData.h> #include <vtkPolyData.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkXYPlotActor.h> int...")
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/PlatonicSolid (content was: "Display all five Platonic solids in a grid. ==PlatonicSolid.py== <source lang="python"> #!/usr/bin/env python import vtk class PlatonicSolids(): def PlatonicSolids(self): # Each face has a different cell scalar # So create a lookup table with a different colour # for each face. lut = vtk.vtkLookupTable() lut.SetNumberOfTab...", and the only contributor was "Amaclean" (talk))
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/PlanesIntersection (content was: "==PlanesIntersection.py== <source lang="python"> #!/usr/bin/env python from __future__ import print_function import vtk sphereSource = vtk.vtkSphereSource() sphereSource.Update() bounds = [0 for i in range(6)] sphereSource.GetOutput().GetBounds(bounds) box = vtk.vtkPoints() box.SetNumberOfPoints(8) xMin = bounds[0]; xMax = bounds[1] yMin = bounds[2]; yMax = bounds[3]...", and the only contributor was "Amaclean" (talk))
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/Planes (content was: "==Planes.py== <source lang="python"> #!/usr/bin/env python import vtk # Use this variable to select one of the two methods below. SELECT_FRUSTUM_METHOD = True if SELECT_FRUSTUM_METHOD: # one way camera = vtk.vtkCamera() planesArray = [0 for i in range(24)] camera.GetFrustumPlanes(1, planesArray) planes = vtk.vtkPlanes() planes.SetFru...", and the only contributor was "Amaclean" (talk))
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/Plane (content was: "==Plane.py== <source lang="python"> import vtk # create a rendering window and renderer ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) # create a renderwindowinteractor iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) # create source source = vtk.vtkPlaneSource() source.SetCenter(1,0,0) source.SetNormal(1,2,3) # mapper mapper = vtk.vtkPolyDataMapper() mapper.SetInput(source.GetOutput()) # actor actor = vtk.vtkActor() actor...")
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/OrientedArrow (content was: "This example illustrates how to create and display an arrow that passes through two points. It demonstrates two different ways to apply the transform: # Use [http://www.vtk.org/doc/nightly/html/classvtkTransformPolyDataFilter.html vtkTransformPolyDataFilter] to create a new transformed polydata. This method is useful if the transformed polydata is needed later in the pipel...", and the only contributor was "Amaclean" (talk))
  • 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/GeometricObjects/Display/LongLine (content was: "==LongLine.py== <source lang="python"> #!/usr/bin/env python import vtk # Create five points. origin = [0.0, 0.0, 0.0] p0 = [1.0, 0.0, 0.0] p1 = [0.0, 1.0, 0.0] p2 = [0.0, 1.0, 2.0] p3 = [1.0, 2.0, 3.0] # Create a vtkPoints object and store the points in it points = vtk.vtkPoints() points.InsertNextPoint(origin) points.InsertNextPoint(p0) points.InsertNextPoint(p1) poin...", and the only contributor was "Amaclean" (talk))
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)