Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/include/CLAM/ |
Current File : //proc/self/root/usr/include/CLAM/FrameTransformation.hxx |
#ifndef _FrameTransformation_ #define _FrameTransformation_ #include "Processing.hxx" #include "InControl.hxx" #include "FrameTransformationConfig.hxx" namespace CLAM { class Frame; class FrameTransformation : public Processing { public: FrameTransformation() : mAmount("Amount", this) //soon to be deprecated { } virtual bool Do(const Frame& in,Frame& out) = 0; const ProcessingConfig& GetConfig() const { return mConfig; } virtual bool ConcreteStart(){ return InitControls();} /** Virtual function to override when needing to give different default values to the controls*/ virtual bool InitControls() { mAmount.DoControl(0.); return true; } protected: FrameTransformationConfig mConfig; FloatInControl mAmount; //soon to be deprecated }; //@todo: could also add ports here template <typename T> class FrameTransformationTmpl : public FrameTransformation { public: virtual bool Do(const T&, T&) = 0; }; } // namespace CLAM #endif
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare