|
| 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 ICLGeom_API void | render (const Primitive::RenderContext &ctx) |
| virtual render method, which is called by the parent scene object More...
|
|
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 |
|
| Primitive (Type type=nothing, const GeomColor &color=GeomColor(255, 255, 255, 255)) |
| Default constructor. More...
|
|
virtual | ~Primitive () |
| virtual, but empty destructor More...
|
|
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 () |
|
|
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...
|
|
Type | type |
| the primitive type More...
|
|
GeomColor | color |
| the color of this primitive More...
|
|
int | alphaFunc |
| < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue) More...
|
|
float | alphaValue |
| < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue) More...
|
|
Special texture Primitive for single textures spread over a regular grid of vertices.
For more details look at ICLQt's icl::GLImg::drawToGrid method