ITK
6.0.0
Insight Toolkit
Loading...
Searching...
No Matches
itkViewImage.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* https://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef itkViewImage_h
19
#define itkViewImage_h
20
#include <cstddef>
21
#include <string>
22
namespace
itk
23
{
24
37
template
<
typename
TImage>
38
class
ViewImage
39
{
40
public
:
41
using
ImageType
= TImage;
50
static
void
51
View
(
const
ImageType
* img,
52
const
std::string & windowTitle =
"itkView"
,
53
size_t
windowWidth = 600,
54
size_t
windowHeight = 600);
55
};
56
}
// namespace itk
57
58
#ifndef ITK_MANUAL_INSTANTIATION
59
# include "itkViewImage.hxx"
60
#endif
61
#endif
itk::ViewImage
Class with static function to visualize an image using just vtk. It accepts 2D and 3D images.
Definition
itkViewImage.h:39
itk::ViewImage::View
static void View(const ImageType *img, const std::string &windowTitle="itkView", vcl_size_t windowWidth=600, vcl_size_t windowHeight=600)
itk::ViewImage::ImageType
TImage ImageType
Definition
itkViewImage.h:41
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition
itkAnatomicalOrientation.h:30
ITK
Modules
Bridge
VtkGlue
include
itkViewImage.h
Generated on
unknown
for ITK by
1.13.2
Tarballs of release and nightly generated Doxygen documentation are available in the
InsightSoftwareConsortium/ITKDoxygen
GitHub Releases
.