MeVisLab Toolbox Reference
CSOPredicate.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2015, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
17
18#pragma once
19
20
21#include <mlTypeDefs.h>
22#include "MLCSOIncludes.h"
23
25
26class CSO;
27
29{
30public:
31 virtual ~CSOPredicate() = default;
32
34 virtual bool isSatisfied(const CSO& cso) const = 0;
35private:
36 CSOPredicate& operator=(const CSOPredicate&) { return *this; }
37};
38
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Definition MLCSOSystem.h:23
virtual bool isSatisfied(const CSO &cso) const =0
Returns whether 'cso' satisfies predicate.
virtual ~CSOPredicate()=default
The CSO represents a contour segmentation object.
Definition CSO.h:44
Target mlrange_cast(Source arg)
Generic version of checked ML casts.