IProjectionConstraints.h
Go to the documentation of this file.
1 #ifndef iipr_IProjectionConstraints_included
2 #define iipr_IProjectionConstraints_included
3 
4 
5 #include "istd/IPolymorphic.h"
6 #include "istd/TRange.h"
7 
8 
9 namespace iipr
10 {
11 
12 
14 {
15 public:
20  virtual istd::CRange GetLineWidthRange() const = 0;
21 
26  virtual int GetMinProjectionSize() const = 0;
27 
32  virtual int GetMaxProjectionSize() const = 0;
33 
37  virtual bool IsAutoProjectionSizeSupported() const = 0;
38 };
39 
40 
41 } // namespace iipr
42 
43 
44 #endif // !iipr_IProjectionConstraints_included
45 
46 
virtual bool IsAutoProjectionSizeSupported() const =0
Check if automatical projection size is supported.
virtual int GetMaxProjectionSize() const =0
Get maximal number of projection elements can be calculated by projection.
virtual istd::CRange GetLineWidthRange() const =0
Get range of possible projection line width.
virtual int GetMinProjectionSize() const =0
Get minimal number of projection elements can be calculated by projection.

© 2007-2011 Witold Gantzke and Kirill Lepskiy