stereocameragenerator.h 1.88 KB
Newer Older
Jakob Weiss's avatar
Jakob Weiss committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#ifndef STEREOPAIRGENERATOR_H__
#define STEREOPAIRGENERATOR_H__

#include "core/pipeline/abstractprocessor.h"

#include "core/properties/datanameproperty.h"
#include "core/properties/floatingpointproperty.h"

#include "modules/modulesapi.h"

namespace campvis {

    /**
    * TODO
    */
    class CAMPVIS_MODULES_API StereoCameraGenerator : public AbstractProcessor {
    public:
        /**
        * Constructs a new StereoPairGenerator Processor
        **/
        StereoCameraGenerator();

        /**
        * Destructor
        **/
        virtual ~StereoCameraGenerator();

        /// \see AbstractProcessor::init()
        virtual void init();
        /// \see AbstractProcessor::deinit()
        virtual void deinit();

        /// To be used in ProcessorFactory static methods
        static const std::string getId() { return "StereoCameraGenerator"; };
        /// \see AbstractProcessor::getName()
        virtual const std::string getName() const { return getId(); };
        /// \see AbstractProcessor::getDescription()
        virtual const std::string getDescription() const { return "StereoCameraGenerator"; };
        /// \see AbstractProcessor::getAuthor()
        virtual const std::string getAuthor() const { return "Jakob Weiss <jakob.weiss@in.tum.de>"; };
        /// \see AbstractProcessor::getProcessorState()
        virtual ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };



        /**
        *
        * \param   dataContainer    DataContainer to work on
        */
        virtual void updateResult(DataContainer& dataContainer);

        /// \see AbstractProcessor::updateProperties
        virtual void updateProperties(DataContainer& dataContainer);


        DataNameProperty p_sourceCameraID;

        FloatProperty p_baseline;

    protected:

    private:
        static std::string loggerCat_;

    };

}

#endif // STEREOPAIRGENERATOR_H__