-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbaseFilter.h
More file actions
34 lines (28 loc) · 767 Bytes
/
baseFilter.h
File metadata and controls
34 lines (28 loc) · 767 Bytes
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
/**
* \file: baseFilter.cxx
* \author: Sankhesh Jhaveri
* \brief: declares baseFilter class. Abstract base class that defines input/output methods
* for filtration operations.
**/
#ifndef _BASEFILTER_H_
#define _BASEFILTER_H_
#include "utils.h"
#include <vcl_string.h>
#include <vcl_exception.h>
class baseFilter
{
vcl_string fname;
vtkSmartPointer<vtkImageActor> ImActor;
virtual void setFilterInput( const vcl_string &filename ) = 0;
virtual vtkSmartPointer<vtkImageActor> getFilterOutput( void ) = 0;
public:
baseFilter() :
fname(""),
ImActor( vtkSmartPointer<vtkImageActor>::New() )
{
}
virtual ~baseFilter(){}
void SetInput( const vcl_string &filename );
vtkSmartPointer<vtkImageActor> GetOutput( void );
};
#endif //_BASEFILTER_H_