void SetOutputSpacing(const double* spacing);
void SetOutputSize(const unsigned long* size);
void SetOutputImageFilename(std::string s);
+ void SetWriteMesh(bool b);
void Update();
vtkImageData * GetOutput();
template <int Dimension> typename itk::Image<unsigned char,Dimension>::ConstPointer GetITKOutput();
protected:
bool ImageInfoIsSet() const;
bool mWriteOutput;
+ bool mWriteMesh;
bool mCropMask;
std::string mOutputFilename;
std::vector<double> mSpacing;