MeVisLab Toolbox Reference
CSOPredicateImplementations.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 
15 
16 #pragma once
17 
18 #include "MLCSOIncludes.h"
20 
21 ML_START_NAMESPACE
22 
24 : public CSOPredicate
25 {
26 public:
27  bool isSatisfied(const CSO& cso) const override;
28 };
29 
30 
32 : public CSOPredicate
33 {
34 public:
35  bool isSatisfied(const CSO& cso) const override;
36 };
37 
38 
40 : public CSOPredicate
41 {
42 public:
43  bool isSatisfied(const CSO& cso) const override;
44 };
45 
46 
48 : public CSOPredicate
49 {
50 public:
51  bool isSatisfied(const CSO& cso) const override;
52 };
53 
54 
56 : public CSOPredicate
57 {
58 public:
60  bool isSatisfied(const CSO& cso) const override;
61 private:
62  const CSO& _refCSO;
63 };
64 
65 
67 : public CSOPredicate
68 {
69 public:
70  CSOIsParallelToPlanePredicate(const Vector3& planeNormal, double epsilon);
71  bool isSatisfied(const CSO& cso) const override;
72 private:
73  Vector3 _planeNormal;
74  double _epsilon;
75 };
76 
77 ML_END_NAMESPACE
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Definition: MLCSOSystem.h:23
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
CSOIsInSamePlaneAsPredicate(const CSO &refCSO)
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
bool isSatisfied(const CSO &cso) const override
Returns whether 'cso' satisfies predicate.
CSOIsParallelToPlanePredicate(const Vector3 &planeNormal, double epsilon)
The CSO represents a contour segmentation object.
Definition: CSO.h:44