VTKFIG  0.25.0
Easy VTK based in situ visualization
Classes | Typedefs | Functions
vtkfigTools.h File Reference
+ Include dependency graph for vtkfigTools.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vtkfig::RGBPoint
 RGB point struct for color tables. More...
 

Typedefs

typedef std::vector< RGBPoint > vtkfig::RGBTable
 Color table. More...
 

Functions

void vtkfig::PrintOpenGLInfo (void)
 Print Open GL info to screen. More...
 
size_t vtkfig::NSpin ()
 Return content of environment variable VTKFIG_NSPIN or large value. More...
 
template<class V0 , class V , class IV >
void vtkfig::Delaunay2D (const V0 &points_in, V &points, IV &cells)
 Create a 2D Delaunay triangulation from point set. More...
 
template<class V0 , class V , class IV >
void vtkfig::Delaunay3D (const V0 &points_in, V &points, IV &cells)
 Create a 3D Delaunay triangulation from point set. More...
 
vtkSmartPointer< vtkLookupTable > vtkfig::internal::BuildLookupTable (RGBTable &xrgb, size_t size)
 Build lookup table. More...
 
vtkSmartPointer< vtkScalarBarActor > vtkfig::internal::BuildColorBar (vtkSmartPointer< vtkPolyDataMapper > mapper, int irank=0)
 Build colorbar. More...
 
void vtkfig::internal::PrintPoints (vtkSmartPointer< vtkPoints > pts, std::ostream &os)
 Print vtkPoints. More...
 
void vtkfig::internal::PrintArray (vtkSmartPointer< vtkDataArray > data, std::ostream &os)
 Print vtkDataArray. More...
 

Detailed Description

Various helper tools and API functions not bound to classes.

Typedef Documentation

◆ RGBTable

typedef std::vector<RGBPoint> vtkfig::RGBTable

Color table.

Function Documentation

◆ PrintOpenGLInfo()

void vtkfig::PrintOpenGLInfo ( void  )

Print Open GL info to screen.

Invoked by vtkfig-exec executable.

◆ NSpin()

size_t vtkfig::NSpin ( )

◆ Delaunay2D()

template<class V0 , class V , class IV >
void vtkfig::Delaunay2D ( const V0 &  points_in,
V &  points,
IV &  cells 
)
inline

Create a 2D Delaunay triangulation from point set.

Examples
example-gridview2d.cxx, example-simplexcontour2d.cxx, and example-simplexquiver2d.cxx.
+ Here is the call graph for this function:

◆ Delaunay3D()

template<class V0 , class V , class IV >
void vtkfig::Delaunay3D ( const V0 &  points_in,
V &  points,
IV &  cells 
)
inline

Create a 3D Delaunay triangulation from point set.

Examples
example-gridview3d.cxx, example-simplexcontour3d.cxx, and example-simplexquiver3d.cxx.
+ Here is the call graph for this function:

◆ BuildLookupTable()

vtkSmartPointer<vtkLookupTable> vtkfig::internal::BuildLookupTable ( RGBTable xrgb,
size_t  size 
)

Build lookup table.

Examples
example-custom-vtk.cxx, and example-custom-vtkfig.cxx.

◆ BuildColorBar()

vtkSmartPointer<vtkScalarBarActor> vtkfig::internal::BuildColorBar ( vtkSmartPointer< vtkPolyDataMapper >  mapper,
int  irank = 0 
)

Build colorbar.

Examples
example-custom-vtk.cxx, and example-custom-vtkfig.cxx.

◆ PrintPoints()

void vtkfig::internal::PrintPoints ( vtkSmartPointer< vtkPoints >  pts,
std::ostream &  os 
)

Print vtkPoints.

◆ PrintArray()

void vtkfig::internal::PrintArray ( vtkSmartPointer< vtkDataArray >  data,
std::ostream &  os 
)

Print vtkDataArray.