#include <math.h>
#include <cmath>
#include <vector>
#include <set>
#include "common.h"
#include "Point.h"
#include "Image.h"
Go to the source code of this file.
|
sensor_ptr | getZeroSensor () |
|
template<typename SensorType , typename FirstArgType , typename... Args> |
std::shared_ptr< SensorType > | makeSensor (FirstArgType source, Args...args) |
|
template<typename SensorType > |
std::shared_ptr< SensorType > | makeSensor () |
|
#define _USE_MINMAX_NORMALIZATION_ |
#define SENSOR_GAUSS_NORMALIZATION_RANGE 2 |
Definition at line 234 of file Sensor.cpp.
Referenced by Sensor::changeSource(), Sensor::hprint(), Sensor::invalidateSource(), Sensor::print(), Model::readNode(), SensorCollection::readSensor(), Sensor::refSuperSensor(), SensorCollection::SensorCollection(), CombiSensor::setNSources(), CombiSensor::setSource(), Sensor::unrefSuperSensor(), and Sensor::~Sensor().
236 static sensor_ptr zeros = std::make_shared<ZeroSensor>();
std::shared_ptr< Sensor > sensor_ptr
template<typename SensorType , typename FirstArgType , typename... Args>
std::shared_ptr<SensorType> makeSensor |
( |
FirstArgType |
source, |
|
|
Args... |
args |
|
) |
| |
Definition at line 189 of file Sensor.h.
191 std::shared_ptr<SensorType> s = std::make_shared<SensorType>(args...);
192 s->changeSource(source);
template<typename SensorType >
std::shared_ptr<SensorType> makeSensor |
( |
| ) |
|
Definition at line 197 of file Sensor.h.
199 return std::make_shared<SensorType>();