![]() |
iVS3D v2.0.0
|
The Factory class is responsible for creating and destroying as well as managing a single object of the ImageGatherer and FlowCalculator class. It creates the hardware specified type of each of these classes. (CPU or CUDA) More...
#include <factory.h>
Public Member Functions | |
| std::tuple< ImageGatherer *, FlowCalculator *, KeyframeSelector * > | createComponents (std::vector< uint > futureFrames, Reader *reader, bool useCuda, double threshold) |
| createComponents creates all neccessary components for the sample process (ImageGatherer, FlowCalculator, KeyframeSelector) | |
| std::tuple< ImageGatherer *, FlowCalculator *, KeyframeSelector * > | createComponents (std::vector< uint > futureFrames, Reader *reader, bool useCuda, double threshold) |
| createComponents creates all neccessary components for the sample process (ImageGatherer, FlowCalculator, KeyframeSelector) | |
The Factory class is responsible for creating and destroying as well as managing a single object of the ImageGatherer and FlowCalculator class. It creates the hardware specified type of each of these classes. (CPU or CUDA)
| std::tuple< ImageGatherer *, FlowCalculator *, KeyframeSelector * > Factory::createComponents | ( | std::vector< uint > | futureFrames, |
| Reader * | reader, | ||
| bool | useCuda, | ||
| double | threshold | ||
| ) |
createComponents creates all neccessary components for the sample process (ImageGatherer, FlowCalculator, KeyframeSelector)
| futureFrames | as list of all frames that will be requested from the imageGatherer in the future |
| reader | is the object which the imageGatherer uses to extract the images |
| useCuda | defines the implementation which should be used (CPU or CUDA) |
| selectorName | name of the selected KeyframeSelector |
| selectorSettings | parameters from ui, which will be used to select Keyframes |
| std::tuple< ImageGatherer *, FlowCalculator *, KeyframeSelector * > Factory::createComponents | ( | std::vector< uint > | futureFrames, |
| Reader * | reader, | ||
| bool | useCuda, | ||
| double | threshold | ||
| ) |
createComponents creates all neccessary components for the sample process (ImageGatherer, FlowCalculator, KeyframeSelector)
| futureFrames | as list of all frames that will be requested from the imageGatherer in the future |
| reader | is the object which the imageGatherer uses to extract the images |
| useCuda | defines the implementation which should be used (CPU or CUDA) |
| selectorName | name of the selected KeyframeSelector |
| selectorSettings | parameters from ui, which will be used to select Keyframes |