API

API

Types and Constants

VTKView.DataSetMethod.
DataSet(this::VTKView.DataSet) -> VTKView.DataSet

Create a data set.

source
VTKView.FrameMethod.
Frame(this::VTKView.Frame) -> VTKView.Frame

Create Frame (corresponds to desktop window).

source
VTKView.GridViewMethod.
GridView(this::VTKView.GridView) -> VTKView.GridView

Create a view for showing 2D or 3D grids.

source
VTKView.ScalarViewMethod.
ScalarView(this::VTKView.ScalarView) -> VTKView.ScalarView

Create a view for showing 2D or 3D scalar data.

source
VTKView.VectorViewMethod.
VectorView(this::VTKView.VectorView) -> VTKView.VectorView

Create a view for showing 2D or 3D vector data.

source
VTKView.XYPlotMethod.
XYPlot(this::VTKView.XYPlot) -> VTKView.XYPlot

Create a view for showing X-Y plots.

source

Methods

display(frame::VTKView.Frame)

Display frame content and continue.

source
VTKView.addplot!Method.
addplot!(this::VTKView.XYPlot, X::Array{Float64,1}, Y::Array{Float64,1})

Add one paticular plot ("series") to XYPlot object.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, gridview::VTKView.GridView, pos::Int64)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, gridview::VTKView.GridView)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, scalarview::VTKView.ScalarView, pos::Int64)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, scalarview::VTKView.ScalarView)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, vectorview::VTKView.VectorView, pos::Int64)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, vectorview::VTKView.VectorView)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, xyplot::VTKView.XYPlot, pos::Int64)

Add view to frame.

source
VTKView.addview!Method.
addview!(frame::VTKView.Frame, xyplot::VTKView.XYPlot)

Add view to frame.

source
adjust_labels!(this::VTKView.XYPlot, b::Bool)

Toggle automatic label adjustment.

source
VTKView.axescolor!Method.
axescolor!(this::VTKView.XYPlot, r::Any, g::Any, b::Any)

Color of axes.

source
VTKView.clear!Method.
clear!(frame::VTKView.Frame)

Clear frame content.

source
VTKView.clear!Method.
clear!(this::VTKView.XYPlot)

Clear all data from plot.

source
VTKView.data!Method.
data!(this::VTKView.GridView, dataset::VTKView.DataSet)

Set data to be shown to grid defined in dataset.

source
VTKView.data!Method.
data!(this::VTKView.ScalarView, dataset::VTKView.DataSet, name::Any)

Set data to be shown to point scalar name in dataset.

source
VTKView.data!Method.
data!(this::VTKView.VectorView, dataset::VTKView.DataSet, name::Any)

Set data to be shown to point scalar name in dataset.

source
frametitle!(frame::VTKView.Frame, title::Any)

Set title in frame

source
VTKView.gridcolor!Method.
gridcolor!(this::VTKView.XYPlot, r::Any, g::Any, b::Any)

Color of background grid.

source
VTKView.interactMethod.
interact(frame::VTKView.Frame)

Display frame content and enter interaction mode.

source
VTKView.isolevels!Method.
isolevels!(this::VTKView.ScalarView, V::Array{Float64,1})

Set isolevels for isocontour and isosurface plot.

source
VTKView.layout!Method.
layout!(frame::VTKView.Frame, nrows::Any, ncol::Any)

Set frame layout.

source
legendposition!(this::VTKView.XYPlot, x::Any, y::Any)

Set legend position.

source
legendsize!(this::VTKView.XYPlot, w::Any, h::Any)

Sed legend size.

source
VTKView.linewidth!Method.
linewidth!(this::VTKView.XYPlot, w::Any)

Linewidth of next plot.

source
markersize!(this::VTKView.XYPlot, s::Any)

Marker size of next plot.

source
numberofxlabels!(this::VTKView.XYPlot, n::Any)

Number of labels on X axis.

source
numberofylabels!(this::VTKView.XYPlot, n::Any)

Number of labels on Y axis.

source
VTKView.plotcolor!Method.
plotcolor!(this::VTKView.XYPlot, r::Any, g::Any, b::Any)

Color of next plot.

source
plotlegend!(this::VTKView.XYPlot, legend::Any)

Legend of next plot.

source
plotlinetype!(this::VTKView.XYPlot, ltype::Any)

Line type of next plot.

source
plotmarkertype!(this::VTKView.XYPlot, mtype::Any)

Marker type of next plot.

source
pointscalar!(this::VTKView.DataSet, X::Array{Float64,1}, name::Any)

Add piece wise linear function with identifier name to dataset.

source
pointvector!(this::VTKView.DataSet, UVW::Array{Float64,2}, name::Any)

Add piece wise linear function with identifier name to dataset.

source
VTKView.position!Method.
position!(frame::VTKView.Frame, x::Any, y::Any)

Set frame position on screen.

source
rectilineargrid!(this::VTKView.DataSet, X::Array{Float64,1}, Y::Array{Float64,1}, Z::Array{Float64,1})

Create 3D rectilinear grid in dataset.

source
rectilineargrid!(this::VTKView.DataSet, X::Array{Float64,1}, Y::Array{Float64,1})

Create 2D rectilinear grid in dataset.

source
VTKView.remove!Method.
remove!(frame::VTKView.Frame, gridview::VTKView.GridView)

Remove view from frame.

source
VTKView.remove!Method.
remove!(frame::VTKView.Frame, scalarview::VTKView.ScalarView)

Remove view from frame.

source
VTKView.remove!Method.
remove!(frame::VTKView.Frame, vectorview::VTKView.VectorView)

Remove view from frame.

source
VTKView.remove!Method.
remove!(frame::VTKView.Frame, xyplot::VTKView.XYPlot)

Remove view from frame.

source
VTKView.show_grid!Method.
show_grid!(this::VTKView.XYPlot, b::Bool)

Toggle display of background grid in plot.

source
show_isosurfaces!(this::VTKView.ScalarView, b::Bool)

Toggle display of isosurfaces in 3D plot.

source
show_legend!(this::VTKView.XYPlot, b::Bool)

Toggle display of legend in plot.

source
simplexgrid!(this::VTKView.DataSet, Points::Array{Float64,2}, Cells::Array{Int32,2})

Create simplex grid in dataset.

source
VTKView.size!Method.
size!(frame::VTKView.Frame, x::Any, y::Any)

Set frame size.

source
VTKView.startvideoMethod.
startvideo(frame::VTKView.Frame, fname::Any)

Start video recording.

source
VTKView.stopvideoMethod.
stopvideo(frame::VTKView.Frame)

Stop video recording

source
VTKView.title!Method.
title!(this::VTKView.XYPlot, title::Any)

Set plot title.

source
windowtitle!(frame::VTKView.Frame, title::Any)

Set title of window corresponding to frame

source
VTKView.writepngMethod.
writepng(frame::VTKView.Frame, fname::Any)

Write frame content to png file.

source
VTKView.writevtkMethod.
writevtk(this::VTKView.DataSet, fname::Any; ftype)

Write data set content to vtk file.

source
VTKView.xrange!Method.
xrange!(this::VTKView.XYPlot, x0::Any, x1::Any)

Range of X coordinates.

source
VTKView.xtitle!Method.
xtitle!(this::VTKView.XYPlot, title::Any)

X Axis title.

source
VTKView.yrange!Method.
yrange!(this::VTKView.XYPlot, y0::Any, y1::Any)

Range of Y coordinates.

source
VTKView.ytitle!Method.
ytitle!(this::VTKView.XYPlot, title::Any)

Y Axis title.

source
boundarygrid!(this::VTKView.DataSet, Cells::Array{Int32,2})

Create simplex grid boundary consisting of codimension 1 cells in dataset

source
boundarymarker!(this::VTKView.DataSet, M::Array{Int32,1})

Add boundary cell region indicator

source
cellmarker!(this::VTKView.DataSet, M::Array{T,1} where T)

Add boundary cell region indicator

source
VTKView.unmap!Method.
unmap!(this::VTKView.Frame)

Unmap frame window

source
StaticFrame()

Return static frame, and create it if it doesnt exist

source
VTKView.delaunayMethod.
delaunay(inpoints)

Create Delaunay triangulation from set of points

source
unmap_static_frame()

Unmap static frame

source