IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Base class for graphic primitives. More...
Public Member Functions | |
virtual vec3 | GetCoordinate (int which) |
Returns the specified co-ordinates of the graphic primitive. More... | |
virtual void | SetCoordinate (int which, vec3 coord) |
Sets the specified co-ordinates of the graphic primitive. More... | |
virtual void | UpdateBoundingBox (BoundingBox bounds) |
virtual void | UpdateBoundingBoxTransformed () |
virtual Color | GetLineColor (int which) |
Returns the specified line color of the graphic primitive. More... | |
virtual void | SetLineColor (int which, Color color) |
Sets the specified line color of the graphic primitive. More... | |
virtual color | GetLineColor () |
Returns average line color of the graphic primitive. More... | |
virtual void | SetLineColor (Color color) |
Sets all line colors of the graphic primitive to the specified value. More... | |
virtual Color | GetFillColor (int which) |
Returns the specified fill color of the graphic primitive. More... | |
virtual void | SetFillColor (int which, Color color) |
Sets the specified fill color of the graphic primitive. More... | |
virtual Color | GetFillColor () |
Returns average fill color of the graphic primitive. More... | |
virtual void | SetFillColor (Color color) |
Sets all fill colors of the graphic primitive to the specified value. More... | |
Protected Attributes | |
vec3[] | _coord |
color[] | _lineColors |
color[] | _fillColors |
GraphicPrimitiveType | _type |
Properties | |
virtual IGraphicSet | Parent [get, set] |
abstract GraphicPrimitiveType | Type [get] |
Returns flags enumeration indicating the type of the graphic primitive. More... | |
virtual int | NumCoordinates [get] |
Gets number of co-ordinates of the graphic primitive. More... | |
Private Attributes | |
IGraphicSet | _parent = null |
Base class for graphic primitives.
$A Igor Mar10 Nov10;
|
inlinevirtual |
Returns the specified co-ordinates of the graphic primitive.
which | Index of primitive's node whose co-ordinates are returned. |
|
inlinevirtual |
Sets the specified co-ordinates of the graphic primitive.
which | Index of the primitive's node whose co-ordinates are set. |
coord |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns the specified line color of the graphic primitive.
which | Index of primitive's line whose color is set. |
|
inlinevirtual |
Sets the specified line color of the graphic primitive.
which | Index of primitive's line whose color is set. |
color | Color to be set. |
|
inlinevirtual |
Returns average line color of the graphic primitive.
References IG.Lib.color.B, IG.Lib.color.G, IG.Lib.color.Opacity, and IG.Lib.color.R.
|
inlinevirtual |
Sets all line colors of the graphic primitive to the specified value.
|
inlinevirtual |
Returns the specified fill color of the graphic primitive.
which | Index of primitive's fill whose color is set. |
|
inlinevirtual |
Sets the specified fill color of the graphic primitive.
which | Index of primitive's fill whose color is set. |
color | Color to be set. |
|
inlinevirtual |
Returns average fill color of the graphic primitive.
References IG.Lib.color.B, IG.Lib.color.G, IG.Lib.color.Opacity, and IG.Lib.color.R.
|
inlinevirtual |
Sets all fill colors of the graphic primitive to the specified value.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
getset |
|
get |
Returns flags enumeration indicating the type of the graphic primitive.
|
get |
Gets number of co-ordinates of the graphic primitive.