IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Base class for graphic sets that contain groups of graphic primitives. More...
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() |
Base class for graphic sets that contain groups of graphic primitives.
$A Igor Mar10 Nov10;
IGraphicSet IG::Gr::GraphicSetBase::GetChildSet | ( | int | i | ) | [inline] |
Returns the specified child graphic set contained in the current graphic set.
i | Index 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.
i | Index of the child graphic primitive. |
virtual void IG::Gr::GraphicSetBase::ReCalculateBounds | ( | bool | recursive | ) | [inline, virtual] |
Recalculates the bounding box of the current graphic set.
recursive | If true then bounds of sub-sets are re-calculated recursively. |
virtual void IG::Gr::GraphicSetBase::RecalculateBounds | ( | ) | [inline, virtual] |
IGraphicSet IG::Gr::GraphicSetBase::_parent [private] |
List<IGraphicSet> IG::Gr::GraphicSetBase::_childSets = new List<IGraphicSet>() [private] |
List<IGraphicPrimitive> IG::Gr::GraphicSetBase::_childPrimitives = new List<IGraphicPrimitive>() [private] |
BoundingBox3d IG::Gr::GraphicSetBase::_bounds = new BoundingBox3d() [private] |
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] |