VTKFIG
0.25.0
Easy VTK based in situ visualization
|
Go to the documentation of this file.
386 typedef struct vtkfigSimplexGrid_struct vtkfigSimplexGrid;
387 void vtkfigDelaunay(vtkfigSimplexGrid *g,
int index_offset,
int dim,
double *inpoints,
int n_inpoints);
void vtkfigSetGridViewData(vtkfigGridView *gridview, vtkfigDataSet *dataset)
Add Dataset to figure.
void vtkfigDestroyVectorView(vtkfigVectorView *vectorview)
void vtkfigStopVideo(vtkfigFrame *frame)
Stop video recording.
struct vtkfigXYPlot_struct vtkfigXYPlot
XY Function plot.
Definition: vtkfigCAPI.h:92
void vtkfigAddXYPlot(vtkfigFrame *frame, vtkfigXYPlot *figure)
Add figure at position (0)
void vtkfigSetIsolevels(vtkfigScalarView *scalarview, double *v, int nv)
void vtkfigSetNumberOfXLabels(vtkfigXYPlot *xyplot, int n)
Set the number of x axis labels.
void SetPlotLineType(const std::string type)
Set the line type of the next plot.
vtkfigGridView * vtkfigCreateGridView(void)
static std::shared_ptr< VectorView > New()
Smart pointer constructor.
void vtkfigClearFrame(vtkfigFrame *frame)
Remove all figures.
void vtkfigDestroyXYPlot(vtkfigXYPlot *xyplot)
void vtkfigSetGridColor(vtkfigXYPlot *xyplot, double r, double g, double b)
Set the color of the grid lines.
void vtkfigSetNumberOfYLabels(vtkfigXYPlot *xyplot, int n)
Set the number of y axis labels.
void SetPosition(int x, int y)
Set frame position on screen.
void vtkfigSetYTitle(vtkfigXYPlot *xyplot, char *t)
Set the title of the y axis.
struct vtkfigVectorView_struct vtkfigVectorView
Quiver plots + streamlines for vector fields.
Definition: vtkfigCAPI.h:66
static std::shared_ptr< GridView > New()
GridView smart pointer constructor.
void SetPlotLegend(const std::string legend)
Set the information for the legend entry for the next plot.
void vtkfigSetXRange(vtkfigXYPlot *xyplot, double x0, double x1)
Set the range of the x values.
void vtkfigSetLineWidth(vtkfigXYPlot *xyplot, double w)
Set the width of all lines in the plot.
void SetSurfaceRGBTable(const V &tab, int lutsize)
Set Surface RGB table from vector.
Definition: vtkfigScalarView.h:119
vtkfigVectorView * vtkfigCreateVectorView(void)
void SetRectilinearGrid(const V &x, const V &y)
Enter data of a 2D rectilinear grid.
Definition: vtkfigDataSet.h:469
void vtkfigShowGrid(vtkfigXYPlot *xyplot, int b)
Show grid lines in the plot ?
void vtkfigWritePNG(vtkfigFrame *frame, char *fname)
Write png image of frame content.
void vtkfigSetSize(vtkfigFrame *frame, int x, int y)
Set frame size in pixels.
void vtkfigRemoveXYPlot(vtkfigFrame *frame, vtkfigXYPlot *figure)
Remove figure.
void vtkfigWriteVTK(vtkfigDataSet *dataset, char *filename, char *filetype)
Write dataset to disk in VTK format.
void vtkfigShow(vtkfigFrame *frame)
Show frame content and continue.
void vtkfigSetRectilinearGrid2D(vtkfigDataSet *dataset, double *x, int nx, double *y, int ny)
Enter data of a 2D rectilinear grid.
void vtkfigDestroyScalarView(vtkfigScalarView *scalarview)
void vtkfigStartVideo(vtkfigFrame *frame, char *fname)
Start video recording.
void vtfigAddPlot(vtkfigXYPlot *xyplot, double *x, int nx, double *y, int ny)
Add a pair of x/y data to the figure.
void SetPointScalar(const V &f, const std::string name)
Set data of a scalar function defined on the points of the grid.
Definition: vtkfigDataSet.h:703
void AddPlot(const V &x, const V &y)
Add a pair of x/y data to the figure.
Definition: vtkfigXYPlot.h:295
void vtkfigSetPlotColor(vtkfigXYPlot *xyplot, double r, double g, double b)
Set the color of the next plot.
void vtkfigAddGridView(vtkfigFrame *frame, vtkfigGridView *figure)
Add figure at position (0)
void AddFigure(std::shared_ptr< Figure > figure)
Add figure at position (0)
void vtkfigSetYRange(vtkfigXYPlot *xyplot, double y0, double y1)
Set the range of the y values.
void vtkfigRemoveScalarView(vtkfigFrame *frame, vtkfigScalarView *figure)
Remove figure.
void vtkfigDestroyFrame(vtkfigFrame *frame)
void vtkfigSetScalarViewData(vtkfigScalarView *scalarview, vtkfigDataSet *dataset, char *name)
Add Dataset to figure.
void vtkfigAddVectorViewAt(vtkfigFrame *frame, vtkfigVectorView *figure, int ipos)
Add figure at position (0)
void SetLayout(int nvpx, int nvpy)
Set layout of subframe grid.
void vtkfigSetQuiverGrid2D(vtkfigVectorView *vectorview, int nx, int ny)
Set quiver points on grid in domain bounding box (2D)
void vtkfigAdjustLabels(vtkfigXYPlot *xyplot, int b)
Adjust labels to "nice values" ?
struct vtkfigFrame_struct vtkfigFrame
Provide a framework wrapping window+interactor+renderers from vtk.
Definition: vtkfigCAPI.h:22
void vtkfigSetPointVector(vtkfigDataSet *dataset, double *uvw, int npoints, int dim, char *name)
struct vtkfigDataSet_struct vtkfigDataSet
Class to collect all data given on one grid.
Definition: vtkfigCAPI.h:40
void vtkfigDestroyGridView(vtkfigGridView *gridview)
vtkfigScalarView * vtkfigCreateScalarView(void)
void vtkfigRemoveVectorView(vtkfigFrame *frame, vtkfigVectorView *figure)
Remove figure.
void vtkfigClear(vtkfigXYPlot *xyplot)
Remove all data from plot.
void SetYRange(double y0, double y1)
Set the range of the y values.
void vtkfigSetLayout(vtkfigFrame *frame, int x, int y)
Set layout of subframe grid.
void vtkfigSetLegendPosition(vtkfigXYPlot *xyplot, double x, double y)
Set the position of the legend box.
struct vtkfigGridView_struct vtkfigGridView
Grid visualization.
Definition: vtkfigCAPI.h:79
void vtkfigSetPlotMarkerType(vtkfigXYPlot *xyplot, char *t)
Set marker type.
void vtkfigSetFrameTitle(vtkfigFrame *frame, char *title)
Set Frame title.
void vtkfigSetPlotLegend(vtkfigXYPlot *xyplot, char *t)
Set the information for the legend entry for the next plot.
void SetFrameTitle(const std::string title)
Set Frame title.
static std::shared_ptr< ScalarView > New()
Create smart pointer to ScalarView instance.
void vtkfigSetCellRegions(vtkfigDataSet *dataset, int *cr, int n)
Set cell region data (for multiregion grids)
void vtkfigSetLegendSize(vtkfigXYPlot *xyplot, double w, double h)
Set the size of the legend box.
void SetSimplexGrid(int dim, const V &points, const IV &cells)
Enter data of a simplex grid.
Definition: vtkfigDataSet.h:362
void vtkfigAddXYPlotAt(vtkfigFrame *frame, vtkfigXYPlot *figure, int ipos)
Add figure at position (0)
void Show()
Show frame content and continue.
Client side visualization setup.
Definition: vtkfigClient.h:30
void vtkfigSetVectorViewData(vtkfigVectorView *vectorview, vtkfigDataSet *dataset, char *name)
Add Dataset to figure.
void vtkfigPrintOpenGLInfo()
void vtkfigShowIsosurfaces(vtkfigScalarView *scalarview, int show)
void vtkfigAddVectorView(vtkfigFrame *frame, vtkfigVectorView *figure)
Add figure at position (0)
void vtkfigUnmapFrame(vtkfigFrame *frame)
Unmap frame from screen.
void vtkfigSetTitle(vtkfigXYPlot *xyplot, char *t)
Set the title of the plot.
void vtkfigAddScalarView(vtkfigFrame *frame, vtkfigScalarView *figure)
Add figure at position (0)
vtkfigDataSet * vtkfigCreateDataSet(void)
void SetPlotColor(double r, double g, double b)
Set the color of the next plot.
void SetWindowTitle(const std::string title)
Set window title.
struct vtkfigScalarView_struct vtkfigScalarView
Surface and contour plot of 2/3D scalar data.
Definition: vtkfigCAPI.h:53
void vtkfigSetPosition(vtkfigFrame *frame, int x, int y)
Set frame position on screen.
void vtkfigAddScalarViewAt(vtkfigFrame *frame, vtkfigScalarView *figure, int ipos)
Add figure at position (0)
void vtkfigSetAxesColor(vtkfigXYPlot *xyplot, double r, double g, double b)
Set the color of the axes.
vtkfigFrame * vtkfigCreateFrame(void)
void vtkfigDestroyDataSet(vtkfigDataSet *dataset)
vtkfigXYPlot * vtkfigCreateXYPlot(void)
void vtkfigInteract(vtkfigFrame *frame)
Show frame content and wait for interaction.
void vtkfigShowLegend(vtkfigXYPlot *xyplot, int b)
Show a legend box ?
void vtkfigSetSimplexGrid(vtkfigDataSet *dataset, int index_offset, int dim, double *points, int npoints, int *cells, int ncells)
Enter data of a simplex grid.
void vtkfigSetXTitle(vtkfigXYPlot *xyplot, char *t)
Set the title of the x axis.
void vtkfigSetRectilinearGrid3D(vtkfigDataSet *dataset, double *x, int nx, double *y, int ny, double *z, int nz)
Set data of a scalar function defined on the points of the grid.
void SetSize(int x, int y)
Set frame size in pixels.
void Interact()
Show frame content and wait for interaction.
void vtkfigRemoveGridView(vtkfigFrame *frame, vtkfigGridView *figure)
Remove figure.
static std::shared_ptr< DataSet > New()
Static constructor of smart pointer to an empty instance.
void vtkfigSetSimplexGridBoundaryCells(vtkfigDataSet *dataset, int index_offset, int dim, int *bc, int n)
void WritePNG(std::string fname)
Write png image of frame content.
void vtkfigSetPointScalar(vtkfigDataSet *dataset, double *x, int nx, char *name)
static std::shared_ptr< XYPlot > New()
Smartpointer construtor.
void LinkCamera(int ivp, Frame &frame, int livp)
Link camera to other camera.
void vtkfigSetBoundaryCellRegions(vtkfigDataSet *dataset, int *cr, int n)
Set boundary cell region data (for multiregion grids)
void vtkfigSetQuiverGrid3D(vtkfigVectorView *vectorview, int nx, int ny, int nz)
Set quiver points on grid in domain bounding box (2D)
void vtkfigSetMarkerSize(vtkfigXYPlot *xyplot, double s)
Set the size of all markers in the plot.
void vtkfigSetPlotLineType(vtkfigXYPlot *xyplot, char *t)
Set the line type of the next plot.
static std::shared_ptr< Frame > New()
Create smart pointer to frame.
void vtkfigSetWindowTitle(vtkfigFrame *frame, char *title)
Set window title.
void Clear()
Remove all data from plot.
void vtkfigAddGridViewAt(vtkfigFrame *frame, vtkfigGridView *figure, int ipos)
Add figure at position (0)