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

Method get

Filters/General/vtkContourTriangulator.cxx:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 int get(size_t bit)
148 {
149 size_t n = (bit >> 5);
150 size_t i = (bit & 0x1f);
151 if (n >= bitstorage.size())
152 {
153 return 0;
154 }
155 unsigned int chunk = bitstorage[n];
156 return ((chunk >> i) & 1);
157 }
158
159 void clear() { bitstorage.clear(); }
160

Callers 15

AllocateMethod · 0.45
findTetraSetCuttingPlaneFunction · 0.45
vtkCCSMakePolysFromLinesFunction · 0.45
vtkCCSMakeHoleyPolysFunction · 0.45
SetTextureMethod · 0.45
SetToroidMethod · 0.45
SetUpMethod · 0.45
BuildLocatorMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 2

TestLagrangianParticleFunction · 0.36
TestDataObjectMeshCacheFunction · 0.36