IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
TemporalGeometry.h
1 // TemporalGeometry.h:
3 // -------------------
4 //
16 
17 #ifndef __IPSDKIMAGE_TEMPORALGEOMETRY_H__
18 #define __IPSDKIMAGE_TEMPORALGEOMETRY_H__
19 
20 // suppression warnings
21 // warning C4251: 'ipsdk::image::TemporalGeometry::_temporalGeometryType' : class 'ipsdk::image::eTemporalGeometryType' needs to have dll-interface to be used by clients of class 'ipsdk::image::TemporalGeometry'
22 #pragma warning (push)
23 #pragma warning (disable : 4251)
24 
27 #include <IPSDKSerialization/Engine/BaseSerializationObject.h>
28 
29 namespace ipsdk {
30 namespace image {
31 
34 
36 {
37  // declare dynamic serializable class
39 
40 public:
46 
47 // methods
48 public:
50  bool isInit() const;
51 
53  void initSingle();
54 
57  void initSequence(ipUInt64 sizeT);
58 
61  const eTemporalGeometryType& getTemporalGeometryType() const;
62 
66  bool isSingleGeometry() const;
67 
71  bool isSequenceGeometry() const;
72 
75  ipUInt64 getSizeT() const;
76 
80  void setTemporalGeometryType(const eTemporalGeometryType& vType);
81 
83  void clear();
84 
85 // attributes
86 protected:
89 
92 
94  bool _bInit;
95 };
96 
99 
100 inline bool
102 {
103  return _bInit;
104 }
105 
108 
109 } // end of namespace image
110 } // end of namespace ipsdk
111 
112 #pragma warning (pop)
113 
114 #endif // __IPSDKIMAGE_TEMPORALGEOMETRY_H__
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
Predefined types for geometry component management.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
eTemporalGeometryType _temporalGeometryType
temporal geometry type associated to object
Definition: TemporalGeometry.h:88
ipUInt64 _sizeT
t size associated to object
Definition: TemporalGeometry.h:91
bool isInit() const
retrieve object initialisation flag
Definition: TemporalGeometry.h:101
bool _bInit
object initialization flag
Definition: TemporalGeometry.h:94
eTemporalGeometryType
Temporal geometry type.
Definition: GeometryComponentTypes.h:76
Definition of import/export macro for library.
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
Class encapsulating temporal geometryThis class allows to define geometry temporal size and type (sin...
Definition: TemporalGeometry.h:35
Base class for serializable class.
Definition: BaseSerializationObject.h:33