Safe Haskell | None |
---|
Data.Geometry.LegacyVTK
Description
Rudimentary support for Visualization Toolkit (VTK) 4.2 <http://www.vtk.org/VTK/img/file-formats.pdf> legacy data formats.
- data Geometry
- = StructuredPoints {
- xDimension :: Int
- yDimension :: Int
- zDimension :: Int
- xOrigin :: Scientific
- yOrigin :: Scientific
- zOrigin :: Scientific
- xSpacing :: Scientific
- ySpacing :: Scientific
- zSpacing :: Scientific
- | StructuredGrid {
- xDimension :: Int
- yDimension :: Int
- zDimension :: Int
- points :: Points
- | UnstructuredGrid { }
- | PolyData { }
- | RectilinearGrid {
- xDimension :: Int
- yDimension :: Int
- zDimension :: Int
- xCoordinates :: [Scientific]
- yCoordinates :: [Scientific]
- zCoordinates :: [Scientific]
- | Field
- = StructuredPoints {
- data Point = Point {
- x :: Scientific
- y :: Scientific
- z :: Scientific
- type Points = [Point]
- data Attribute
- = Scalar
- | ColorScalar
- | LookupTable
- | Vector
- | Normal
- | TextureCoordinate
- | Tensor
- | FieldData
- makeVTK :: String -> Geometry -> Maybe Attribute -> Maybe Attribute -> [String]
Documentation
Warning: This interface is provisional and subject to substantial revision.
Legacy VTK geometry/topology data.
Constructors
StructuredPoints | |
Fields
| |
StructuredGrid | |
Fields
| |
UnstructuredGrid | |
PolyData | |
RectilinearGrid | |
Fields
| |
Field |
Warning: This interface is provisional and subject to substantial revision.
A VTK point.
Constructors
Point | Warning: This interface is provisional and subject to substantial revision. |
Fields
|
Warning: This interface is provisional and subject to substantial revision.
A list of VTK points.
Warning: This interface is provisional and subject to substantial revision.
VTK dataset attributes.
Constructors
Scalar | |
ColorScalar | |
LookupTable | |
Vector | |
Normal | |
TextureCoordinate | |
Tensor | |
FieldData |
Arguments
:: String | The title. |
-> Geometry | The geometry/topology. |
-> Maybe Attribute | The point data attribute. |
-> Maybe Attribute | The cell data attribute. |
-> [String] | Lines of formatted legacy VTK data. |
Warning: This interface is provisional and subject to substantial revision.
Create lines of a formatted legacy VTK data file.