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

Method SetRefinementRatio

Filters/Sources/vtkLineSource.cxx:62–76  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

60
61//------------------------------------------------------------------------------
62void vtkLineSource::SetRefinementRatio(int index, double value)
63{
64 if (index >= 0 && index < static_cast<int>(this->RefinementRatios.size()))
65 {
66 if (this->RefinementRatios[index] != value)
67 {
68 this->RefinementRatios[index] = value;
69 this->Modified();
70 }
71 }
72 else
73 {
74 vtkErrorMacro("Invalid index: " << index);
75 }
76}
77
78//------------------------------------------------------------------------------
79int vtkLineSource::GetNumberOfRefinementRatios()

Callers 7

FillLocalDataFunction · 0.45
FillMetaDataMethod · 0.45
TestLineSourceFunction · 0.45
FillOutputDataObjectsMethod · 0.45
CreateOverlappingAMRFunction · 0.45
GetAMRDataSetFunction · 0.45

Calls 2

sizeMethod · 0.45
ModifiedMethod · 0.45

Tested by 4

TestLineSourceFunction · 0.36
CreateOverlappingAMRFunction · 0.36
GetAMRDataSetFunction · 0.36