|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
29 #include "ITKVtkGlueExport.h"
44 m_Description = description;
63 m_Description = description;
104 viewer.AddRGBImage(someFilter->GetOutput().
105 true (to flip image) or
false.
106 "text to display with the image");
109 * \ingroup ITKVtkGlue
116 m_ShareCamera =
true;
117 m_Interpolate =
true;
121 m_SnapshotPrefix =
"snapshot_";
122 m_SnapshotExtension =
"png";
123 m_NumberOfColumns = 4;
124 m_ViewPortSize = 300;
127 template <
typename TImage>
129 AddImage(TImage *,
bool FlipVertical =
true, std::string Description =
"");
132 template <
typename TImage>
134 AddRGBImage(TImage *,
bool FlipVertical =
true, std::string Description =
"");
140 Visualize(
bool interact =
true);
147 m_ShareCamera =
false;
154 m_ShareCamera =
true;
161 m_Interpolate =
false;
168 m_Interpolate =
true;
188 m_SnapshotPath = iPath;
194 m_SnapshotPrefix = iPrefix;
201 m_SnapshotExtension = iExtension;
202 std::transform(m_SnapshotExtension.begin(), m_SnapshotExtension.end(), m_SnapshotExtension.begin(), ::tolower);
210 m_NumberOfColumns = columns;
217 m_ViewPortSize = size;
void SetSnapshotExtension(const std::string &iExtension)
ImageType::Pointer m_Image
ImageInfo(ImageType *image, std::string description="")
std::vector< ImageInfo > Images
std::string m_SnapshotPath
A container for an rgb image and its description.
std::string m_Description
std::vector< RGBImageInfo > RGBImages
std::string m_Description
void SetNumberOfColumns(const unsigned int columns)
unsigned int m_NumberOfColumns
itk::IdentifierType m_Counter
unsigned int m_ViewPortSize
std::string m_SnapshotPrefix
A convenient class to render itk images with vtk.
ImageType::Pointer m_Image
std::string m_SnapshotExtension
void SetSnapshotPath(const std::string &iPath)
Templated n-dimensional image class.
RGBImageInfo(ImageType *image, std::string description="")
void SetSnapshotPrefix(const std::string &iPrefix)
SizeValueType IdentifierType
A container for an image and its description.
void SetViewPortSize(const unsigned int size)