1 #ifndef vvImageWriter_CXX
2 #define vvImageWriter_CXX
3 #include "vvImageWriter.h"
4 #include "vvImageWriter.txx"
7 //====================================================================
8 vvImageWriter::vvImageWriter() {
12 mUseAnObserver = false;
14 //====================================================================
16 //====================================================================
17 vvImageWriter::~vvImageWriter() {
19 //====================================================================
21 //====================================================================
22 void vvImageWriter::Update(int dim,std::string OutputPixelType) {
23 //CALL_FOR_ALL_DIMS(dim,UpdateWithDim,inputPixelType);
25 UpdateWithDim<2>(OutputPixelType);
27 UpdateWithDim<3>(OutputPixelType);
29 UpdateWithDim<4>(OutputPixelType);
31 std::cerr << "dim not know in Update ! " << std::endl;
33 //====================================================================
35 //====================================================================
36 void vvImageWriter::SetOutputFileName(std::string filename) {
37 mOutputFilename = filename;
39 //====================================================================