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

Method SetDim

IO/NetCDF/vtkXArrayAccessor.cxx:549–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void vtkXArrayAccessor::SetDim(const std::vector<std::string>& v)
550{
551 this->Dim.resize(v.size());
552 this->DimLen.resize(v.size());
553 std::copy(v.begin(), v.end(), this->Dim.begin());
554 for (size_t i = 0; i < this->Dim.size(); ++i)
555 {
556 this->DimIndex[this->Dim[i]] = i;
557 }
558}
559
560void vtkXArrayAccessor::SetDimLen(const std::vector<size_t>& v)
561{

Callers 8

BuildTreeMethod · 0.80
CopyKdNodeMethod · 0.80
DivideRegionMethod · 0.80
DoMedianFindMethod · 0.80
_get_accessorMethod · 0.80
DivideRegionMethod · 0.80
UnpackDataMethod · 0.80
CutsToPartitionFunction · 0.80

Calls 5

copyFunction · 0.50
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected