100 likes | 115 Views
Chapter 4 The Visualization Pipeline. Yingcai Xiao. Visualization: Transformation & Representation. Transformation: Converting data from its original form into graphics primitives.
E N D
Chapter 4 The Visualization Pipeline • Yingcai Xiao
Visualization: Transformation & Representation Transformation: Converting data from its original form into graphics primitives. Data representation: including internal data structure for storing the original data and the graphics primitives for displaying the data. Visualization: transformating data from one representation to another representation.
Test Data Generation • The Functional Model • f=F(x) • f=F(x,y) • f=F(x,y,z) • Given (x,y,z) of a grid node, compute the fake data value using F.
Pipeline Objects Data Objects (data structures) Process Objects (algorithms) Source (out only) Filter (in & out) Mapper (in only)
Executing the Pipeline • Efficiency: avoid unnecessary execution • Execution: using a process object to operate • Demand-driven: caused by output request • Event-driven: caused by input parameter changes
Programming Data Interface • Programming interface: function • File interface: I/O • System interface: • Converts • vtkVRMLExporter • vtk3DSImporter
Put It All Together • C++, strong typed, implicit control, demand-driven • Filter2SetInput(Filter1GetOutput) • Intermediate data: • Store: fast, more memory • Don’t store: slower, less memory