VTK
VTK
VTK, libreria di visualizzazione grafica
VTK (per Visualization ToolKit in inglese ) è una libreria software gratuita con licenza BSD di classi C ++ per la visualizzazione dei dati 2D / 3D e l'elaborazione delle immagini. Si interfaccia facilmente con i linguaggi Tcl-Tk , Python , JavaScript e Java . La libreria include oltre 1.100 classi C ++ . È stato sviluppato dal 1993 presso il Centro di ricerca del gruppo General Electric e utilizzato per la prima volta in campo medico. Successivamente i suoi sviluppatori (Will Schroeder e Ken Martin) hanno fondato Kitware Inc. negli Stati Uniti per fornire supporto commerciale e continuare lo sviluppo di questo prodotto.
Caratteristiche
Architettura
Aree di utilizzo
Esempi
package require vtk
package require vtkinteraction
# Instanciation de l'objet sphère et attributs
vtkSphereSource sphere
sphere SetRadius
2.0
sphere SetThetaResolution
16
sphere SetPhiResolution
16
# Mapping de la bibliothèque graphique
vtkPolyDataMapper map
;
map SetInput
[sphere GetOutput
]
# Instanciation d'un acteur et attributs
vtkActor aSphere
aSphere SetMapper map
[aSphere GetProperty
] SetColor 0 0 1
# Création de la fenêtre de rendu
vtkRenderWindow renWin
vtkRenderer ren1
renWin AddRenderer ren1
# Instanciation de l'interacteur
vtkRenderWindowInteractor iren
iren SetRenderWindow renWin
# Ajout de l'objet sphère sur un fond blanc
ren1 AddActor aSphere
ren1 SetBackground
1 1 1
# Rendu de l'image
renWin Render
wm withdraw .
Bibliografia
-
(en) WJ Schroeder, LS Avila, W. Hoffman, Visualizing with VTK: A tutorial , IEEE Transaction on Computer Graphics and Applications, 2000, 20 (5), p. 20-27 . [1]
-
(en) Carsten Zerbst, Visualizzazione scientifica con VTK e Tcl , Linux Magazine, numero 16, 2002, p. 60-63 . [2]
-
(en) Drew McCormack, Developing Visualization Applications with Cocoa and VTK , part1, part2, 2003 [3] [4]
Riferimenti
-
" https://web.archive.org/web/20200202170503/http://marchingcubes.org/index.php/VTK "
-
Aphelion utilizza VTK per la visualizzazione 3D
Libri
-
(en) Will Schroeder, Ken Martin, Bill Lorensen, The Visualization Toolkit, An Object-Oriented Approach To 3D Graphics , 4a edizione, editori di Kitware Inc., ( ISBN 1-930934-19-X )
-
(it) La Guida dell'utente di Visualization Toolkit , editori di Kitware Inc., ( ISBN 1-930934-18-1 )
Collegamenti interni
link esterno
-
(en) Sito ufficiale [5]
-
(it) Wiki [6]
-
(it) Paraview [7]
-
(en) ITK [8]
-
(it) VTKit [9]
-
(it) VTKBlog [10]
-
(en) VTK Journal [11]
-
(it) Visualizza superfici parametriche con VTK e Tcl-Tk [12]