|
| IlvManagerLayer (IlUShort maxInList, IlUShort maxInNode=IlvMaxObjectsInList) |
| Constructor. More...
|
|
virtual | ~IlvManagerLayer () |
| Destructor. More...
|
|
void | addVisibilityFilter (IlvLayerVisibilityFilter *filter) |
| Adds a visibility filter to the layer. More...
|
|
IlBoolean | filterVisibility (const IlvMgrView *mgrview) const |
| Calls the visibility filters of the layer. More...
|
|
IlvIntensity | getAlpha () const |
| Returns the alpha value of the layer. More...
|
|
IlvAntialiasingMode | getAntialiasingMode () const |
| Retrieves the anti-aliasing mode of the layer. More...
|
|
IlInt | getIndex () const |
| Returns the index of the layer in the manager. More...
|
|
IlvManager * | getManager () const |
| Returns the manager associated with the layer. More...
|
|
const char * | getName () const |
| Returns the name of the manager layer. More...
|
|
IlBoolean | isSelectable () const |
| Indicates whether the layer is selectable. More...
|
|
IlBoolean | isVisible () const |
| Indicates whether the layer is visible for the manager. More...
|
|
IlBoolean | removeVisibilityFilter (IlvLayerVisibilityFilter *filt) |
| Removes a visibility filter from the layer. More...
|
|
void | setAlpha (IlvIntensity alpha) |
| Sets the alpha value of the layer. More...
|
|
void | setAntialiasingMode (IlvAntialiasingMode mode) |
| Sets the anti-aliasing mode of the layer. More...
|
|
virtual void | setName (const char *name) |
| Sets the name of the manager layer. More...
|
|
| IlvIndexedSet (IlUShort maxInList=30, IlUShort maxInNode=30) |
| Constructor. More...
|
|
void | addObject (const IlvGraphic *obj) |
| Adds a graphic object to the set, subdividing it if necessary. More...
|
|
IlvGraphic *const * | allContains (IlUInt &count, const IlvPoint &p, const IlvPoint &tp, const IlvTransformer *t=0) const |
| Returns all graphic objects containing a given point. More...
|
|
IlvGraphic *const * | allInside (IlUInt &count, const IlvRect &rect, const IlvRect &trect, const IlvTransformer *t=0) const |
| Returns all graphic objects located in a rectangle. More...
|
|
IlvGraphic *const * | allIntersects (IlUInt &count, const IlvRect &rect, const IlvRect &trect, const IlvTransformer *t=0) const |
| Returns all graphic objects intersecting a rectangle. More...
|
|
void | allowSubdivision (IlBoolean b) |
| Enable/disable automatic subdivision. More...
|
|
void | apply (const IlSymbol *tag, IlvApplyObject f, IlAny arg) |
| Apply a user function to tagged objects. More...
|
|
void | apply (IlvApplyObject f, IlAny arg) |
| Applies a user function to all objects of the set. More...
|
|
void | applyDraw (IlvPort *dst, const IlvTransformer *t=0, const IlvRegion *clip=0) const |
| Draws all objects. More...
|
|
void | applyInside (const IlvRect &rect, const IlvRect &trect, IlvApplyObject f, IlAny arg, const IlvTransformer *t=0) |
| Apply a user function to objects located in a rectangle. More...
|
|
void | applyInside (const IlvRect &rect, IlvApplyObject f, IlAny arg) |
| Apply a user function to objects located in a rectangle. More...
|
|
void | applyIntersects (const IlvRect &rect, const IlvRect &trect, IlvApplyObject f, IlAny arg, const IlvTransformer *t=0) |
| Apply a user function to objects intersecting a rectangle. More...
|
|
void | applyIntersects (const IlvRect &rect, IlvApplyObject f, IlAny arg) |
| Apply a user function to objects intersecting a rectangle. More...
|
|
void | applyToObject (IlvGraphic *obj, IlvApplyObject f, IlAny arg) |
| Applies a user function to a graphic object. More...
|
|
IlvGraphic * | firstIntersects (const IlvRegion &tr, const IlvTransformer *t=0) const |
| Returns the first object intersecting a region. More...
|
|
IlUInt | getCardinal () const |
| Returns the number of objects in the set. More...
|
|
IlvGraphic *const * | getObjects (IlUInt &count) const |
| Returns the objects in the set. More...
|
|
IlBoolean | isDivided () const |
| Indicates whether the set is divided. More...
|
|
IlvGraphic * | lastContains (const IlvPoint &p, const IlvPoint &tp, const IlvTransformer *t=0) const |
| Returns the object containing a given point. More...
|
|
void | map (const IlSymbol *tag, IlvApplyObject f, IlAny arg) const |
| Apply a user function to tagged objects. More...
|
|
void | map (IlvApplyObject f, IlAny arg) const |
| Applies a user function to all objects of the set. More...
|
|
void | mapInside (const IlvRect &rect, const IlvRect &trect, IlvApplyObject f, IlAny arg, const IlvTransformer *t=0) const |
| Apply a user function to objects located in a rectangle. More...
|
|
void | mapInside (const IlvRect &rect, IlvApplyObject f, IlAny arg) const |
| Apply a user function to objects located in a rectangle. More...
|
|
void | mapIntersects (const IlvRect &rect, const IlvRect &trect, IlvApplyObject f, IlAny arg, const IlvTransformer *t=0) const |
| Apply a user function to objects intersecting a rectangle. More...
|
|
void | mapIntersects (const IlvRect &rect, IlvApplyObject f, IlAny arg) const |
| Apply a user function to objects intersecting a rectangle. More...
|
|
IlBoolean | removeObject (const IlvGraphic *obj) |
| Removes a graphic object from the set. More...
|
|
void | setMaxInNode (IlUShort m) |
| Sets the subdividing threshold, or enable/disable automatic subdivision. More...
|
|
IlBoolean | subDivide () const |
| Indicates whether the set will subdivide itself or keep an ordered list. More...
|
|
Manager layer class.
Library: ilvmgr
An IlvManagerLayer
handles the complete information that is stored by a layer of a manager. You can access an instance of IlvManagerLayer by calling the three methods of the class IlvManager:
-
IlvManagerLayer* getManagerLayer(int idx)
where idx is the index of the manager layer you want to retrieve.
-
IlvManagerLayer* getManagerLayer(const char* name)
where name is the name of the manager layer you want to retrieve.
-
IlvManagerLayer* getManagerLayer(const IlvGraphic* obj)
where object is a pointer of an object located in the manager layer you want to retrieve.