VTKFIG
0.20.20181114
Easy VTK based in situ visualization
Main Page
Related Pages
Namespaces
Classes
Files
Examples
vtkfig
BuildColorBar
BuildLookupTable
BuildLookupTable
Delaunay2D
Delaunay3D
NSpin
PrintArray
PrintPoints
ReceiveRGBTable
RGBTable
SendRGBTable
void vtkfig::PrintArray
(
vtkSmartPointer< vtkDataArray >
data
,
std::ostream &
os
)
Definition at line
29
of file
vtkfigTools.cxx
.
30
{
31
auto
nt=data->GetNumberOfTuples();
32
auto
nc=data->GetNumberOfComponents();
33
assert(nc<32);
34
for
(
int
it=0;it<nt;it++)
35
{
36
double
tuple[32];
37
data->GetTuple(it,tuple);
38
for
(
int
ic=0;ic<nc ; ic++)
39
{
40
cout << tuple[ic] <<
" "
;
41
}
42
cout << endl;
43
}
44
45
}
Generated on Wed Nov 14 2018 21:15:48 for VTKFIG by
1.8.11