Functions
FMSToVTK.C File Reference

cfMesh utility to convert a surface file to VTK multiblock dataset format, including the patches, feature edges and surface features. More...

Include dependency graph for FMSToVTK.C:

Go to the source code of this file.

Functions

void writePointsToVTK (const fileName &fn, const string &, const UList< point > &points)
 Write the supplied pointList in serial vtkPolyData format. More...
 
void writePointsToVTK (const fileName &fn, const string &title, const UList< point > &points, unallocLabelList &addr)
 Write the supplied addressed pointList in serial vtkPolyData format. More...
 
void writeEdgesToVTK (const fileName &fn, const string &, const UList< point > &points, const LongList< edge > &edges)
 Write the supplied edgeList in serial vtkPolyData format. More...
 
void writeEdgesToVTK (const fileName &fn, const string &title, const UList< point > &points, const LongList< edge > &edges, const unallocLabelList &addr)
 Write the supplied edgeList subset in serial vtkPolyData format. More...
 
void writeFacetsToVTK (const fileName &fn, const string &, const UList< point > &points, const LongList< labelledTri > &facets)
 Write the supplied facet list in serial vtkPolyData format. More...
 
void writeFacetsToVTK (const fileName &fn, const string &title, const pointField &points, const LongList< labelledTri > &facets, const unallocLabelList &addr)
 
int main (int argc, char *argv[])
 

Detailed Description

cfMesh utility to convert a surface file to VTK multiblock dataset format, including the patches, feature edges and surface features.

Original source file FMSToVTK.C

Author Ivor Clifford ivor..nosp@m.clif.nosp@m.ford@.nosp@m.psi..nosp@m.ch

Definition in file FMSToVTK.C.

Function Documentation

◆ writePointsToVTK() [1/2]

void writePointsToVTK ( const fileName fn,
const string ,
const UList< point > &  points 
)

Write the supplied pointList in serial vtkPolyData format.

Definition at line 46 of file FMSToVTK.C.

References xmlTag::addAttribute(), xmlTag::addChild(), Foam::endl(), Foam::Info, and points.

Referenced by main(), and writePointsToVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePointsToVTK() [2/2]

void writePointsToVTK ( const fileName fn,
const string title,
const UList< point > &  points,
unallocLabelList addr 
)

Write the supplied addressed pointList in serial vtkPolyData format.

Definition at line 77 of file FMSToVTK.C.

References forAll, points, UList::size(), and writePointsToVTK().

Here is the call graph for this function:

◆ writeEdgesToVTK() [1/2]

void writeEdgesToVTK ( const fileName fn,
const string ,
const UList< point > &  points,
const LongList< edge > &  edges 
)

Write the supplied edgeList in serial vtkPolyData format.

Definition at line 103 of file FMSToVTK.C.

References xmlTag::addAttribute(), xmlTag::addChild(), Foam::endl(), forAll, Foam::Info, points, and LongList< T, Offset >::size().

Referenced by main(), and writeEdgesToVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeEdgesToVTK() [2/2]

void writeEdgesToVTK ( const fileName fn,
const string title,
const UList< point > &  points,
const LongList< edge > &  edges,
const unallocLabelList addr 
)

Write the supplied edgeList subset in serial vtkPolyData format.

Definition at line 156 of file FMSToVTK.C.

References DynamicList::append(), forAll, points, UList::size(), and writeEdgesToVTK().

Here is the call graph for this function:

◆ writeFacetsToVTK() [1/2]

void writeFacetsToVTK ( const fileName fn,
const string ,
const UList< point > &  points,
const LongList< labelledTri > &  facets 
)

Write the supplied facet list in serial vtkPolyData format.

Definition at line 202 of file FMSToVTK.C.

References xmlTag::addAttribute(), xmlTag::addChild(), Foam::endl(), forAll, Foam::Info, points, and LongList< T, Offset >::size().

Referenced by main(), and writeFacetsToVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFacetsToVTK() [2/2]

void writeFacetsToVTK ( const fileName fn,
const string title,
const pointField points,
const LongList< labelledTri > &  facets,
const unallocLabelList addr 
)

Write an addressed subset of the supplied facet list in serial vtkPolyData format

Definition at line 272 of file FMSToVTK.C.

References DynamicList::append(), forAll, points, labelledTri::region(), UList::size(), and writeFacetsToVTK().

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)