IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Gr::GraphicSetBase Class Reference

Base class for graphic sets that contain groups of graphic primitives. More...

Collaboration diagram for IG::Gr::GraphicSetBase:

List of all members.

Public Member Functions

IGraphicSet GetChildSet (int i)
 Returns the specified child graphic set contained in the current graphic set.
IGraphicPrimitive GetChildPrimitive (int i)
 Returns the specified child graphic primitive contained in the current graphic set.
virtual void ReCalculateBounds (bool recursive)
 Recalculates the bounding box of the current graphic set.
virtual void RecalculateBounds ()

Properties

IGraphicSet Parent [get, set]
int NumGraphicSets [get]
 Gets number of child graphic sets directly contained in the current graphic set.
int NumGraphicPrimitives [get]
 Gets number of child graphic primitives directly contained in the current graphic set.
IBoundingBox Bounds [get]

Private Attributes

IGraphicSet _parent
List< IGraphicSet_childSets = new List<IGraphicSet>()
List< IGraphicPrimitive_childPrimitives = new List<IGraphicPrimitive>()
BoundingBox3d _bounds = new BoundingBox3d()

Detailed Description

Base class for graphic sets that contain groups of graphic primitives.

$A Igor Mar10 Nov10;


Member Function Documentation

IGraphicSet IG::Gr::GraphicSetBase::GetChildSet ( int  i) [inline]

Returns the specified child graphic set contained in the current graphic set.

Parameters:
iIndex of the child graphic set.
IGraphicPrimitive IG::Gr::GraphicSetBase::GetChildPrimitive ( int  i) [inline]

Returns the specified child graphic primitive contained in the current graphic set.

Parameters:
iIndex of the child graphic primitive.
virtual void IG::Gr::GraphicSetBase::ReCalculateBounds ( bool  recursive) [inline, virtual]

Recalculates the bounding box of the current graphic set.

Parameters:
recursiveIf true then bounds of sub-sets are re-calculated recursively.
virtual void IG::Gr::GraphicSetBase::RecalculateBounds ( ) [inline, virtual]

Member Data Documentation


Property Documentation

IGraphicSet IG::Gr::GraphicSetBase::Parent [get, set]
int IG::Gr::GraphicSetBase::NumGraphicSets [get]

Gets number of child graphic sets directly contained in the current graphic set.

int IG::Gr::GraphicSetBase::NumGraphicPrimitives [get]

Gets number of child graphic primitives directly contained in the current graphic set.

IBoundingBox IG::Gr::GraphicSetBase::Bounds [get, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events