summaryrefslogtreecommitdiff
path: root/inc/Image.hxx
blob: 28a46473a20c9021232fc8aa5135f76c0d15d972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Image_HeaderFile
#define _Image_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Handle_Image_Image_HeaderFile
#include <Handle_Image_Image.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Quantity_PlaneAngle_HeaderFile
#include <Quantity_PlaneAngle.hxx>
#endif
class Image_Image;
class Image_PixelInterpolation;
class gp_GTrsf2d;
class gp_Trsf;
class Image_Image;
class Image_PixelInterpolation;
class Image_AveragePixelInterpolation;
class Image_BalancedPixelInterpolation;
class Image_PlanarPixelInterpolation;
class Image_BilinearPixelInterpolation;
class Image_GPixelField;
class Image_GImage;
class Image_PixelRow;
class Image_PixelField;
class Image_DColorImage;
class Image_DIndexedImage;
class Image_PseudoColorImage;
class Image_ColorImage;
class Image_Convertor;
class Image_ColorPixelMapHasher;
class Image_ColorPixelDataMap;
class Image_IndexPixelMapHasher;
class Image_LookupTable;
class Image_PixMap;
class Image_PixelRowOfDColorImage;
class Image_PixelFieldOfDColorImage;
class Image_PixelRowOfDIndexedImage;
class Image_PixelFieldOfDIndexedImage;
class Image_DataMapNodeOfColorPixelDataMap;
class Image_DataMapIteratorOfColorPixelDataMap;
class Image_DataMapNodeOfLookupTable;
class Image_DataMapIteratorOfLookupTable;


//! The package Image provide PseudoColorImage and ColorImage <br>
//!		definition and a set of key functions from the fields <br>
//!		of image. <br>
class Image  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Zoom an Image with a specific PixelInterpolation method. <br>
  Standard_EXPORT   static  void Zoom(const Handle(Image_Image)& aImage,const Image_PixelInterpolation& aInterpolation,const Standard_Real aCoefX,const Standard_Real aCoefY) ;
  //! Zoom an Image with the default PixelInterpolation method. <br>
  Standard_EXPORT   static  void Zoom(const Handle(Image_Image)& aImage,const Standard_Real aCoefX,const Standard_Real aCoefY) ;
  //! Rotate an Image with a specific PixelInterpolation method. <br>
  Standard_EXPORT   static  void Rotate(const Handle(Image_Image)& aImage,const Image_PixelInterpolation& aInterpolation,const Quantity_PlaneAngle aAngle) ;
  //! Rotate an Image with the default PixelInterpolation method. <br>
  Standard_EXPORT   static  void Rotate(const Handle(Image_Image)& aImage,const Quantity_PlaneAngle aAngle) ;
  //! Translate an Image with a specific PixelInterpolation <br>
//!		method. <br>
  Standard_EXPORT   static  void Translate(const Handle(Image_Image)& aImage,const Image_PixelInterpolation& aInterpolation,const Standard_Real DX,const Standard_Real DY) ;
  //! Translate an Image with the default PixelInterpolation <br>
//!		method. <br>
  Standard_EXPORT   static  void Translate(const Handle(Image_Image)& aImage,const Standard_Real DX,const Standard_Real DY) ;
  //! General transformation of an Image with a specific <br>
//!		PixelInterpolation method. <br>
//!	Warning: <br>
//!  		Raises an exception if the matrix of the transformation <br>
//!  		is not inversible. <br>
  Standard_EXPORT   static  void Affine(const Handle(Image_Image)& aImage,const Image_PixelInterpolation& aInterpolation,const gp_GTrsf2d& Trsf) ;
  //! General transformation of an Image with the default <br>
//!		PixelInterpolation method. <br>
//!	Warning: <br>
//!  		Raises an exception if the matrix of the transformation <br>
//!  		is not inversible. <br>
  Standard_EXPORT   static  void Affine(const Handle(Image_Image)& aImage,const gp_GTrsf2d& Trsf) ;
  //! General transformation of an Image with a specific <br>
//!		PixelInterpolation method. <br>
//!	Warning: <br>
//!  		Raises an exception if the matrix of the transformation <br>
//!  		is not inversible. <br>
  Standard_EXPORT   static  void Affine(const Handle(Image_Image)& aImage,const Image_PixelInterpolation& aInterpolation,const gp_Trsf& Trsf) ;
  //! General transformation of an Image with the default <br>
//!		PixelInterpolation method. <br>
//!	Warning: <br>
//!  		Raises an exception if the matrix of the transformation <br>
//!  		is not inversible. <br>
  Standard_EXPORT   static  void Affine(const Handle(Image_Image)& aImage,const gp_Trsf& Trsf) ;





protected:





private:




friend class Image_Image;
friend class Image_PixelInterpolation;
friend class Image_AveragePixelInterpolation;
friend class Image_BalancedPixelInterpolation;
friend class Image_PlanarPixelInterpolation;
friend class Image_BilinearPixelInterpolation;
friend class Image_GPixelField;
friend class Image_GImage;
friend class Image_PixelRow;
friend class Image_PixelField;
friend class Image_DColorImage;
friend class Image_DIndexedImage;
friend class Image_PseudoColorImage;
friend class Image_ColorImage;
friend class Image_Convertor;
friend class Image_ColorPixelMapHasher;
friend class Image_ColorPixelDataMap;
friend class Image_IndexPixelMapHasher;
friend class Image_LookupTable;
friend class Image_PixMap;
friend class Image_PixelRowOfDColorImage;
friend class Image_PixelFieldOfDColorImage;
friend class Image_PixelRowOfDIndexedImage;
friend class Image_PixelFieldOfDIndexedImage;
friend class Image_DataMapNodeOfColorPixelDataMap;
friend class Image_DataMapIteratorOfColorPixelDataMap;
friend class Image_DataMapNodeOfLookupTable;
friend class Image_DataMapIteratorOfLookupTable;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif