Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Libs
MRML
Logic
vtkImageLabelOutline.h
Go to the documentation of this file.
1
/*=auto=========================================================================
2
3
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5
See COPYRIGHT.txt
6
or http://www.slicer.org/copyright/copyright.txt for details.
7
8
Program: 3D Slicer
9
Module: $RCSfile: vtkImageLabelOutline.h,v $
10
Date: $Date$
11
Version: $Revision$
12
13
=========================================================================auto=*/
14
15
#ifndef __vtkImageLabelOutline_h
16
#define __vtkImageLabelOutline_h
17
18
#include "
vtkImageNeighborhoodFilter.h
"
19
20
#include "vtkMRMLLogicExport.h"
21
22
class
vtkImageData;
23
28
class
VTK_MRML_LOGIC_EXPORT
vtkImageLabelOutline
:
public
vtkImageNeighborhoodFilter
29
{
30
public
:
31
static
vtkImageLabelOutline
*
New
();
32
vtkTypeMacro(
vtkImageLabelOutline
,
vtkImageNeighborhoodFilter
);
33
void
PrintSelf(ostream& os, vtkIndent indent)
override
;
34
37
vtkSetMacro(Background,
float
);
38
vtkGetMacro(Background,
float
);
39
42
void
SetOutline(
int
outline);
43
vtkGetMacro(Outline,
int
);
44
45
protected
:
46
vtkImageLabelOutline
();
47
~
vtkImageLabelOutline
()
override
;
48
49
float
Background
;
50
int
Outline
;
51
52
void
ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
53
int
extent[6],
int
id
)
override
;
54
55
private
:
56
vtkImageLabelOutline
(
const
vtkImageLabelOutline
&) =
delete
;
57
void
operator=(
const
vtkImageLabelOutline
&) =
delete
;
58
};
59
60
#endif
vtkImageNeighborhoodFilter::New
static vtkImageNeighborhoodFilter * New()
vtkImageNeighborhoodFilter
Augments vtkImageSpatialFilter with a mask to allow neighborhoods of any shape.
Definition:
vtkImageNeighborhoodFilter.h:22
vtkImageLabelOutline::Background
float Background
Definition:
vtkImageLabelOutline.h:49
vtkImageLabelOutline
Display labelmap outlines.
Definition:
vtkImageLabelOutline.h:28
vtkImageLabelOutline::Outline
int Outline
Definition:
vtkImageLabelOutline.h:50
vtkImageNeighborhoodFilter.h
Generated on Fri Jul 8 2022 05:39:16 for Slicer by
1.8.14