| 
    Graphite Version 3
    
   An experimental 3D geometry processing program 
   | 
 
Filters primitives based on their id and on an attribute. More...
#include <geogram_gfx/mesh/mesh_gfx.h>
Public Member Functions | |
| bool | begin (AttributesManager &attributes_manager, bool hw_primitive_filtering=true) | 
| Begins rendering with primitive filtering.   | |
| void | end () | 
| Needs to be called after rendering.  | |
| void | deallocate () | 
| Deallocates GPU objects.  | |
| bool | test (index_t primitive_id) const | 
| Tests an individual primitive.   | |
Public Attributes | |
| std::string | attribute_name | 
| Attribute< Numeric::uint8 > | attribute | 
| GLuint | VBO | 
| GLuint | texture | 
| bool | dirty | 
Filters primitives based on their id and on an attribute.
Definition at line 946 of file mesh_gfx.h.
| bool GEO::MeshGfx::Filter::begin | ( | AttributesManager & | attributes_manager, | 
| bool | hw_primitive_filtering = true  | 
        ||
| ) | 
Begins rendering with primitive filtering.
| [in] | attributes_manager | a reference to the attributes manager where the property is stored | 
| [in] | hw_primitive_filtering | if set, uses hardware primitive fitering (GLUP_PRIMITIVES_FILTERING), else one may use the function test() instead. | 
| true | if attribute filtering is active, that is, if attribute name is not the empty string and if an the attribute exists | 
| false | otherwise | 
      
  | 
  inline | 
Tests an individual primitive.
| true | if the primitive should be displayed | 
| false | otherwise | 
Definition at line 984 of file mesh_gfx.h.
| Attribute<Numeric::uint8> GEO::MeshGfx::Filter::attribute | 
Definition at line 992 of file mesh_gfx.h.
| std::string GEO::MeshGfx::Filter::attribute_name | 
Definition at line 991 of file mesh_gfx.h.
| bool GEO::MeshGfx::Filter::dirty | 
Definition at line 995 of file mesh_gfx.h.
| GLuint GEO::MeshGfx::Filter::texture | 
Definition at line 994 of file mesh_gfx.h.
| GLuint GEO::MeshGfx::Filter::VBO | 
Definition at line 993 of file mesh_gfx.h.