a2dCanvasObjectFilter Class Reference

class use by a2dIterC to filter objects for rendering. More...

#include <canobj.h>

Inheritance diagram for a2dCanvasObjectFilter:

Inheritance graph
[legend]
Collaboration diagram for a2dCanvasObjectFilter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool Filter (a2dIterC &ic, a2dCanvasObject *canvasObject)
 called from a2dCanvasObject to filter objects for rendering
virtual void EndFilter (a2dIterC &ic, a2dCanvasObject *canvasObject)
 called from a2dCanvasObject to reset filtering feature when filtered object goes out of context.


Detailed Description

class use by a2dIterC to filter objects for rendering.

From a2dCanvasDocument render cycles for the document are initiated. An iteration context is set up, and this context can have an object filter set, only a2dCanvasObject objects that return true, will be rendered.

The idea is to derived from this class, and defined your own Filter()

This object can contain dynamic properties which can be used for filtering. It is also refcounted for use with smart pointers.

Definition at line 3172 of file canobj.h.


The documentation for this class was generated from the following file:
a2dCanvasObjectFilter Class Reference -- Tue Aug 31 18:13:27 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation