PoPieChart Class |
Abstract class for pie chart representation.
Namespace: OIV.MeshViz.Graph
The PoPieChart type exposes the following members.
Name | Description | |
---|---|---|
AffectsState | Returns true if a node has an effect on the state during traversal. | |
Callback | (Inherited from SoBaseKit.) | |
Copy | Calls Copy(false). (Inherited from SoNode.) | |
Copy(Boolean) | Creates and returns an exact copy of the node. | |
CopyFieldValues(SoFieldContainer) | Calls CopyFieldValues(fc, false). (Inherited from SoFieldContainer.) | |
CopyFieldValues(SoFieldContainer, Boolean) | Copies the contents of fc's fields into this object's fields. | |
CreatePathToPart(String, Boolean) | Calls CreatePathToPart(partName, makeIfNeeded, (OIV.Inventor.SoPath ^)nullptr). (Inherited from SoBaseKit.) | |
CreatePathToPart(String, Boolean, SoPath) | Returns a path that begins at this nodekit and ends at partName. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
Distribute | (Inherited from SoNode.) | |
DoAction | (Inherited from SoBaseKit.) | |
EnableNotify | Notification at this Field Container is enabled (if flag == true) or disabled (if flag == false). | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FieldsAreEqual | Returns true if this object's fields are exactly equal to fc's fields. | |
Get | Returns the values of the fields of this object in the Open Inventor ASCII file format in the given string. | |
GetAllFields | Returns a list of fields, including the eventIn's and eventOut's. | |
GetAlternateRep | This method is called by actions to allow the node to provide an "alternate representation" when appropriate (typically depending on the action type). | |
GetBoundingBox | (Inherited from SoBaseKit.) | |
GetClassNodekitCatalog | Returns the OIV.Inventor.Nodekits.SoNodekitCatalog for this class. | |
GetDomain | Gets a reference to a OIV.MeshViz.Graph.PbDomain object used to define the data limits of the graphics to be generated. | |
GetEventIn | Returns a the eventIn with the given name. | |
GetEventOut | Returns the eventOut with the given name. | |
GetField | Returns a the field of this object whose name is fieldName. | |
GetFieldName | Returns the name of the given field in the fieldName argument. | |
GetFields | Appends references to all of this object's fields to resultList, and returns the number of fields appended. | |
GetFormat | Gets a reference to a OIV.MeshViz.Graph.PbNumericDisplayFormat object for the numerical display format of values of the pie chart. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetMatrix | (Inherited from SoBaseKit.) | |
GetMiscTextAttr | Gets a reference to a OIV.MeshViz.Graph.PbMiscTextAttr for miscellaneous text attributes. | |
GetName | Returns the name of an instance. | |
GetNodekitCatalog | Returns the OIV.Inventor.Nodekits.SoNodekitCatalog for this instance of OIV.Inventor.Nodekits.SoBaseKit. | |
GetPart | Searches the nodekit catalog (and those of all nested nodekits) for the part named partName. | |
GetPartString | Given a node or a path to a node, checks if the part exists in the nodekit, in a nested nodekit, or an element of a list part. | |
GetPickedSliceNumber | Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cf OIV.Inventor.Nodes.SoSelection node for more information about picking). | |
GetPrimitiveCount | (Inherited from SoBaseKit.) | |
GetRenderEngineMode | Returns the supported Render engine mode. | |
GetRenderUnitID | (Inherited from SoNode.) | |
GetSliceToTranslate | Gets the current translation of a slice. | |
GetStringName | (Inherited from SoBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUpdateMethod | Gets update method. | |
GetViewportIsEnabled | (Inherited from SoBaseKit.) | |
GetViewportOrigin | (Inherited from SoBaseKit.) | |
GetViewportSize | (Inherited from SoBaseKit.) | |
GLRender | (Inherited from SoBaseKit.) | |
GLRenderBelowPath | (Inherited from SoNode.) | |
GLRenderInPath | (Inherited from SoNode.) | |
GLRenderOffPath | (Inherited from SoNode.) | |
GrabEventsCleanup | (Inherited from SoNode.) | |
GrabEventsSetup | (Inherited from SoNode.) | |
HandleEvent | (Inherited from SoBaseKit.) | |
HasDefaultValues | Returns true if all of the object's fields have their default values. | |
IsBoundingBoxIgnoring | Returns true if bounding box computation should be ignored during OIV.Inventor.Actions.SoGetBoundingBoxAction traversal. | |
IsBuilt | Indicates if the node kit has been built at least once. | |
IsModified | Return true, if the kit has been modified, else otherwise. | |
IsNotifyEnabled | Notification is the process of telling interested objects that this object has changed. | |
IsOverride | Returns the state of the override flag. | |
IsSynchronizable | Gets the ScaleViz synchronizable state of this object. | |
Pick | (Inherited from SoNode.) | |
RayPick | (Inherited from SoBaseKit.) | |
Rebuild | Forces the node kit to be rebuilt immediately. | |
Search | (Inherited from SoBaseKit.) | |
Set(String) | This function allows field values of parts (nodes) to be set in several different parts simultaneously. | |
Set(String, String) | This function allows field values of parts (nodes) to be set. | |
SetDomain | Sets a reference to a OIV.MeshViz.Graph.PbDomain object used to define the data limits of the graphics to be generated. | |
SetFormat | Sets a reference to a OIV.MeshViz.Graph.PbNumericDisplayFormat object for the numerical display format of values of the pie chart. | |
SetMiscTextAttr | Sets a reference to a OIV.MeshViz.Graph.PbMiscTextAttr for miscellaneous text attributes. | |
SetName | (Inherited from SoBase.) | |
SetOverride | Turns the override flag on or off. | |
SetPart | Inserts the given node (not a copy) as the new part specified by partName. | |
SetSliceToTranslate | Convenience methods to set the fields sliceToTranslateNumber and sliceToTranslateValue. | |
SetSynchronizable | Sets this to be a ScaleViz synchronizable object. | |
SetToDefaults | Sets all fields in this object to their default values. | |
SetUpdateMethod | Sets scene graph update method. | |
ToString |
Converts this SoBase structure to a human readable string.
(Inherited from SoBase.) | |
Touch | Marks an instance as modified, simulating a change to it. | |
TouchKit | Indicates the node kit is modified. | |
Write | (Inherited from SoBaseKit.) |
Name | Description | |
---|---|---|
arrowHeight | Height of the arrow. | |
arrowVisibility | Visibility of the arrow. | |
arrowWidth | Width of the arrow. | |
boundingBoxIgnoring | Whether to ignore this node during bounding box traversal. | |
extAnnotAddString | String concatened with exterior values. | |
extAnnotAddStringVisibility | Specify the visibility of a string concatenated with the exterior values (if they are visible). | |
extAnnotAlignment | Exterior annotation alignment. | |
extAnnotDistance1 | Distance from the pie chart center to the end of the arrow. | |
extAnnotDistance2 | Distance from the end of the arrow to the middle of the arrow. | |
extAnnotDistance3 | Distance from the middle of the arrow to the start of the arrow. | |
extAnnotPercentFontName | Exterior percentage font name. | |
extAnnotPercentFontSize | Font size of exterior percentages. | |
extAnnotPercentVisibility | Exterior percent visibility (percent are computed from sliceValue field) | |
extAnnotPosition | Exterior annotation position. | |
extAnnotTextFontName | Exterior text (texts of sliceText field) font name. | |
extAnnotTextFontSize | Font size of exterior texts (texts of sliceText field). | |
extAnnotTextVisibility | Exterior text visibility (texts of sliceText field). | |
extAnnotValueFontName | Exterior value (values of sliceValue field) font name. | |
extAnnotValueFontSize | Font size of exterior values (values of sliceValue field). | |
extAnnotValueVisibility | Exterior value visibility (values of sliceValue field). | |
intAnnotAddString | String concatened with interior values. | |
intAnnotAddStringVisibility | Specify the visibility of a string concatenated with the interior values (if they are visible). | |
intAnnotAlignment | Interior annotation alignment. | |
intAnnotDistance | Distance from the pie chart center to the interior annotation box center. | |
intAnnotPercentFontName | Interior percentage font name. | |
intAnnotPercentFontSize | Font size of interior percentages. | |
intAnnotPercentVisibility | Interior percent visibility (percent are computed from sliceValue field) | |
intAnnotPosition | Interior annotation position. | |
intAnnotTextFontName | Interior text (texts of sliceText field) font name. | |
intAnnotTextFontSize | Font size of interior texts (texts of sliceText field). | |
intAnnotTextVisibility | Interior text visibility (texts of sliceText field). | |
intAnnotValueFontName | Interior value (values of sliceValue field) font name. | |
intAnnotValueFontSize | Font size of interior values (values of sliceValue field). | |
intAnnotValueVisibility | Interior value visibility (values of sliceValue field). | |
IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) | |
radius | Radius of the pie chart. | |
sliceAngleStep | Slice are approximated by a polygon, that is a sequence of straight line segments. | |
sliceColor | Color associated to each slice of the pie chart. | |
sliceGroupActive | Activate or Deactivate the regrouping of small values. | |
sliceGroupFlagMin | Indicate if the value sliceGroupMinValue is interpreted as percentage (PERCENTAGE) or not (ABSOLUTE). | |
sliceGroupMinValue | Threshold underneath the slice are regrouped. | |
sliceGroupString | String for the regrouping slice. | |
sliceText | Text associated to each slice of the pie chart. | |
sliceToTranslateNumber | Numbers (slice numbers begin at 0) of the slices to translate. | |
sliceToTranslateValue | Translation values along the bisectors of the slices. | |
sliceValue | Value associated to each slice of the pie chart. | |
UserData |
Gets or sets the user data to be contained by the field container.
(Inherited from SoFieldContainer.) |
Name | Description | |
---|---|---|
PostRebuild | (Inherited from PoBase.) | |
PreRebuild | (Inherited from PoBase.) |
Abstract class for all pie chart representations. This class handles all pie chart attributes. A pie chart represents the relative size of one datum in relation to a set of data. Each datum is given by a numerical value which is expressed as a percentage of the sum of the values of the entire set of data. This percentage is used to calculate the angle of the slice representing the datum. All slices together make up a pie chart.
The slices of which the value is small can be regroup in a same slice. This slice is called the grouping slice.
There are 2 types of pie chart annotations. Internal annotations and external annotations. Futhermore annotations can be framed by a box. All annotations are draw with the Z-Buffer desactivated, that is, they are always visible.
There are 5 groups of fields attributes
Geometric and data of the pie chart.
radius
sliceText
sliceValue
sliceColor
sliceAngleStep
Attribute of internal annotations : annotations drawn inside each slices.
intAnnotPosition
intAnnotAlignment
intAnnotTextVisibility
intAnnotValueVisibility
intAnnotPercentVisibility
intAnnotAddStringVisibility
intAnnotTextFontName
intAnnotTextFontSize
intAnnotValueFontName
intAnnotValueFontSize
intAnnotPercentFontName
intAnnotPercentFontSize
intAnnotAddString
intAnnotDistance
Attribute of external annotations : annotations drawn outside each slices.
extAnnotPosition
extAnnotAlignment
extAnnotTextVisibility
extAnnotValueVisibility
extAnnotPercentVisibility
extAnnotAddStringVisibility
extAnnotTextFontName
extAnnotTextFontSize
extAnnotValueFontName
extAnnotValueFontSize
extAnnotPercentFontName
extAnnotPercentFontSize
extAnnotAddString
extAnnotDistance1
extAnnotDistance2
extAnnotDistance3
Attribute of arrows : an arrow is drawn between slices and each external annotations.
arrowVisibility
arrowHeight
arrowWidth
Attribute for the translation of slices.
sliceToTranslateNumber
sliceToTranslateValue
Attribute of the grouping slice : The slices of which the value is small can be regroup in a same slice, call grouping slice.
sliceGroupActive
sliceGroupMinValue
sliceGroupFlagMin
sliceGroupString
)
All pie chart texts depend on the current miscellaneous text attributes which define the font name, line length and so on. If the method setMiscTextAttr(textAttr) is called, the current miscellaneous text attributes is "textAttr". Otherwise the current miscellaneous text attributes are specified in the current inherited state (cf property node OIV.MeshViz.Nodes.PoMiscTextAttr).
All pie chart numerical values depend on the current numerical display format. If the method setFormat(format) is called, the current numerical display format is "format". Otherwise the current numerical display format is specified in the current inherited state (cf property node OIV.MeshViz.Nodes.PoNumericDisplayFormat).