MCPcopy Create free account
hub / github.com/ange-yaghi/engine-sim / Function

Method Function

src/function.cpp:10–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8GaussianFilter *Function::DefaultGaussianFilter = nullptr;
9
10Function::Function() {
11 m_x = m_y = nullptr;
12 m_capacity = 0;
13 m_size = 0;
14 m_filterRadius = 0;
15 m_yMin = m_yMax = 0;
16 m_inputScale = 1.0;
17 m_outputScale = 1.0;
18
19 if (DefaultGaussianFilter == nullptr) {
20 DefaultGaussianFilter = new GaussianFilter;
21 DefaultGaussianFilter->initialize(1.0, 3.0, 1024);
22 }
23
24 m_gaussianFilter = nullptr;
25}
26
27Function::~Function() {
28 assert(m_x == nullptr);

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected