Scien&fic Data File Formats Han-Wei Shen The Ohio - - PowerPoint PPT Presentation

scien fic data file formats
SMART_READER_LITE
LIVE PREVIEW

Scien&fic Data File Formats Han-Wei Shen The Ohio - - PowerPoint PPT Presentation

Scien&fic Data File Formats Han-Wei Shen The Ohio State University Scien&fic File Format Common scien&fic data file formats VTK


slide-1
SLIDE 1

Scien&fic ¡Data ¡File ¡Formats ¡

Han-­‑Wei ¡Shen ¡ ¡ The ¡Ohio ¡State ¡University ¡

slide-2
SLIDE 2

Scien&fic ¡File ¡Format ¡

  • Common ¡scien&fic ¡data ¡file ¡formats ¡

– VTK ¡ ¡ – NetCDF ¡ ¡ ¡ – Plot3D ¡ ¡

  • Similar ¡conceptual ¡data ¡models, ¡but ¡with ¡different ¡

– organiza&ons ¡for ¡storing ¡domain ¡structures, ¡aKributes, ¡and ¡ meta-­‑data ¡ ¡ – Degrees ¡of ¡extensibility ¡to ¡store ¡one, ¡mul&ple, ¡or ¡groups ¡of ¡ data ¡objects ¡ – Applica&on ¡Program ¡Interfaces ¡(API) ¡to ¡read/write ¡the ¡data ¡

slide-3
SLIDE 3

Scien&fic ¡File ¡Format ¡

  • Common ¡scien&fic ¡data ¡file ¡formats ¡

– VTK ¡ ¡ – NetCDF ¡ ¡ ¡ – Plot3D ¡ ¡

  • Similar ¡conceptual ¡data ¡models, ¡but ¡with ¡different ¡

– organiza&ons ¡for ¡storing ¡domain ¡structures, ¡aKributes, ¡and ¡ meta-­‑data ¡ ¡ – Degrees ¡of ¡extensibility ¡to ¡store ¡one, ¡mul&ple, ¡or ¡groups ¡of ¡ data ¡objects ¡ – Applica&on ¡Program ¡Interfaces ¡(API) ¡to ¡read/write ¡the ¡data ¡

slide-4
SLIDE 4

Scien&fic ¡File ¡Format ¡

  • Common ¡scien&fic ¡data ¡file ¡formats ¡

– VTK ¡ ¡ – NetCDF ¡ ¡ ¡ – Plot3D ¡ ¡

  • Similar ¡conceptual ¡data ¡models, ¡but ¡with ¡different ¡

– organiza&ons ¡for ¡storing ¡domain ¡structures, ¡aKributes, ¡and ¡ meta-­‑data ¡ ¡ – Degrees ¡of ¡extensibility ¡to ¡store ¡one, ¡mul&ple, ¡or ¡groups ¡of ¡ data ¡objects ¡ – Applica&on ¡Program ¡Interfaces ¡(API) ¡to ¡read/write ¡the ¡data ¡

slide-5
SLIDE 5

Scien&fic ¡File ¡Format ¡

  • Common ¡scien&fic ¡data ¡file ¡formats ¡

– VTK ¡ ¡ – NetCDF ¡ ¡ ¡ – Plot3D ¡ ¡

  • Similar ¡conceptual ¡data ¡models, ¡but ¡with ¡different ¡

– organiza&ons ¡for ¡storing ¡domain ¡structures, ¡aKributes, ¡and ¡ meta-­‑data ¡ ¡ – degrees ¡of ¡extensibility ¡to ¡store ¡one, ¡mul&ple, ¡or ¡groups ¡of ¡ data ¡objects ¡ – Applica&on ¡Program ¡Interfaces ¡(API) ¡to ¡read/write ¡the ¡data ¡

slide-6
SLIDE 6

The ¡Visualiza&on ¡Toolkit ¡(VTK) ¡

  • The ¡Visualiza&on ¡Toolkit ¡(VTK) ¡is ¡an ¡open-­‑source, ¡freely ¡

available ¡soTware ¡system ¡for ¡visualiza&on, ¡3D ¡computer ¡ graphics, ¡and ¡image ¡processing ¡

  • Produced ¡by ¡the ¡company ¡Kitware ¡(www.kitware.com) ¡
slide-7
SLIDE 7

VTK ¡Simple ¡Legacy ¡Format ¡

  • Contains ¡two ¡different ¡styles: ¡Legacy ¡and ¡XML ¡

MyFile.vtk ¡

File ¡version ¡and ¡iden-fier ¡

# ¡vtkDataFile ¡Version ¡x,x ¡

Header: ¡comment, ¡256 ¡char ¡max ¡

This ¡is ¡where ¡I ¡put ¡my ¡comments ¡\n ¡ ¡

Type: ¡type ¡of ¡data ¡ ¡

ASCII ¡ ¡(or ¡ ¡BINARY) ¡

Structure: ¡describes ¡domain ¡ ¡

Structure ¡ ¡ … ¡(more ¡in ¡the ¡following ¡slides) ¡

ABributes ¡

… ¡(more ¡in ¡the ¡following ¡slides) ¡

slide-8
SLIDE 8

VTK ¡Simple ¡Legacy ¡Format ¡

  • Contains ¡two ¡different ¡style: ¡Legacy ¡and ¡XML ¡

MyFile.vtk ¡

File ¡version ¡and ¡iden-fier ¡

# ¡vtkDataFile ¡Version ¡x,x ¡

Header: ¡comment, ¡256 ¡char ¡max ¡

This ¡is ¡where ¡I ¡put ¡my ¡comments ¡\n ¡ ¡

Type: ¡type ¡of ¡data ¡ ¡

ASCII ¡ ¡(or ¡ ¡BINARY) ¡

Structure: ¡describes ¡domain ¡ ¡

Structure ¡ ¡ … ¡(more ¡in ¡the ¡following ¡slides) ¡

ABributes ¡

… ¡(more ¡in ¡the ¡following ¡slides) ¡

slide-9
SLIDE 9

VTK ¡Simple ¡Legacy ¡Format ¡

  • Contains ¡two ¡different ¡style: ¡Legacy ¡and ¡XML ¡

MyFile.vtk ¡

File ¡version ¡and ¡iden-fier ¡

# ¡vtkDataFile ¡Version ¡x,x ¡

Header: ¡comment, ¡256 ¡char ¡max ¡

This ¡is ¡where ¡I ¡put ¡my ¡comments ¡\n ¡ ¡

Type: ¡type ¡of ¡data ¡ ¡

ASCII ¡ ¡(or ¡ ¡BINARY) ¡

Structure: ¡describes ¡domain ¡ ¡

Structure ¡ ¡ … ¡(more ¡in ¡the ¡following ¡slides) ¡

ABributes ¡

… ¡(more ¡in ¡the ¡following ¡slides) ¡

slide-10
SLIDE 10

VTK ¡Simple ¡Legacy ¡Format ¡

  • Contains ¡two ¡different ¡style: ¡Legacy ¡and ¡XML ¡

MyFile.vtk ¡

File ¡version ¡and ¡iden-fier ¡

# ¡vtkDataFile ¡Version ¡x,x ¡

Header: ¡comment, ¡256 ¡char ¡max ¡

This ¡is ¡where ¡I ¡put ¡my ¡comments ¡\n ¡ ¡

Type: ¡type ¡of ¡data ¡ ¡

ASCII ¡ ¡(or ¡ ¡BINARY) ¡

Structure: ¡describes ¡domain ¡ ¡

Structure ¡ ¡ … ¡(more ¡in ¡the ¡following ¡slides) ¡

ABributes ¡

… ¡(more ¡in ¡the ¡following ¡slides) ¡

slide-11
SLIDE 11

VTK ¡Simple ¡Legacy ¡Format ¡

  • Contains ¡two ¡different ¡style: ¡Legacy ¡and ¡XML ¡

MyFile.vtk ¡

File ¡version ¡and ¡iden-fier ¡

# ¡vtkDataFile ¡Version ¡x,x ¡

Header: ¡comment, ¡256 ¡char ¡max ¡

This ¡is ¡where ¡I ¡put ¡my ¡comments ¡\n ¡ ¡

Type: ¡type ¡of ¡data ¡ ¡

ASCII ¡ ¡(or ¡ ¡BINARY) ¡

Structure: ¡describes ¡domain ¡ ¡

Structure ¡ ¡ … ¡(more ¡in ¡the ¡following ¡slides) ¡

ABributes ¡

… ¡(more ¡in ¡the ¡following ¡slides) ¡

slide-12
SLIDE 12

Specifying ¡Domain ¡Structure ¡

  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

slide-13
SLIDE 13

Specifying ¡Domain ¡Structure ¡

  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

  • Then ¡give ¡the ¡informa&on ¡related ¡to ¡the ¡type ¡of ¡the ¡

structure ¡

– Dimensions ¡ ¡ – Spacing ¡ – Coordinates ¡ – … ¡ ¡

slide-14
SLIDE 14
  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

Specifying ¡Domain ¡Structure ¡

DATASET ¡STRUCTURED_POINTS ¡ DIMENSIONS ¡ ¡nx ¡ny ¡nz ¡ ORIGIN ¡X ¡Y ¡Z ¡ ¡ SPACING ¡Sx ¡Sy ¡Sz ¡ VTK ¡Structured ¡Point ¡Type ¡ ¡ nx ¡ ny ¡ nz ¡

(X,Y,Z) ¡

slide-15
SLIDE 15
  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

Specifying ¡Domain ¡Structure ¡

DATASET ¡STRUCTURED_POINTS ¡ DIMENSIONS ¡ ¡nx ¡ny ¡nz ¡ ORIGIN ¡X ¡Y ¡Z ¡ ¡ SPACING ¡Sx ¡Sy ¡Sz ¡ VTK ¡Structured ¡Point ¡Type ¡ ¡ nx ¡ ny ¡ nz ¡

(X,Y,Z) ¡

slide-16
SLIDE 16
  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

Specifying ¡Domain ¡Structure ¡

DATASET ¡STRUCTURED_POINTS ¡ DIMENSIONS ¡ ¡nx ¡ny ¡nz ¡ ORIGIN ¡X ¡Y ¡Z ¡ ¡ SPACING ¡Sx ¡Sy ¡Sz ¡ VTK ¡Structured ¡Point ¡Type ¡ ¡ nx ¡ ny ¡ nz ¡

(X,Y,Z) ¡

slide-17
SLIDE 17
  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

Specifying ¡Domain ¡Structure ¡

DATASET ¡STRUCTURED_POINTS ¡ DIMENSIONS ¡ ¡nx ¡ny ¡nz ¡ ORIGIN ¡X ¡Y ¡Z ¡ ¡ SPACING ¡Sx ¡Sy ¡Sz ¡ VTK ¡Structured ¡Point ¡Type ¡ ¡ nx ¡ ny ¡ nz ¡

(X,Y,Z) ¡

Sx ¡ Sy ¡ Sz ¡

slide-18
SLIDE 18
  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

Specifying ¡Domain ¡Structure ¡

VTK ¡Rec&linear ¡Grid ¡Type ¡ ¡

DATASET ¡RECTILINEAR_POINTS ¡ DIMENSIONS ¡ ¡nx ¡ny ¡nz ¡ X_COORDINATES ¡nX ¡dataType ¡ ¡ x0 ¡ ¡x1 ¡ ¡… ¡xnx-­‑1 ¡ Y_COORDINATES ¡ny ¡dataType ¡ ¡ y0 ¡ ¡y1 ¡ ¡… ¡ynx-­‑1 ¡ Z_COORDINATES ¡nz ¡dataType ¡ ¡ z0 ¡ ¡z1 ¡ ¡… ¡znx-­‑1 ¡

nx ¡ ny ¡ nz ¡

X0 ¡X1 ¡X2 ¡X3 ¡X4 ¡… ¡ Z0 ¡ ¡ Z1 ¡ Z2 ¡ Z3 ¡ Z4 ¡… ¡

slide-19
SLIDE 19

Specifying ¡Domain ¡Structure ¡

  • Specifies ¡the ¡structure ¡of ¡the ¡domain ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DATASET ¡STRUCTURED_POINTS ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡STRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡UNSTRUCTURED_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡RECTILINEAR_GRID ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡POLYDATA ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡FIELD ¡ ¡

VTK ¡Unstructured ¡Grid ¡Type ¡ ¡ DATASET ¡UNSTRUCTURE_GRID ¡ ¡ POINTS ¡n ¡dataType ¡ P0x ¡P0y ¡P0z ¡ ¡P1x ¡P1y ¡P1z ¡

… ¡

P(n-­‑1)x ¡P(n-­‑1)y ¡P(n-­‑1)z ¡ CELLS ¡n ¡size ¡ numPoints0 ¡i,j,k,l,…. ¡ ¡(first ¡cell) ¡ numPoints1 ¡i,j,k,l ¡… ¡ ¡ ¡(second ¡cell) ¡

… ¡

numPointsn-­‑1 ¡i,j,k,l,…. ¡(n-­‑1th ¡cell) ¡ CELL_TYPES ¡n ¡ ¡ Type0 ¡ Type1 ¡ Type2 ¡ … ¡ Typen ¡

dataType ¡can ¡be ¡unsigned_char, ¡char, ¡ unsigned_short, ¡short, ¡unsigned_int, ¡int, ¡ unsined_long, ¡long, ¡float, ¡double ¡

slide-20
SLIDE 20

VTK ¡Cell ¡Types ¡

slide-21
SLIDE 21

VTK ¡Cell ¡Types ¡(cont’d) ¡

slide-22
SLIDE 22

VTK ¡Data ¡AKributes ¡

  • AKributes: ¡the ¡values ¡stored ¡at ¡the ¡grid ¡points ¡ ¡
  • Supported ¡types: ¡ ¡

– ¡scalars, ¡vectors, ¡3x3 ¡tensors, ¡normals, ¡texture ¡ coordinates ¡(1/2/3D), ¡and ¡fields. ¡ ¡

  • Format: ¡

a$ributeType ¡ SCALARS ¡ VECTORS ¡ TENSORS ¡ NORMALS ¡ TEXTURE_COORDINATES ¡ dataName ¡ Any ¡name ¡you ¡like ¡ dataType ¡ unsigned_char ¡ char ¡ unsigned_short ¡ ¡ short ¡ ¡ unsigned_int ¡ ¡ int ¡ ¡ unsined_long ¡ ¡long ¡ ¡float ¡ ¡ double ¡ a$ributeValues ¡ Described ¡in ¡the ¡following ¡ ¡ slides ¡

slide-23
SLIDE 23

VTK ¡Data ¡AKributes ¡

  • AKributes: ¡the ¡values ¡stored ¡at ¡the ¡grid ¡points ¡ ¡
  • Supported ¡types: ¡ ¡

– ¡scalars, ¡vectors, ¡normals, ¡texture ¡coordinates ¡ (1/2/3D), ¡3x3 ¡tensors, ¡and ¡fields. ¡ ¡

  • Scalar ¡AKribute ¡

SCALARS ¡ ¡dataName ¡ ¡dataType ¡ ¡numComp ¡ LOOKUP_TABLE ¡default ¡ ¡ S0 ¡ S1 ¡ … ¡ Sn-­‑1 ¡ Op&onal, ¡default ¡ ¡= ¡1 ¡

slide-24
SLIDE 24

VTK ¡Data ¡AKributes ¡

  • AKributes: ¡the ¡values ¡stored ¡at ¡the ¡grid ¡points ¡ ¡
  • Supported ¡types: ¡ ¡

– ¡scalars ¡(with ¡op&onal ¡RGB ¡lookup ¡table) ¡ vectors, ¡normals, ¡texture ¡coordinates ¡ (1/2/3D), ¡3x3 ¡tensors, ¡and ¡fields. ¡ ¡

  • Vector ¡aKribute ¡

VECTORS ¡dataName ¡dataType ¡ ¡ v0x ¡v0y ¡v0z ¡ v1x ¡v1y ¡v1z ¡ … ¡ V(n-­‑1)x ¡v(n-­‑1)y ¡v(n-­‑1)z ¡ n ¡3 ¡x ¡3 ¡tensors ¡

  • Tensors ¡aKribute ¡ ¡

TENSORS ¡dataName ¡dataType ¡ ¡ t00 ¡t01 ¡t02 ¡ t10 ¡t11 ¡t12 ¡ t20 ¡t21 ¡t22 ¡

slide-25
SLIDE 25

VTK ¡Data ¡AKributes ¡

  • AKributes: ¡the ¡values ¡stored ¡at ¡the ¡grid ¡points ¡ ¡
  • Supported ¡types: ¡ ¡

– ¡scalars ¡(with ¡op&onal ¡RGB ¡lookup ¡table) ¡ vectors, ¡normals, ¡texture ¡coordinates ¡ (1/2/3D), ¡3x3 ¡tensors, ¡and ¡fields. ¡ ¡

  • Normals ¡

NORMALS ¡dataName ¡ ¡dataType ¡ ¡ N0x ¡n0y ¡n0z ¡ n1x ¡n1y ¡n1z ¡ … ¡ n(n-­‑1)x ¡n(n-­‑1)y ¡n(n-­‑1)z ¡

  • Texture ¡Coordinates ¡ ¡ ¡

TEXTURE_COORDINDATES ¡dataName ¡dim ¡dataType ¡ ¡ t00 ¡t01 ¡t0(dim-­‑1) ¡ t10 ¡t11 ¡t1(dim-­‑1) ¡ … ¡ T(n-­‑1)0 ¡t(n-­‑1)1 ¡t(n-­‑1)(dim-­‑1) ¡

Dimensions ¡of ¡the ¡texture ¡