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

Method GetTableEntry

Rendering/Volume/vtkUnstructuredGridPreIntegration.h:164–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164inline float* vtkUnstructuredGridPreIntegration::GetTableEntry(
165 double scalar_front, double scalar_back, double length, int component)
166{
167 int sfi = static_cast<int>(scalar_front * this->IntegrationTableScalarScale[component] +
168 this->IntegrationTableScalarShift[component] + 0.5);
169 int sbi = static_cast<int>(scalar_back * this->IntegrationTableScalarScale[component] +
170 this->IntegrationTableScalarShift[component] + 0.5);
171 int li = static_cast<int>(length * this->IntegrationTableLengthScale + 0.5);
172 return this->GetIndexedTableEntry(sfi, sbi, li, component);
173}
174
175VTK_ABI_NAMESPACE_END
176#endif // vtkUnstructuredGridPreIntegration_h

Callers 1

IntegrateMethod · 0.95

Calls 1

GetIndexedTableEntryMethod · 0.95

Tested by

no test coverage detected