|  | Image Component Library (ICL)
    | 
#include <Primitive.h>
 
  
| Public Member Functions | |
| TwoSidedTextureGridPrimitive (int w, int h, const core::ImgBase *front, const core::ImgBase *back, const icl32f *px, const icl32f *py, const icl32f *pz, const icl32f *pnx=0, const icl32f *pny=0, const icl32f *pnz=0, int stride=1, bool createFrontOnce=true, bool createBackOnce=true, core::scalemode sm=core::interpolateLIN) | |
| virtual ICLGeom_API void | render (const Primitive::RenderContext &ctx) | 
| virtual render method, which is called by the parent scene object  More... | |
| ICLGeom_API void | setTextures (const core::ImgBase *front, const core::ImgBase *back) | 
| sets new textures  More... | |
|  Public Member Functions inherited from icl::geom::TextureGridPrimitive | |
| TextureGridPrimitive (int w, int h, const core::ImgBase *image, const icl32f *px, const icl32f *py, const icl32f *pz, const icl32f *pnx=0, const icl32f *pny=0, const icl32f *pnz=0, int stride=1, bool createTextureOnce=true, core::scalemode sm=core::interpolateLIN) | |
| virtual Primitive * | copy () const | 
| must be implemented in order to obtain a deep and independent copy  More... | |
| ICLGeom_API void | getAABB (utils::Range32f aabb[3]) | 
| Vec | getPos (int x, int y) const | 
|  Public Member Functions inherited from icl::geom::Primitive | |
| Primitive (Type type=nothing, const GeomColor &color=GeomColor(255, 255, 255, 255)) | |
| Default constructor.  More... | |
| virtual | ~Primitive () | 
| virtual, but empty destructor  More... | |
|  Public Member Functions inherited from icl::geom::AlphaFuncProperty | |
| ICLGeom_API | AlphaFuncProperty () | 
| base constructor setting up to GL_GREATER 0.1  More... | |
| AlphaFuncProperty (int alphaFunc, float alphaValue) | |
| void | setAlphaFunc (int func, float value) | 
| used for setting up the alpha func, that is used to render this texture primitive  More... | |
| ICLGeom_API void | restoreAlphaDefaults () | 
| Private Attributes | |
| qt::GLImg | back | 
| const core::ImgBase * | iback | 
| Additional Inherited Members | |
|  Public Types inherited from icl::geom::Primitive | |
| enum | Type { vertex = 1<<0, line = 1<<1, triangle = 1<<2, quad = 1<<3, polygon = 1<<4, texture = 1<<5, text = 1<<6, nothing = 1<<7, custom = 1<<20, PRIMITIVE_TYPE_COUNT = 8, all = (1<<PRIMITIVE_TYPE_COUNT)-1, faces = triangle | quad | polygon | texture | text } | 
| primitive type for dynamic handling of different primitives  More... | |
|  Public Attributes inherited from icl::geom::Primitive | |
| Type | type | 
| the primitive type  More... | |
| GeomColor | color | 
| the color of this primitive  More... | |
|  Public Attributes inherited from icl::geom::AlphaFuncProperty | |
| int | alphaFunc | 
| < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue)  More... | |
| float | alphaValue | 
| < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue)  More... | |
|  Protected Attributes inherited from icl::geom::TextureGridPrimitive | |
| int | w | 
| int | h | 
| qt::GLImg | texture | 
| const icl32f * | px | 
| const icl32f * | py | 
| const icl32f * | pz | 
| const icl32f * | pnx | 
| const icl32f * | pny | 
| const icl32f * | pnz | 
| int | stride | 
| const core::ImgBase * | image | 
| 
 | inline | 
| 
 | virtual | 
virtual render method, which is called by the parent scene object
Reimplemented from icl::geom::TextureGridPrimitive.
| ICLGeom_API void icl::geom::TwoSidedTextureGridPrimitive::setTextures | ( | const core::ImgBase * | front, | 
| const core::ImgBase * | back | ||
| ) | 
sets new textures
| 
 | private | 
| 
 | private | 
 1.8.15
 1.8.15