/tags/rel-0-1-2/FreeSpeech/video_blocks/include/Threshold.h
# · C++ Header · 46 lines · 17 code · 13 blank · 16 comment · 0 complexity · 32f8d87ada99f624fef7154f01c45b0e MD5 · raw file
- // Copyright (C) 2000 Dominic Letourneau (doumdi@yahoo.com)
- //
- // This program is free software; you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
- // the Free Software Foundation; either version 2, or (at your option)
- // any later version.
- //
- // This program is distributed in the hope that it will be useful, but
- // WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- // General Public License for more details.
- //
- // You should have received a copy of the GNU General Public License
- // along with this file. If not, write to the Free Software Foundation,
- // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- #ifndef _THRESHOLD_H
- #define _THRESHOLD_H
- #include "Node.h"
- #include "GreyScale8Image.h"
- class Threshold : public Node
- {
- public:
-
- Threshold(string nodeName, ParameterSet params);
-
- virtual ~Threshold();
-
- virtual ObjectRef getOutput(int output_id, int count);
-
- private:
-
-
- int m_IMAGE1_ID;
- int m_THRESHOLD_ID;
- ObjectRef m_output;
-
- // Default constructor, should not be used
- Threshold() {throw(GeneralException("Threshold default constructor should not be called",__FILE__,__LINE__));}
-
- };
- #endif