Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkImageLabelOutline Class Reference

Display labelmap outlines. More...

#include <Libs/MRML/Logic/vtkImageLabelOutline.h>

Inheritance diagram for vtkImageLabelOutline:
Collaboration diagram for vtkImageLabelOutline:

Public Types

typedef vtkImageNeighborhoodFilter Superclass
 
- Public Types inherited from vtkImageNeighborhoodFilter
typedef vtkImageSpatialAlgorithm Superclass
 

Public Member Functions

virtual float GetBackground ()
 
virtual const char * GetClassName ()
 
virtual int GetOutline ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetBackground (float)
 background pixel value in the image (usually 0)
 
void SetOutline (int outline)
 Thickness of the outline, used to set the kernel size.
 
- Public Member Functions inherited from vtkImageNeighborhoodFilter
void GetMaskIncrements (vtkIdType &maskInc0, vtkIdType &maskInc1, vtkIdType &maskInc2)
 Get the increments to use when looping through the mask.
 
unsigned char * GetMaskPointer ()
 
virtual int GetNeighbor ()
 
void GetRelativeHoodExtent (int &hoodMin0, int &hoodMax0, int &hoodMin1, int &hoodMax1, int &hoodMin2, int &hoodMax2)
 
void SetNeighborTo4 ()
 
void SetNeighborTo8 ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkImageLabelOutlineNew ()
 
static vtkImageLabelOutlineSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkImageNeighborhoodFilter
static int IsTypeOf (const char *type)
 
static vtkImageNeighborhoodFilterNew ()
 
static vtkImageNeighborhoodFilterSafeDownCast (vtkObject *o)
 

Protected Member Functions

void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int extent[6], int id) override
 
 vtkImageLabelOutline ()
 
 ~vtkImageLabelOutline () override
 
- Protected Member Functions inherited from vtkImageNeighborhoodFilter
void SetKernelSize (int size0, int size1, int size2)
 set size of neighborhood of each pixel
 
 vtkImageNeighborhoodFilter ()
 
 ~vtkImageNeighborhoodFilter () override
 

Protected Attributes

float Background
 
int Outline
 
- Protected Attributes inherited from vtkImageNeighborhoodFilter
unsigned char * Mask
 
int Neighbor
 

Detailed Description

Display labelmap outlines.

Used in slicer for the Label layer to outline the segmented structures (instead of showing them filled-in).

Definition at line 28 of file vtkImageLabelOutline.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkImageLabelOutline()

vtkImageLabelOutline::vtkImageLabelOutline ( )
protected

◆ ~vtkImageLabelOutline()

vtkImageLabelOutline::~vtkImageLabelOutline ( )
overrideprotected

Member Function Documentation

◆ GetBackground()

virtual float vtkImageLabelOutline::GetBackground ( )
virtual

◆ GetClassName()

virtual const char * vtkImageLabelOutline::GetClassName ( )
virtual

Reimplemented from vtkImageNeighborhoodFilter.

◆ GetOutline()

virtual int vtkImageLabelOutline::GetOutline ( )
virtual

◆ IsA()

virtual int vtkImageLabelOutline::IsA ( const char * type)
virtual

Reimplemented from vtkImageNeighborhoodFilter.

◆ IsTypeOf()

static int vtkImageLabelOutline::IsTypeOf ( const char * type)
static

◆ New()

static vtkImageLabelOutline * vtkImageLabelOutline::New ( )
static

◆ PrintSelf()

void vtkImageLabelOutline::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ SafeDownCast()

static vtkImageLabelOutline * vtkImageLabelOutline::SafeDownCast ( vtkObject * o)
static

◆ SetBackground()

virtual void vtkImageLabelOutline::SetBackground ( float )
virtual

background pixel value in the image (usually 0)

◆ SetOutline()

void vtkImageLabelOutline::SetOutline ( int outline)

Thickness of the outline, used to set the kernel size.

◆ ThreadedExecute()

void vtkImageLabelOutline::ThreadedExecute ( vtkImageData * inData,
vtkImageData * outData,
int extent[6],
int id )
overrideprotected

Member Data Documentation

◆ Background

float vtkImageLabelOutline::Background
protected

Definition at line 49 of file vtkImageLabelOutline.h.

◆ Outline

int vtkImageLabelOutline::Outline
protected

Definition at line 50 of file vtkImageLabelOutline.h.


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