Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
PoPieChart Class Reference

MeshViz Abstract class for pie chart representation. More...

#include <MeshViz/graph/PoPieChart.h>

+ Inheritance diagram for PoPieChart:

Public Types

enum  IntAnnotPosition {
  RADIAL_INT_POS ,
  HOR_INT_POS
}
 Type of internal annotation position. More...
 
enum  ExtAnnotPosition {
  RADIAL_EXT_POS ,
  HOR_EXT_POS ,
  HOR_ALIGNED_EXT_POS ,
  VERT_ALIGNED_EXT_POS ,
  SQUARE_ALIGNED_EXT_POS
}
 Type of external annotation position. More...
 
enum  Alignment {
  LEFT_ALIGN ,
  CENTER_ALIGN ,
  RIGHT_ALIGN ,
  INWARDS_ALIGN ,
  OUTWARDS_ALIGN
}
 Type of annotation alignment. More...
 
enum  PercentStatus {
  ABSOLUTE ,
  PERCENTAGE
}
 Type of threshold for the grouping slice. More...
 
- Public Types inherited from PoBase
enum  UpdateMethodType {
  UPDATE_METHOD_IMMEDIATE ,
  UPDATE_METHOD_ON_ACTION
}
 Type of update method. More...
 
enum  NodeWriteFormat {
  FOLD_NODE_WRITE_FORMAT ,
  UNFOLD_NODE_WRITE_FORMAT
}
 Type of write format. More...
 
enum  TextType {
  SO_TEXT3 ,
  SO_ANNO_TEXT3
}
 Type of Text. More...
 
typedef void PoRebuildCB(void *userData, PoBase *base)
 

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
virtual const SoNodekitCataloggetNodekitCatalog () const
 Returns the SoNodekitCatalog for this instance.
 
void setMiscTextAttr (PbMiscTextAttr *textAttr)
 Sets a reference to a PbMiscTextAttr for miscellaneous text attributes.
 
const PbMiscTextAttrgetMiscTextAttr () const
 Gets a reference to a PbMiscTextAttr for miscellaneous text attributes.
 
void setFormat (PbNumericDisplayFormat *format)
 Sets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the pie chart.
 
const PbNumericDisplayFormatgetFormat () const
 Gets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the pie chart.
 
SbBool getPickedSliceNumber (const SoPath *path, int &sliceNumber) const
 Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cf SoSelection node for more information about picking).
 
void setSliceToTranslate (int sliceNumber, float translateValue)
 Convenience methods to set the fields sliceToTranslateNumber and sliceToTranslateValue.
 
float getSliceToTranslate (int sliceNumber) const
 Gets the current translation of a slice.
 
- Public Member Functions inherited from PoBase
void setUpdateMethod (UpdateMethodType type)
 Sets scene graph update method.
 
UpdateMethodType getUpdateMethod () const
 Gets update method.
 
void setDomain (PbDomain *dom)
 Sets a reference to a PbDomain object used to define the data limits of the graphics to be generated.
 
const PbDomaingetDomain () const
 Gets a reference to a PbDomain object used to define the data limits of the graphics to be generated.
 
void touchKit ()
 Indicates the node kit is modified.
 
SbBool isModified () const
 Return TRUE, if the kit has been modified, else otherwise.
 
SbBool isBuilt () const
 Indicates if the node kit has been built at least once.
 
virtual void rebuild ()
 Forces the node kit to be rebuilt immediately.
 
void addPreRebuildCallback (PoRebuildCB *cb, void *data)
 Add a callback function to call when the node kit is rebuilt.
 
void addPostRebuildCallback (PoRebuildCB *cb, void *data)
 Add a callback function to call when the node kit is rebuilt.
 
void removePreRebuildCallback (PoRebuildCB *cb, void *data=NULL)
 Remove a callback function to call when the node kit is rebuilt.
 
void removePostRebuildCallback (PoRebuildCB *cb, void *data)
 Remove a callback function to call when the node kit is rebuilt.
 
virtual SoNodecopy (SbBool copyConnections=FALSE) const
 Copy method.
 
virtual SbBool affectsState () const
 See SoNode::affectsState() for explanations.
 
- Public Member Functions inherited from SoBaseKit
 SoBaseKit ()
 Constructor.
 
virtual SoNodegetPart (const SbName &partName, SbBool makeIfNeeded)
 Searches the nodekit catalog (and those of all nested nodekits) for the part named partName.
 
template<typename PartType >
PartType * getPart (const SbName &partName)
 Like getPart(const SbName&,SbBool) but casts the returned part to the specified type and sets the makeIfNeeded parameter to TRUE.
 
template<typename PartType >
PartType * checkPart (const SbName &partName)
 Like getPart(const SbName&,SbBool) but casts the returned part to the specified type and sets the makeIfNeeded parameter to FALSE.
 
SbString getPartString (const SoBase *part)
 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.
 
virtual SoNodeKitPathcreatePathToPart (const SbName &partName, SbBool makeIfNeeded, const SoPath *pathToExtend=NULL)
 Returns a path that begins at this nodekit and ends at partName.
 
virtual SbBool setPart (const SbName &partName, SoNode *newPart)
 Inserts the given node (not a copy) as the new part specified by partName.
 
SoNONUNICODE SbBool set (char *nameValuePairListString)
 This function allows field values of parts (nodes) to be set in several different parts simultaneously.
 
SbBool set (const SbString &nameValuePairListString)
 This function allows field values of parts (nodes) to be set in several different parts simultaneously.
 
SoNONUNICODE SbBool set (const char *partNameString, const char *parameterString)
 This function allows field values of parts (nodes) to be set.
 
SbBool set (const SbString &partNameString, const SbString &parameterString)
 This function allows field values of parts (nodes) to be set.
 
- Public Member Functions inherited from SoNode
virtual void setOverride (const SbBool state)
 Turns the override flag on or off.
 
virtual SbBool isOverride () const
 Returns the state of the override flag.
 
virtual void touch ()
 Marks an instance as modified, simulating a change to it.
 
- Public Member Functions inherited from SoFieldContainer
void setToDefaults ()
 Sets all fields in this object to their default values.
 
SbBool hasDefaultValues () const
 Returns TRUE if all of the object's fields have their default values.
 
SbBool fieldsAreEqual (const SoFieldContainer *fc) const
 Returns TRUE if this object's fields are exactly equal to fc's fields.
 
void copyFieldValues (const SoFieldContainer *fc, SbBool copyConnections=FALSE)
 Copies the contents of fc's fields into this object's fields.
 
SoNONUNICODE SbBool set (const char *fieldDataString)
 Sets one or more fields in this object to the values specified in the given string, which should be a string in the Open Inventor file format.
 
SbBool set (const SbString &fieldDataString)
 Sets one or more fields in this object to the values specified in the given string, which should be a string in the Open Inventor file format.
 
void get (SbString &fieldDataString)
 Returns the values of the fields of this object in the Open Inventor ASCII file format in the given string.
 
virtual int getFields (SoFieldList &list) const
 Appends references to all of this object's fields to resultList, and returns the number of fields appended.
 
virtual int getAllFields (SoFieldList &list) const
 Returns a list of fields, including the eventIn's and eventOut's.
 
virtual SoFieldgetField (const SbName &fieldName) const
 Returns a the field of this object whose name is fieldName.
 
virtual SoFieldgetEventIn (const SbName &fieldName) const
 Returns a the eventIn with the given name.
 
virtual SoFieldgetEventOut (const SbName &fieldName) const
 Returns the eventOut with the given name.
 
SbBool getFieldName (const SoField *field, SbName &fieldName) const
 Returns the name of the given field in the fieldName argument.
 
SbBool enableNotify (SbBool flag)
 Notification at this Field Container is enabled (if flag == TRUE) or disabled (if flag == FALSE).
 
SbBool isNotifyEnabled () const
 Notification is the process of telling interested objects that this object has changed.
 
virtual void setUserData (void *data)
 Sets application data.
 
void * getUserData (void) const
 Gets user application data.
 
- Public Member Functions inherited from SoBase
virtual SbName getName () const
 Returns the name of an instance.
 
virtual void setName (const SbName &name)
 Sets the name of an instance.
 
void setSynchronizable (const bool b)
 Sets this to be a ScaleViz synchronizable object.
 
bool isSynchronizable () const
 Gets the ScaleViz synchronizable state of this object.
 
- Public Member Functions inherited from SoRefCounter
void ref () const
 Adds a reference to an instance.
 
void unref () const
 Removes a reference from an instance.
 
void unrefNoDelete () const
 unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero.
 
int getRefCount () const
 Returns current reference count.
 
void lock () const
 lock this instance.
 
void unlock () const
 unlock this instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 
- Public Member Functions inherited from SoGetView
 SoGetView ()
 Default constructor.
 
virtual ~SoGetView ()
 
virtual SbBool getViewportIsEnabled () const
 Returns TRUE if SoGetView functionalities are enabled, FALSE otherwise.
 
virtual const SbVec2f getViewportOrigin () const
 Returns SbViewportRegion origin.
 
virtual const SbVec2f getViewportSize () const
 Returns SbViewportRegion size.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static const SoNodekitCataloggetClassNodekitCatalog ()
 Returns the SoNodekitCatalog for this class.
 
- Static Public Member Functions inherited from PoGraphMaster
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static const SoNodekitCataloggetClassNodekitCatalog ()
 Returns the SoNodekitCatalog for this class.
 
- Static Public Member Functions inherited from PoBase
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static const SoNodekitCataloggetClassNodekitCatalog ()
 Returns the SoNodekitCatalog for this class.
 
static void setNodeWriteFormat (NodeWriteFormat format)
 Sets the node write format.
 
static NodeWriteFormat getNodeWriteFormat ()
 Gets the node write format.
 
static void setTextType (TextType type)
 Sets the type of text used.
 
static TextType getTextType ()
 Gets the type of text used.
 
static void setVRML2Mode (SbBool flag)
 Set the VRML2 mode.
 
static SbBool isVRML2Mode ()
 Gets the VRML2 mode (TRUE = VRML2 mode, FALSE Inventor mode)
 
- Static Public Member Functions inherited from SoBaseKit
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static const SoNodekitCataloggetClassNodekitCatalog ()
 Returns the SoNodekitCatalog for the class SoBaseKit.
 
static void setSearchingChildren (SbBool newVal)
 Sets if nodekit children are searched during SoSearchAction traversal.
 
static SbBool isSearchingChildren ()
 Returns TRUE if nodekit children are searched during SoSearchAction traversal.
 
- Static Public Member Functions inherited from SoNode
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static SoNodegetByName (const SbName &name)
 A node's name can be set using SoBase::setName().
 
static int getByName (const SbName &name, SoNodeList &list)
 A node's name can be set using SoBase::setName().
 
- Static Public Member Functions inherited from SoFieldContainer
static SoType getClassTypeId ()
 Returns the type of this class.
 
- Static Public Member Functions inherited from SoBase
static SoType getClassTypeId ()
 Returns type identifier for this class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Public Attributes

SoSFFloat radius
 Radius of the pie chart.
 
SoMFString sliceText
 Text associated to each slice of the pie chart.
 
SoMFFloat sliceValue
 Value associated to each slice of the pie chart.
 
SoMFColor sliceColor
 Color associated to each slice of the pie chart.
 
SoSFEnum intAnnotPosition
 Interior annotation position.
 
SoSFEnum intAnnotAlignment
 Interior annotation alignment.
 
SoSFBool intAnnotTextVisibility
 Interior text visibility (texts of sliceText field).
 
SoSFBool intAnnotValueVisibility
 Interior value visibility (values of sliceValue field).
 
SoSFBool intAnnotPercentVisibility
 Interior percent visibility (percent are computed from sliceValue field)
 
SoSFBool intAnnotAddStringVisibility
 Specify the visibility of a string concatenated with the interior values (if they are visible).
 
SoSFString intAnnotAddString
 String concatened with interior values.
 
SoSFString intAnnotTextFontName
 Interior text (texts of sliceText field) font name.
 
SoSFFloat intAnnotTextFontSize
 Font size of interior texts (texts of sliceText field).
 
SoSFString intAnnotValueFontName
 Interior value (values of sliceValue field) font name.
 
SoSFFloat intAnnotValueFontSize
 Font size of interior values (values of sliceValue field).
 
SoSFString intAnnotPercentFontName
 Interior percentage font name.
 
SoSFFloat intAnnotPercentFontSize
 Font size of interior percentages.
 
SoSFFloat intAnnotDistance
 Distance from the pie chart center to the interior annotation box center.
 
SoSFEnum extAnnotPosition
 Exterior annotation position.
 
SoSFEnum extAnnotAlignment
 Exterior annotation alignment.
 
SoSFBool extAnnotTextVisibility
 Exterior text visibility (texts of sliceText field).
 
SoSFBool extAnnotValueVisibility
 Exterior value visibility (values of sliceValue field).
 
SoSFBool extAnnotPercentVisibility
 Exterior percent visibility (percent are computed from sliceValue field)
 
SoSFBool extAnnotAddStringVisibility
 Specify the visibility of a string concatenated with the exterior values (if they are visible).
 
SoSFString extAnnotAddString
 String concatened with exterior values.
 
SoSFString extAnnotTextFontName
 Exterior text (texts of sliceText field) font name.
 
SoSFFloat extAnnotTextFontSize
 Font size of exterior texts (texts of sliceText field).
 
SoSFString extAnnotValueFontName
 Exterior value (values of sliceValue field) font name.
 
SoSFFloat extAnnotValueFontSize
 Font size of exterior values (values of sliceValue field).
 
SoSFString extAnnotPercentFontName
 Exterior percentage font name.
 
SoSFFloat extAnnotPercentFontSize
 Font size of exterior percentages.
 
SoSFFloat extAnnotDistance1
 Distance from the pie chart center to the end of the arrow.
 
SoSFFloat extAnnotDistance2
 Distance from the end of the arrow to the middle of the arrow.
 
SoSFFloat extAnnotDistance3
 Distance from the middle of the arrow to the start of the arrow.
 
SoSFBool arrowVisibility
 Visibility of the arrow.
 
SoSFFloat arrowHeight
 Height of the arrow.
 
SoSFFloat arrowWidth
 Width of the arrow.
 
SoSFBool sliceGroupActive
 Activate or Deactivate the regrouping of small values.
 
SoSFFloat sliceGroupMinValue
 Threshold underneath the slice are regrouped.
 
SoSFEnum sliceGroupFlagMin
 Indicate if the value sliceGroupMinValue is interpreted as percentage (PERCENTAGE) or not (ABSOLUTE).
 
SoSFString sliceGroupString
 String for the regrouping slice.
 
SoMFShort sliceToTranslateNumber
 Numbers (slice numbers begin at 0) of the slices to translate.
 
SoMFFloat sliceToTranslateValue
 Translation values along the bisectors of the slices.
 
SoSFFloat sliceAngleStep
 Slice are approximated by a polygon, that is a sequence of straight line segments.
 
- Public Attributes inherited from SoBaseKit
SoSFBool boundingBoxIgnoring
 Whether to ignore this node during bounding box traversal.
 

Detailed Description

MeshViz Abstract class for pie chart representation.

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 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 PoNumericDisplayFormat).

Definition at line 136 of file PoPieChart.h.

Member Enumeration Documentation

◆ Alignment

Type of annotation alignment.

Enumerator
LEFT_ALIGN 

Annotations are aligned on the left of the annotation box.

CENTER_ALIGN 

Annotations are aligned on the center of the annotation box.

RIGHT_ALIGN 

Annotations are aligned on the right of the annotation box.

INWARDS_ALIGN 

Annotations are aligned inward the pie chart.

OUTWARDS_ALIGN 

Annotations are aligned outward the pie chart.

Definition at line 238 of file PoPieChart.h.

◆ ExtAnnotPosition

Type of external annotation position.

Enumerator
RADIAL_EXT_POS 

Exterior annotations are radial to the slices.

HOR_EXT_POS 

Exterior annotations are horizontal.

HOR_ALIGNED_EXT_POS 

Exterior annotations are horizontally aligned.

VERT_ALIGNED_EXT_POS 

Exterior annotations are vertically aligned.

SQUARE_ALIGNED_EXT_POS 

Exterior annotations are aligned on a square.

Definition at line 212 of file PoPieChart.h.

◆ IntAnnotPosition

Type of internal annotation position.

Enumerator
RADIAL_INT_POS 

Interior annotations are radial to the slices.

HOR_INT_POS 

Interior annotations are horizontal.

Definition at line 198 of file PoPieChart.h.

◆ PercentStatus

Type of threshold for the grouping slice.

Enumerator
ABSOLUTE 
PERCENTAGE 

Definition at line 272 of file PoPieChart.h.

Member Function Documentation

◆ getClassNodekitCatalog()

static const SoNodekitCatalog * PoPieChart::getClassNodekitCatalog ( )
static

Returns the SoNodekitCatalog for this class.

◆ getClassTypeId()

static SoType PoPieChart::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getFormat()

const PbNumericDisplayFormat * PoPieChart::getFormat ( ) const

Gets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the pie chart.

◆ getMiscTextAttr()

const PbMiscTextAttr * PoPieChart::getMiscTextAttr ( ) const

Gets a reference to a PbMiscTextAttr for miscellaneous text attributes.

◆ getNodekitCatalog()

virtual const SoNodekitCatalog * PoPieChart::getNodekitCatalog ( ) const
virtual

Returns the SoNodekitCatalog for this instance.

Reimplemented from PoGraphMaster.

Reimplemented in PoPieChart2D, and PoPieChart3D.

◆ getPickedSliceNumber()

SbBool PoPieChart::getPickedSliceNumber ( const SoPath path,
int &  sliceNumber 
) const

Allow the user to retreive the slice number (sliceNumber argument) which has been picked from a picked path (path argument) (cf SoSelection node for more information about picking).

Returns
FALSE, if the picked path does not correspond to a slice of the pie chart (sliceNumber is not significative),
TRUE otherwise.

◆ getSliceToTranslate()

float PoPieChart::getSliceToTranslate ( int  sliceNumber) const

Gets the current translation of a slice.

Returns 0 if sliceNumber slice does not exist or sliceNumber slice is not translated, the translation value otherwise.

◆ getTypeId()

virtual SoType PoPieChart::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Reimplemented from PoGraphMaster.

Reimplemented in PoPieChart2D, and PoPieChart3D.

◆ setFormat()

void PoPieChart::setFormat ( PbNumericDisplayFormat format)

Sets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the pie chart.

If this method is not called (or called passing NULL as argument), this is the numerical display format defined in the current inherited state (defined with the property node PoNumericDisplayFormat) which is used.

◆ setMiscTextAttr()

void PoPieChart::setMiscTextAttr ( PbMiscTextAttr textAttr)

Sets a reference to a PbMiscTextAttr for miscellaneous text attributes.

If this method is not called (or called passing NULL as argument), this is the miscellaneous text attributes defined in the current inherited state (defined with the property node PoMiscTextAttr) which are used.

◆ setSliceToTranslate()

void PoPieChart::setSliceToTranslate ( int  sliceNumber,
float  translateValue 
)

Convenience methods to set the fields sliceToTranslateNumber and sliceToTranslateValue.

As regards setSliceToTranslate() method, if sliceNumber == sliceToTranslateNumber[i] (i=0 to sliceToTranslateNumber.getNum() - 1), sliceToTranslateNumber[i] = translationValue, else sliceToTranslateNumber[sliceToTranslateNumber.getNum()] = translationValue.

Member Data Documentation

◆ arrowHeight

SoSFFloat PoPieChart::arrowHeight

Height of the arrow.

Definition at line 533 of file PoPieChart.h.

◆ arrowVisibility

SoSFBool PoPieChart::arrowVisibility

Visibility of the arrow.

Definition at line 528 of file PoPieChart.h.

◆ arrowWidth

SoSFFloat PoPieChart::arrowWidth

Width of the arrow.

Definition at line 538 of file PoPieChart.h.

◆ extAnnotAddString

SoSFString PoPieChart::extAnnotAddString

String concatened with exterior values.

Definition at line 449 of file PoPieChart.h.

◆ extAnnotAddStringVisibility

SoSFBool PoPieChart::extAnnotAddStringVisibility

Specify the visibility of a string concatenated with the exterior values (if they are visible).

Definition at line 444 of file PoPieChart.h.

◆ extAnnotAlignment

SoSFEnum PoPieChart::extAnnotAlignment

Exterior annotation alignment.

Definition at line 423 of file PoPieChart.h.

◆ extAnnotDistance1

SoSFFloat PoPieChart::extAnnotDistance1

Distance from the pie chart center to the end of the arrow.

If this value is less or equal to 0, the distance is fixed to 21/20 of the radius.

Definition at line 503 of file PoPieChart.h.

◆ extAnnotDistance2

SoSFFloat PoPieChart::extAnnotDistance2

Distance from the end of the arrow to the middle of the arrow.

If this value is less or equal to 0, the distance is fixed to 1/10 of the radius.

Definition at line 511 of file PoPieChart.h.

◆ extAnnotDistance3

SoSFFloat PoPieChart::extAnnotDistance3

Distance from the middle of the arrow to the start of the arrow.

If this value is less or equal to 0, the distance is fixed to 1/5 of the radius.

Definition at line 519 of file PoPieChart.h.

◆ extAnnotPercentFontName

SoSFString PoPieChart::extAnnotPercentFontName

Exterior percentage font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 488 of file PoPieChart.h.

◆ extAnnotPercentFontSize

SoSFFloat PoPieChart::extAnnotPercentFontSize

Font size of exterior percentages.

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 496 of file PoPieChart.h.

◆ extAnnotPercentVisibility

SoSFBool PoPieChart::extAnnotPercentVisibility

Exterior percent visibility (percent are computed from sliceValue field)

Definition at line 438 of file PoPieChart.h.

◆ extAnnotPosition

SoSFEnum PoPieChart::extAnnotPosition

Exterior annotation position.

Definition at line 418 of file PoPieChart.h.

◆ extAnnotTextFontName

SoSFString PoPieChart::extAnnotTextFontName

Exterior text (texts of sliceText field) font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 457 of file PoPieChart.h.

◆ extAnnotTextFontSize

SoSFFloat PoPieChart::extAnnotTextFontSize

Font size of exterior texts (texts of sliceText field).

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 465 of file PoPieChart.h.

◆ extAnnotTextVisibility

SoSFBool PoPieChart::extAnnotTextVisibility

Exterior text visibility (texts of sliceText field).

Definition at line 428 of file PoPieChart.h.

◆ extAnnotValueFontName

SoSFString PoPieChart::extAnnotValueFontName

Exterior value (values of sliceValue field) font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 473 of file PoPieChart.h.

◆ extAnnotValueFontSize

SoSFFloat PoPieChart::extAnnotValueFontSize

Font size of exterior values (values of sliceValue field).

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 481 of file PoPieChart.h.

◆ extAnnotValueVisibility

SoSFBool PoPieChart::extAnnotValueVisibility

Exterior value visibility (values of sliceValue field).

Definition at line 433 of file PoPieChart.h.

◆ intAnnotAddString

SoSFString PoPieChart::intAnnotAddString

String concatened with interior values.

Definition at line 354 of file PoPieChart.h.

◆ intAnnotAddStringVisibility

SoSFBool PoPieChart::intAnnotAddStringVisibility

Specify the visibility of a string concatenated with the interior values (if they are visible).

Definition at line 349 of file PoPieChart.h.

◆ intAnnotAlignment

SoSFEnum PoPieChart::intAnnotAlignment

Interior annotation alignment.

Definition at line 327 of file PoPieChart.h.

◆ intAnnotDistance

SoSFFloat PoPieChart::intAnnotDistance

Distance from the pie chart center to the interior annotation box center.

If this value is less or equal to 0, the distance is fixed to 2/3 of the radius.

Definition at line 409 of file PoPieChart.h.

◆ intAnnotPercentFontName

SoSFString PoPieChart::intAnnotPercentFontName

Interior percentage font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 393 of file PoPieChart.h.

◆ intAnnotPercentFontSize

SoSFFloat PoPieChart::intAnnotPercentFontSize

Font size of interior percentages.

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 401 of file PoPieChart.h.

◆ intAnnotPercentVisibility

SoSFBool PoPieChart::intAnnotPercentVisibility

Interior percent visibility (percent are computed from sliceValue field)

Definition at line 343 of file PoPieChart.h.

◆ intAnnotPosition

SoSFEnum PoPieChart::intAnnotPosition

Interior annotation position.

Definition at line 322 of file PoPieChart.h.

◆ intAnnotTextFontName

SoSFString PoPieChart::intAnnotTextFontName

Interior text (texts of sliceText field) font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 362 of file PoPieChart.h.

◆ intAnnotTextFontSize

SoSFFloat PoPieChart::intAnnotTextFontSize

Font size of interior texts (texts of sliceText field).

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 370 of file PoPieChart.h.

◆ intAnnotTextVisibility

SoSFBool PoPieChart::intAnnotTextVisibility

Interior text visibility (texts of sliceText field).

Definition at line 332 of file PoPieChart.h.

◆ intAnnotValueFontName

SoSFString PoPieChart::intAnnotValueFontName

Interior value (values of sliceValue field) font name.

If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.

Definition at line 378 of file PoPieChart.h.

◆ intAnnotValueFontSize

SoSFFloat PoPieChart::intAnnotValueFontSize

Font size of interior values (values of sliceValue field).

If this value is less or equal to 0, the font size is fixed at 0.025. This value is a percentage of the current domain (cf PoBase description).

Definition at line 386 of file PoPieChart.h.

◆ intAnnotValueVisibility

SoSFBool PoPieChart::intAnnotValueVisibility

Interior value visibility (values of sliceValue field).

Definition at line 337 of file PoPieChart.h.

◆ radius

SoSFFloat PoPieChart::radius

Radius of the pie chart.

Definition at line 286 of file PoPieChart.h.

◆ sliceAngleStep

SoSFFloat PoPieChart::sliceAngleStep

Slice are approximated by a polygon, that is a sequence of straight line segments.

sliceAngleStep is the angle formed by two consecutive points of the polygon relative to the center of the slice.

Definition at line 590 of file PoPieChart.h.

◆ sliceColor

SoMFColor PoPieChart::sliceColor

Color associated to each slice of the pie chart.

If sliceColor.getNum() < sliceText.getNum(), then the interpretation of sliceColor is cyclical.

Definition at line 313 of file PoPieChart.h.

◆ sliceGroupActive

SoSFBool PoPieChart::sliceGroupActive

Activate or Deactivate the regrouping of small values.

Definition at line 548 of file PoPieChart.h.

◆ sliceGroupFlagMin

SoSFEnum PoPieChart::sliceGroupFlagMin

Indicate if the value sliceGroupMinValue is interpreted as percentage (PERCENTAGE) or not (ABSOLUTE).

Use enum PercentStatus.

Definition at line 560 of file PoPieChart.h.

◆ sliceGroupMinValue

SoSFFloat PoPieChart::sliceGroupMinValue

Threshold underneath the slice are regrouped.

Definition at line 553 of file PoPieChart.h.

◆ sliceGroupString

SoSFString PoPieChart::sliceGroupString

String for the regrouping slice.

Definition at line 565 of file PoPieChart.h.

◆ sliceText

SoMFString PoPieChart::sliceText

Text associated to each slice of the pie chart.

Take care that sliceText.getNum() is equal to sliceValue.getNum(), otherwise the number of slices of the pie chart is the minimun of sliceText.getNum() and sliceValue.getNum().

Definition at line 298 of file PoPieChart.h.

◆ sliceToTranslateNumber

SoMFShort PoPieChart::sliceToTranslateNumber

Numbers (slice numbers begin at 0) of the slices to translate.

sliceToTranslateNumber[i] is the number of the i-th slice to translate. If sliceToTranslateNumber[i] is less than zero, it corresponds to the slice of regrouping small values.

Definition at line 577 of file PoPieChart.h.

◆ sliceToTranslateValue

SoMFFloat PoPieChart::sliceToTranslateValue

Translation values along the bisectors of the slices.

sliceToTranslateValue[i] is the translate value along the bisector of the i-th slice.

Definition at line 583 of file PoPieChart.h.

◆ sliceValue

SoMFFloat PoPieChart::sliceValue

Value associated to each slice of the pie chart.

Take care that sliceText.getNum() is equal to sliceValue.getNum(), otherwise the number of slices of the pie chart is the minimun of sliceText.getNum() and sliceValue.getNum().

Definition at line 306 of file PoPieChart.h.


The documentation for this class was generated from the following file: