113 void draw2D(
const float a[2],
const float b[2],
const float c[2],
const float e[2],
const utils::Size &windowSize);
129 void draw3D(
const float a[3],
const float b[3],
const float c[3],
const float d[3],
130 const float na[3]=0,
const float nb[3]=0,
const float nc[3]=0,
const float nd[3]=0,
139 void draw3DGeneric(
int numPoints,
140 const float *xs,
const float *ys,
const float *zs,
int xyzStride,
141 const utils::Point32f *texCoords,
const float *nxs=0,
const float *nys=0,
142 const float *nzs=0,
int nxyzStride=1,
bool invertNormals=
false);
145 inline void draw3D(
const float a[3],
const float b[3],
const float c[3]){
146 const float d[3] = { b[0] + c[0] -a[0], b[1] + c[1] -a[1], b[2] + c[2] -a[2] };
180 void drawToGrid(
int nx,
int ny,
const float *xs,
const float *ys,
const float *zs,
181 const float *nxs=0,
const float *nys=0,
const float *nzs=0,
182 const int stride = 1,
bool invertNormals=
false);
215 static int getMaxTextureSize();
221 void bind(
int xCell=0,
int yCell=0,
int textureUnit=0)
const;
227 int getWidth()
const;
230 int getHeight()
const;
233 int getChannels()
const;
249 void setBCI(
int b=-1,
int c=-1,
int i=-1);
252 std::vector<utils::Range64f> getMinMax()
const;
255 std::vector<icl64f> getColor(
int x,
int y)
const;
265 void setDrawGrid(
bool enabled,
float *
color=0);
268 void setGridColor(
float *
color);
271 const float *getGridColor()
const;
The General Function Template.
Definition: Function.h:284
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
ICL Time class (taken from the Ice lib)
Definition: Time.h:52
format
determines the color-format, that is associated with the images channels
Definition: Types.h:70
utils::Size getSize() const
returns the image size
Definition: GLImg.h:224
OpenGL Texture Map Image class.
Definition: GLImg.h:81
Size class of the ICL.
Definition: Size.h:61
depth getDepth()
getDepth<T> returns to depth enum associated to type T
Definition: ImageStatistics.h:42
scalemode
for scaling of Img images theses functions are provided
Definition: Types.h:84
depth
determines the pixel type of an image (8Bit-int or 32Bit-float)
Definition: Types.h:60
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
#define ICLQt_API
Definition: CompatMacros.h:178
utils::Function< Vec3, int, int > grid_function
a grid function returns a 3D pos from given 2D grid position
Definition: GLImg.h:188
ICLQt_API void color(float r, float g=-1, float b=-1, float alpha=255)
sets the current color to given r,g,b,alpha value
void draw3D(const float a[3], const float b[3], const float c[3])
draws the texture to given quad that is spanned by two vectors
Definition: GLImg.h:145
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
math::FixedColVector< float, 3 > Vec3
3D vector type
Definition: GLImg.h:185
Data * m_data
internal data structure
Definition: GLImg.h:82