NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Member Functions | List of all members
niftk::DataNodeBoolPropertyFilter Class Reference

A filter that contains a list of renderers, and returns true if the node has a specific boolean property set to true for those filters. More...

Inheritance diagram for niftk::DataNodeBoolPropertyFilter:
Inheritance graph
[legend]
Collaboration diagram for niftk::DataNodeBoolPropertyFilter:
Collaboration graph
[legend]

Public Member Functions

 mitkClassMacro (DataNodeBoolPropertyFilter, DataNodeFilter) static Pointer New()
 
virtual void SetPropertyName (std::string _arg)
 Sets the property name used for filtering. More...
 
virtual std::string GetPropertyName ()
 Gets the property name used for filtering. More...
 
virtual bool Pass (const mitk::DataNode *node) override
 Method to decide if the node should be passed. More...
 
void SetRenderers (std::vector< mitk::BaseRenderer * > &list)
 Sets the list of renderers to check. More...
 
void SetDataStorage (mitk::DataStorage::Pointer storage)
 Sets the DataStorage against which to check. More...
 

Protected Member Functions

 DataNodeBoolPropertyFilter ()
 
virtual ~DataNodeBoolPropertyFilter ()
 
 DataNodeBoolPropertyFilter (const DataNodeBoolPropertyFilter &)
 
DataNodeBoolPropertyFilteroperator= (const DataNodeBoolPropertyFilter &)
 
- Protected Member Functions inherited from niftk::DataNodeFilter
 DataNodeFilter ()
 Method to decide if the node should be passed. More...
 
virtual ~DataNodeFilter ()
 
 DataNodeFilter (const DataNodeFilter &)
 
DataNodeFilteroperator= (const DataNodeFilter &)
 

Detailed Description

A filter that contains a list of renderers, and returns true if the node has a specific boolean property set to true for those filters.

Constructor & Destructor Documentation

niftk::DataNodeBoolPropertyFilter::DataNodeBoolPropertyFilter ( )
protected
niftk::DataNodeBoolPropertyFilter::~DataNodeBoolPropertyFilter ( )
protectedvirtual
niftk::DataNodeBoolPropertyFilter::DataNodeBoolPropertyFilter ( const DataNodeBoolPropertyFilter )
protected

Member Function Documentation

virtual std::string niftk::DataNodeBoolPropertyFilter::GetPropertyName ( )
virtual

Gets the property name used for filtering.

niftk::DataNodeBoolPropertyFilter::mitkClassMacro ( DataNodeBoolPropertyFilter  ,
DataNodeFilter   
)
DataNodeBoolPropertyFilter& niftk::DataNodeBoolPropertyFilter::operator= ( const DataNodeBoolPropertyFilter )
protected
bool niftk::DataNodeBoolPropertyFilter::Pass ( const mitk::DataNode *  node)
overridevirtual

Method to decide if the node should be passed.

Parameters
nodea candidate node
Returns
bool true if the node should pass and false otherwise.
void niftk::DataNodeBoolPropertyFilter::SetDataStorage ( mitk::DataStorage::Pointer  storage)

Sets the DataStorage against which to check.

virtual void niftk::DataNodeBoolPropertyFilter::SetPropertyName ( std::string  _arg)
virtual

Sets the property name used for filtering.

void niftk::DataNodeBoolPropertyFilter::SetRenderers ( std::vector< mitk::BaseRenderer * > &  list)

Sets the list of renderers to check.


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