[vtkusers] 74 new ActiViz examples

Jochen K. jochen.kling at email.de
Mon Jun 11 20:35:21 EDT 2012


Hi all,

the first 74 C++ examples are converted 1:1 to C#:

==Simple Operations==
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/DistancePointToLine
Distance between a point and a line 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/DistanceBetweenPoints
Distance between two points 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/UniformRandomNumber
Random number (uniform distribution) 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/GaussianRandomNumber
Random number (Gaussian distribution) 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/RandomSequence
Random sequence 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/ProjectPointPlane
Project a point onto a plane 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/SimpleOperations/PerspectiveTransform
Apply a perspective transformation to a point 
===3D File Formats===
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ConvertFile Convert a file
from one type to another 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/InfoVis/XGMLReader Read a .gml
file 
====Standard Formats====
=====Input=====
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/SimplePointsReader Read a
simple "xyz" file of points 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ParticleReader Read an "xyza"
file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPlainText Read a plain
text file into a polydata 
http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/ReadDelimitedFile Read a
delimited file into a polydata 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadOBJ Read an OBJ (.obj)
File 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadDICOMSeries Convert a
series of DICOM files into a VTI File 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/VRML Read a VRML (WRL) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadDICOM Read DICOM file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/DEMReader Read DEM (elevation
map) files  
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadSTL Read stereo
lithography STL (.stl) files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPLY Read PLY (.ply) files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPLOT3D Read PLOT3D (.bin)
files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPDB Read Protein Data
Bank files (.pdb) files 
=====Output=====
====VTK Formats====
=====Input=====
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadUnstructuredGrid Read an
unstructured grid (.vtu) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPolyData Read a polygonal
data (.vtp) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadImageData Read a image
data (.vti) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadStructuredGrid Read a
structured grid (.vts) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadRectilinearGrid Read a
rectilinear grid (.vtr) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadUnknownTypeXMLFile Read
an XML file and later decide what kind it is 
=====Output=====
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WriteVTU Write a .vtu file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WriteVTP Write a .vtp file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WriteVTI Write a .vti file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/XMLStructuredGridWriter Write
a .vts file from a vtkStructuredGrid 
==Image Formats==
 ====Input====
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadBMP Read BMP (.bmp) files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/JPEGReader Read a JPG image 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/PNGReader Read a PNG image 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadPNM Read PNM (.pnm) files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ReadTIFF Read TIFF (.tif)
files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/MetaImageReader Read .mha
files 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/ImageReader2Factory Read most
standard image formats. 
====Output====
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WriteBMP Write a BMP (.bmp)
file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/JPEGWriter Write a JPEG
(.jpg) file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WritePNG Write a PNG (.png)
file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WritePNM Write a PNM (.pnm)
file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/WriteTIFF Write a TIFF (.tif)
file 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/IO/MetaImageWriter Write a
.mha/.mhd + .raw file 
==Geometric Objects==
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/PolygonIntersection
Compute the intersection of a line segment with a polygon 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/GeometricObjectsDemo
A demonstration of all geometric objects that work the same way 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Arrow Arrow 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Axes Axes 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/ColoredLines
Colored Lines 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Cone Cone 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Cube Cube 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Cylinder
Cylinder 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Disk Disk 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Frustum Frustum 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Line Line 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/LongLine
Manually create a polyline 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Hexahedron
Hexahedron 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/OrientedArrow
Oriented Arrow 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Plane Plane 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Planes Planes 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/PlanesIntersection
PlanesIntersection 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/PlatonicSolid
PlatonicSolid 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Point Point 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Polygon Polygon 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Pyramid Pyramid 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/PolyLine
PolyLine 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Quad Quad 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/RegularPolygonSource
Regular Polygon 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Sphere Sphere 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Triangle
Triangle 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/TriangleStrip
Triangle strip  
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Tetrahedron
Tetrahedron 
http://www.vtk.org/Wiki/VTK/Examples/CSharp/GeometricObjects/Vertex Vertex 


with best regards
Jochen

--
View this message in context: http://vtk.1045678.n5.nabble.com/74-new-ActiViz-examples-tp5713767.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list