IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Abstract base class for all graphic primitives such as lines, facets, etc. More...
Properties | |
virtual GraphicObject | Parent [get, set] |
Returns the graphic object that directly contains this primitive. | |
abstract int | NumCoordinates [get] |
Get or set the co-ordinate No. i of this graphic primitive. | |
abstract vec3 | this [int i] [get, set] |
Returns the co-ordinate No. i of the graphic primitive. | |
virtual vec3 | Center [get] |
Reyurns the center of mass of all co-ordinates of this primitive. | |
virtual GrPrimitiveSettings | Settings [get, set] |
Gets the primitive's internal graphic properties (such as color, etc.) | |
virtual GrPrimitiveSettings | EffectiveSettings [get] |
Private Attributes | |
GraphicObject | _parent = null |
GrPrimitiveSettings | _settings = null |
Abstract base class for all graphic primitives such as lines, facets, etc.
GraphicObject IG::Gr::GraphicPrimitive::_parent = null [private] |
GrPrimitiveSettings IG::Gr::GraphicPrimitive::_settings = null [private] |
virtual GraphicObject IG::Gr::GraphicPrimitive::Parent [get, set] |
Returns the graphic object that directly contains this primitive.
abstract int IG::Gr::GraphicPrimitive::NumCoordinates [get] |
Get or set the co-ordinate No. i of this graphic primitive.
Reimplemented in IG::Gr::GraphicPrimitiveSimple, and IG::Gr::StructuredSurfaceGridPrimitive.
abstract vec3 IG::Gr::GraphicPrimitive::this[int i] [get, set] |
Returns the co-ordinate No. i of the graphic primitive.
Reimplemented in IG::Gr::GraphicPrimitiveSimple, and IG::Gr::StructuredSurfaceGridPrimitive.
virtual vec3 IG::Gr::GraphicPrimitive::Center [get] |
Reyurns the center of mass of all co-ordinates of this primitive.
virtual GrPrimitiveSettings IG::Gr::GraphicPrimitive::Settings [get, set] |
Gets the primitive's internal graphic properties (such as color, etc.)
virtual GrPrimitiveSettings IG::Gr::GraphicPrimitive::EffectiveSettings [get] |