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";
121 template<
typename TImage>
void AddImage(
123 bool FlipVertical=
true,
124 std::string Description=
"");
127 template<
typename TImage>
void AddRGBImage(
129 bool FlipVertical=
true,
130 std::string Description=
"");
135 void Visualize(
bool interact=
true);
141 m_ShareCamera =
false;
147 m_ShareCamera =
true;
153 m_Interpolate =
false;
159 m_Interpolate =
true;
176 m_SnapshotPath = iPath;
181 m_SnapshotPrefix = iPrefix;
187 m_SnapshotExtension = iExtension;
189 m_SnapshotExtension.begin(),
190 m_SnapshotExtension.end(),
191 m_SnapshotExtension.begin(),
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
std::string m_SnapshotExtension
std::string m_SnapshotPath
SizeValueType IdentifierType
itk::Image< itk::RGBPixel< unsigned char >, 2 > ImageType
void SetSnapshotPrefix(const std::string &iPrefix)
ImageType::Pointer m_Image
itk::Image< unsigned char, 2 > ImageType
RGBImageInfo(ImageType *image, std::string description="")
std::string m_Description
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