SlideServe
Menu
Préférences
© SlideServe · v2026

VTK: The Visualization Toolkit

laura-kane avatar
19 diapositives · 798 Views · Oct 30, 2014

VTK: The Visualization Toolkit. Part II: Visualization Model March 30, 2001. Data source Visualizatoin Graphics. VTK Visualization Models. Graphics and Visualization Model Graphics objects: rendering Visualization objects: generating geometry.

VTK: The Visualization Toolkit - slide 1
01 / 19VTK: The Visualization Toolkit
1 / 17

Télécharger la présentation

VTK: The Visualization Toolkit
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. VTK: The Visualization Toolkit Part II: Visualization Model March 30, 2001

  2. Data source Visualizatoin Graphics VTK Visualization Models • Graphics and Visualization Model • Graphics objects: rendering • Visualization objects: generating geometry Data Flow System: Pipeline execution

  3. What is visualization anyway? • Converting data from its original form into graphics • Deal with the issues of transformation and representation • Transformation: data to graphics • Representation: internal data structures • Example: stock price display 

  4. Y (price) X(time) Representations • Computational representation: An array of stock prices. • Price[i] = 9085, 9080, 9075, 9060, 9068, …. • Time[i] = 10(am), 10:30, 11, 11:30, 12, … • Graphical Representation: x-y plot Computational Graphics Transformation (visualization)

  5. Quadric function: f(x,y,z) = a0 x + a1 y + a2 z + a3 xy + a4 yz + a5 xz + a6 x + a7 y + a8 z 2 2 2 A 3D example • Visualization process: • Sample the function f(x,y,z) -> a 3D array on • a regular grid: F[x][y][z] = f ; (-1 <= x,y,z <= 1) • Generate a 3D surface corresponding to f(x,y,z) = c • Display the surface Sample the function

  6. Visualization Process f(x,y,z) sample Transformation (visualization) Computational representation Graphical representation

  7. Object-oriented viewpoint • Representation: Object model internal data structures • Transformation: Functional model the steps to create visualization (how data flow through the system) VTK Visualization Model

  8. Sample F(x,y,z) Point Array Extract Surface Polygon : process Display : data : data flow direction VTK Functional Model Illustrate the steps to create visualization, also called Visualization Pipeline (visualization networks)

  9. VTK Object Model • Describe which objects operate on the functional • model (visualization pipeline) • Data Object: Represent information and methods to • create, access, and delete the information • example: the 3D point array F(x,y,z) • Process Object: operates on (transform) the data objects • example: generating surfaces from F(x,y,z)

  10. Process Objects • Source: Interface to external data sources • or generate data procedurally • Filter: Transform the data input • Mapper: The sink of the functional model, • interface with the graphics model

  11. Source Sample F(x,y,z) Point Array Extract Surface Filter Polygon Display Mapper (and Graphics) Process Objects (cont’d)

  12. Data Objects • Data Object: dataset • (representation of information) • Structures: how the information is organized • - Topology • - Geometry • Attributes: store the information we want • to visualize. e.g. function values

  13. Data Objects: structures • Topology: • Invariant under geometric transformation • (rotation, translation, scaling etc) • - Topological structures: Cells • Geometry: • The instantiation of the topology • Geometric structures: cells with • positions in 3D space

  14. VTK Cell Types (d) polyline (e) triangle (b) Polyvertex (c) line (a) vertex (e) Quadrilateral (e) Polygon (f) Tetrahedron (f) Hexahedron And more (I am too tired drawing now …)

  15. VTK Data Attributes • The information stored at each corner of the cell • Scalars: temperature, pressure, etc • Vector: velocitys • Normals: surface directions • Texture coordinates: graphics specific • Tensors: matrices

  16. Where are we now ... Remember: • Data Object: dataset • (representation of information) • Structures: how the information is organized • - Topology • - Geometry • Attributes: store the information we want • to visualize. e.g. function values

  17. VTK Datasets A Collection of structures and attributes Structured Grid Rectilinear Grid Unstructured Points Polygonal Grid Unstructured Grid Structured Grid

  18. Examples vol.cxx Ugrid.cxx

  19. Pipeline Execution Direction of ‘update’ Render Visualization model Graphics model Source Filter Mapper Actor Direction of data flow