Safe Haskell | None |
---|
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.
StructuredPoints | |
| |
StructuredGrid | |
| |
UnstructuredGrid | |
PolyData | |
RectilinearGrid | |
| |
Field |
Warning: This interface is provisional and subject to substantial revision.
A VTK point.
Point | Warning: This interface is provisional and subject to substantial revision. |
|
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.
:: 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.