MCPcopy Create free account
hub / github.com/Kitware/VTK / SetInputArrayToProcess

Method SetInputArrayToProcess

Rendering/OpenGL2/vtkValuePass.cxx:339–349  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

337
338//------------------------------------------------------------------------------
339void vtkValuePass::SetInputArrayToProcess(int fieldAssociation, const char* name)
340{
341 if (this->PassState->ArrayAccessMode != VTK_GET_ARRAY_BY_NAME ||
342 this->PassState->ArrayMode != fieldAssociation || this->PassState->ArrayName != name)
343 {
344 this->PassState->ArrayMode = fieldAssociation;
345 this->PassState->ArrayName = std::string(name);
346 this->PassState->ArrayAccessMode = VTK_GET_ARRAY_BY_NAME;
347 this->Modified();
348 }
349}
350
351//------------------------------------------------------------------------------
352void vtkValuePass::SetInputArrayToProcess(int fieldAssociation, int fieldId)

Callers 15

vtkTIFFWriterMethod · 0.45
RemoveGhostCellsMethod · 0.45
SetColorArrayNameMethod · 0.45
SetColorArrayNameMethod · 0.45
SetColorArrayNameMethod · 0.45
SetEdgeColorArrayNameMethod · 0.45

Calls 2

stringClass · 0.50
ModifiedMethod · 0.45

Tested by 15

test_datasetFunction · 0.36
test_datasetFunction · 0.36
TestVTKMMarchingCubes2Function · 0.36
TestVTKMThreshold2Function · 0.36
TestVTKMWarpVectorFunction · 0.36
TestVTKMWarpScalarFunction · 0.36
RunVTKPipelineFunction · 0.36
RunVTKPipelineFunction · 0.36
TestVTKMHistogramFunction · 0.36
PerformTestFunction · 0.36