VTK: The Visualization Toolkit

Slides:



Advertisements
Similar presentations
2D Geometric Transformations
Advertisements

Yingcai Xiao Chapter 6 Fundamental Algorithms. Types of Visualization Transformation Types 1.Data (Attribute Transformation) 2.Topology (Topological Transformation)
Yingcai Xiao Chapter 4 The Visualization Pipeline.
Visualization Data Representation Ray Gasser SCV Visualization Workshop – Fall 2008.
CDS 301 Fall, 2009 Scalar Visualization Chap. 5 September 24, 2009 Jie Zhang Copyright ©
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
Slide 1 Visualization of scientific data under Linux - Techniques and data wrangling Mike Walterman, Manager of Graphics Programming, Scientific Computing.
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
Programming for Image Processing/Analysis and Visualization using The Visualization Toolkit Xenios Papademetris BML 325,
Scientific Visualization with ParaView Ray Gasser IS&T Scientific Visualization Tutorial – Spring 2010.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
Gopi -ICS186AW03 - Slide1 Graphics Pipeline: First Pass.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Spatial data models (types)
1. An Overview of the Geometry Standards for School Mathematics? 2.
Interactive Visualization of Volumetric Data on Consumer PC Hardware: Introduction Daniel Weiskopf Graphics Hardware Trends Faster development than Moore’s.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Basic graphics. ReviewReview Viewing Process, Window and viewport, World, normalized and device coordinates Input and output primitives and their attributes.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Computer Graphics Computer Graphics is everywhere: Visual system is most important sense: High bandwidth Natural communication Fast developments in Hardware.
VTK: Data Shroeder et al. Chapter 5 University of Texas – Pan American CSCI 6361, Spring 2014 After Taku Komura and other lecture sets
GIS 1110 Designing Geodatabases. Representation Q. How will we model our real world data? A. Typically: Features Continuous Surfaces and Imagery Map Graphics.
CDS 301 Fall, 2009 Data Representation Chap. 3 September 10, 2009 Jie Zhang Copyright ©
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
Week 2 - Wednesday CS361.
Geometric Modeling. Volumetric o Collection device obtains regular grid of measurement values Examples: CT, MRI, PET, Ultrasound o Values are interpreted/visualized.
Computer Graphics The Rendering Pipeline - Review CO2409 Computer Graphics Week 15.
Representation. Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames for.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Introduction to Computer Graphics: Object Representation Rama C Hoetzlein, 2010 Univ. of California Santa Barbara Lecture Notes.
Mark Nelson 3d projections Fall 2013
Jens Krüger & Polina Kondratieva – Computer Graphics and Visualization Group computer graphics & visualization 3D Rendering Praktikum: Shader Gallery The.
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
NA-MIC National Alliance for Medical Image Computing Adding Orientation to itkImage.
WARM UP: Describe in words how to rotate a figure 90 degrees clockwise.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Honors Geometry.  We learned how to set up a polygon / vertex matrix  We learned how to add matrices  We learned how to multiply matrices.
Data Visualization Fall The Data as a Quantity Quantities can be classified in two categories: Intrinsically continuous (scientific visualization,
CDS 301 Fall, 2008 Domain-Modeling Techniques Chap. 8 November 04, 2008 Jie Zhang Copyright ©
CDS 301 Fall, 2008 Data Representation Chap. 3 September 2, 2008 Jie Zhang Copyright ©
Midterm Review Ceng 477 Introduction to Computer Graphics Computer Engineering METU.
Unit-4 Geometric Objects and Transformations- I
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Visualization Fundamentals
Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009
- Introduction - Graphics Pipeline
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Computer Graphics CC416 Week 15 3D Graphics.
CSI-447: Multimedia Systems
Vectors and the Geometry
3D Graphics Rendering PPT By Ricardo Veguilla.
Copyright © Cengage Learning. All rights reserved.
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Viewing Transformations
Domain-Modeling Techniques
Surface Analysis Tools
Vectors and the Geometry
Digital Media Dr. Jim Rowan ITEC 2110.
Volume Rendering.
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Lecture 2 Components of GIS
Chapter XIV Normal Mapping
Introduction to Computer Graphics
Presentation transcript:

VTK: The Visualization Toolkit Part II: Visualization Model March 30, 2001

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

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 

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 X(time) Y (price) Computational Graphics Transformation (visualization)

A 3D example 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 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

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

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

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

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)

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

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

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

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

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

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

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

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

Examples vol.cxx Ugrid.cxx

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