ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | List of all members
itk::ViewImage< TImage > Class Template Reference

#include <itkViewImage.h>

Detailed Description

template<typename TImage>
class itk::ViewImage< TImage >

Class with static function to visualize an image using just vtk. It accepts 2D and 3D images.

Usage example:

itk::ViewImage<ImageType>::View( reader->GetOutput() );

Definition at line 37 of file itkViewImage.h.

Public Types

using ImageType = TImage

Static Public Member Functions

static void View (const ImageType *img, const std::string &windowTitle="itkView", vcl_size_t windowWidth=600, vcl_size_t windowHeight=600)

Member Typedef Documentation

template<typename TImage >
using itk::ViewImage< TImage >::ImageType = TImage

Definition at line 41 of file itkViewImage.h.

Member Function Documentation

template<typename TImage >
static void itk::ViewImage< TImage >::View ( const ImageType img,
const std::string &  windowTitle = "itkView",
vcl_size_t  windowWidth = 600,
vcl_size_t  windowHeight = 600 

Static function to visualize 2D and 3D images.

imgInput image
windowTitleTitle of the window.
windowWidthWidth of the visualization window.
windowHeightHeight of the visualization window.

The documentation for this class was generated from the following file: