VTKFIG
0.20.20181114
Easy VTK based in situ visualization
Main Page
Related Pages
Namespaces
Classes
Files
Examples
vtkfig
Surf2D
ClientMTReceive
colors
gridfunc
lut
Lxy
Lz
New
Nx
Ny
points
rgbtab
rgbtab_modified
rgbtab_size
RTBuildVTKPipeline
ServerRTSend
SetGrid
SetRGBTable
show_colorbar
ShowColorbar
state
SubClassName
Surf2D
update_warp_and_lut
UpdateValues
vmax
vmin
warp
template<typename V >
void vtkfig::Surf2D::UpdateValues
(
const V &
values
)
inline
Definition at line
158
of file
vtkfigSurf2D.h
.
159
{
160
for
(
int
j = 0; j <
Ny
; j++)
161
{
162
for
(
int
i = 0; i <
Nx
; i++)
163
{
164
int
k=j*Nx+i;
165
float
v=z[k];
166
state
.vmin=std::min(v,
state
.vmin);
167
state
.vmax=std::max(v,
state
.vmax);
168
double
p[3];
169
points
->GetPoint(k,p);
170
p[2]=v;
171
points
->SetPoint(k,p);
172
colors
->InsertComponent(k, 0,v);
173
}
174
}
175
176
points
->Modified();
177
colors
->Modified();
178
gridfunc
->Modified();
179
180
update_warp_and_lut
();
181
182
}
vtkfig::Surf2D::Ny
int Ny
Definition:
vtkfigSurf2D.h:82
vtkfig::Surf2D::gridfunc
vtkSmartPointer< vtkStructuredGrid > gridfunc
Definition:
vtkfigSurf2D.h:75
vtkfig::Surf2D::points
vtkSmartPointer< vtkPoints > points
Definition:
vtkfigSurf2D.h:76
vtkfig::Surf2D::colors
vtkSmartPointer< vtkDoubleArray > colors
Definition:
vtkfigSurf2D.h:77
vtkfig::Surf2D::Nx
int Nx
Definition:
vtkfigSurf2D.h:81
vtkfig::Surf2D::update_warp_and_lut
void update_warp_and_lut()
Definition:
vtkfigSurf2D.h:99
vtkfig::Surf2D::state
struct vtkfig::Surf2D::@3 state
Here is the call graph for this function:
Generated on Wed Nov 14 2018 21:15:48 for VTKFIG by
1.8.11