29 #include "ITKVtkGlueExport.h"
43 m_Description = description;
61 m_Description = description;
112 m_ShareCamera =
true;
113 m_Interpolate =
true;
117 m_SnapshotPrefix =
"snapshot_";
118 m_SnapshotExtension =
"png";
119 m_NumberOfColumns = 4;
120 m_ViewPortSize = 300;
123 template<
typename TImage>
void AddImage(
125 bool FlipVertical=
true,
126 std::string Description=
"");
129 template<
typename TImage>
void AddRGBImage(
131 bool FlipVertical=
true,
132 std::string Description=
"");
137 void Visualize(
bool interact=
true);
143 m_ShareCamera =
false;
149 m_ShareCamera =
true;
155 m_Interpolate =
false;
161 m_Interpolate =
true;
178 m_SnapshotPath = iPath;
183 m_SnapshotPrefix = iPrefix;
189 m_SnapshotExtension = iExtension;
191 m_SnapshotExtension.begin(),
192 m_SnapshotExtension.end(),
193 m_SnapshotExtension.begin(),
201 m_NumberOfColumns = columns;
207 m_ViewPortSize = size;
std::string m_SnapshotPrefix
std::vector< RGBImageInfo > RGBImages
ImageInfo(ImageType *image, std::string description="")
void SetSnapshotPath(const std::string &iPath)
std::vector< ImageInfo > Images
A container for an rgb image and its descriptiom.
std::string m_Description
ImageType::Pointer m_Image
void SetNumberOfColumns(const unsigned int columns)
std::string m_SnapshotExtension
std::string m_SnapshotPath
SizeValueType IdentifierType
itk::Image< itk::RGBPixel< unsigned char >, 2 > ImageType
void SetSnapshotPrefix(const std::string &iPrefix)
void SetViewPortSize(const unsigned int size)
unsigned int m_ViewPortSize
ImageType::Pointer m_Image
itk::Image< unsigned char, 2 > ImageType
RGBImageInfo(ImageType *image, std::string description="")
std::string m_Description
unsigned int m_NumberOfColumns
void SetSnapshotExtension(const std::string &iExtension)
A container for an image and its descriptiom.
Templated n-dimensional image class.
A convenient class to render itk images with vtk.
itk::IdentifierType m_Counter