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

MeshViz Class for 3D pie chart representation. More...

#include <MeshViz/graph/PoPieChart3D.h>

+ Inheritance diagram for PoPieChart3D:

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.
 
 PoPieChart3D ()
 Default constructor.
 
 PoPieChart3D (const SbVec3f &_center, float _zCenter2, float _radius, short numSlices, const char **sliceTexts, const float *sliceValues, int numSliceColors, const SbColor *sliceColors)
 Constructor.
 
virtual void rebuild ()
 Forces node-kit rebuilding.
 
- Public Member Functions inherited from PoPieChart
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.
 
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 PoPieChart
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

SoSFVec3f center
 Coordinates of the center of the circle forming the first face of the pie chart.
 
SoSFFloat zCenter2
 Z coordinate of the center of the circle forming the second face of the pie chart.
 
- Public Attributes inherited from PoPieChart
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.
 

Additional Inherited Members

- Public Types inherited from PoPieChart
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)
 

Detailed Description

MeshViz Class for 3D pie chart representation.

Class to build a 2D pie chart in the plane XY.

FILE FORMAT/DEFAULT

    PoPieChart3D {
    radius 1
    sliceText ""
    sliceValue 0.0
    sliceColor 0.0 0.0 0.0
    intAnnotPosition HOR_INT_POS
    intAnnotAlignment CENTER_ALIGN
    intAnnotTextVisibility FALSE
    intAnnotValueVisibility TRUE
    intAnnotPercentVisibility FALSE
    intAnnotAddStringVisibility FALSE
    intAnnotTextFontName ""
    intAnnotTextFontSize 0.0
    intAnnotValueFontName ""
    intAnnotValueFontSize 0.0
    intAnnotPercentFontName ""
    intAnnotPercentFontSize 0.0
    intAnnotAddString ""
    intAnnotDistance 0.0
    extAnnotPosition HOR_EXT_POS
    extAnnotAlignment INWARDS_ALIGN
    extAnnotTextVisibility TRUE
    extAnnotValueVisibility FALSE
    extAnnotPercentVisibility FALSE
    extAnnotAddStringVisibility FALSE
    extAnnotTextFontName ""
    extAnnotTextFontSize 0.0
    extAnnotValueFontName ""
    extAnnotValueFontSize 0.0
    extAnnotPercentFontName ""
    extAnnotPercentFontSize 0.0
    extAnnotAddString ""
    extAnnotDistance1 0.0
    extAnnotDistance2 0.0
    extAnnotDistance3 0.0
    arrowVisibility TRUE
    arrowHeight 0.0
    arrowWidth 0.0
    sliceGroupActive TRUE
    sliceGroupMinValue 5.0
    sliceGroupFlagMin PERCENTAGE
    sliceGroupString "Others"
    sliceToTranslateNumber 0
    sliceToTranslateValue 0.0
    sliceAngleStep PI/90
    center 0.0 0.0
    zCenter2 1.0
    }

    CATALOG PARTS

      PoPieChart3D {

        Separator alternateRep (from PoBase) {

          AppearanceKit appearance (from PoBase)

          Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.

          MatrixTransform domainTransform (from PoBase)

          Corresponds to the domain transformation.

          Separator sliceSep (from PoPieChart) {

          Contains properties and shapes to draw the slices of the pie chart.

            AppearanceKit sliceApp (from PoPieChart)

            Specifies the appearance of slices of the pie chart. By default lightModel.model=PHONG.

            Group slice (from PoPieChart)

    Contains for each slice an optional SoMaterial, a SoCoordinate3 and a SoFaceSet to draw the slices of the pie chart. Each SoFaceSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs). A SoShapeHints is inserted as first child of this group.

          }

          Separator sliceBorderSep (from PoPieChart) {

          Contains properties and shapes to draw the slice borders of the pie chart.

            AppearanceKit sliceBorderApp (from PoPieChart)

            Specifies the appearance of slice borders of the pie chart.

            Group sliceBorder (from PoPieChart)

            Contains a list of SoLineSet shapes to draw the slice borders of the pie chart. Each SoLineSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator extAnnotBoxSep (from PoPieChart) {

          Contains properties and shapes to draw the box of exterior annotations of the pie chart.

            AppearanceKit extAnnotBoxApp (from PoPieChart)

            Specifies the appearance of box of exterior annotations of the pie chart. By default material.diffuseColor is set to SbColor(0, 0, 0).

            Group extAnnotBox (from PoPieChart)

            Contains a list SoFaceSet shapes to draw the box of exterior annotations of the pie chart. Each SoFaceSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator extAnnotBoxBorderSep (from PoPieChart) {

          Contains properties and shapes to draw the box borders of exterior annotations of the pie chart.

            AppearanceKit extAnnotBoxBorderApp (from PoPieChart)

            Specifies the appearance of box borders of exterior annotations of the pie chart.

            Group extAnnotBoxBorder(from PoPieChart)

            Contains a list SoLineSet shapes to draw the box borders of exterior annotations of the pie chart. Each SoLineSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator extAnnotTextSep (from PoPieChart) {

          Contains properties and shapes to draw the texts (of sliceText field) of exterior annotations of the pie chart.

            AppearanceKit extAnnotTextApp (from PoPieChart)

            Specifies the appearance of texts of exterior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group extAnnotText(from PoPieChart)

            Contains a list SoAnnoText3 to draw the texts of exterior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator extAnnotValueSep (from PoPieChart) {

          Contains properties and shapes to draw the values (of sliceValue field) of exterior annotations of the pie chart.

            AppearanceKit extAnnotValueApp (from PoPieChart)

            Specifies the appearance of values of exterior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group extAnnotValue (from PoPieChart)

            Contains a list SoAnnoText3 to draw the values of exterior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator extAnnotPercentSep (from PoPieChart) {

          Contains properties and shapes to draw the percentages of exterior annotations of the pie chart.

            AppearanceKit extAnnotPercentApp (from PoPieChart)

            Specifies the appearance of percentages of exterior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group extAnnotPercent (from PoPieChart)

            Contains a list SoAnnoText3 to draw the percentages of exterior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator arrowSep (from PoPieChart) {

          Contains properties and shapes to draw the arrow between slices and exterior annotations.

            AppearanceKit arrowApp (from PoPieChart)

            Specifies the appearance of arrows.

            Group arrow(from PoPieChart)

            Contains a list of couple (SoLineSet, SoFaceSet) to draw the arrows. Each SoLineSet and SoFaceSet (cf setName() method of SoBase) are named SliceXXX (XXX is the number of slice that the shapes belong).

          }

          Separator intAnnotBoxSep (from PoPieChart) {

          Contains properties and shapes to draw the box of interior annotations of the pie chart.

            AppearanceKit intAnnotBoxApp (from PoPieChart)

            Specifies the appearance of box of interior annotations of the pie chart. By default material.diffuseColor is set to SbColor(0, 0, 0).

            Group intAnnotBox (from PoPieChart)

            Contains a list SoFaceSet shapes to draw the box of interior annotations of the pie chart. Each SoFaceSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator intAnnotBoxBorderSep (from PoPieChart) {

          Contains properties and shapes to draw the box borders of interior annotations of the pie chart.

            AppearanceKit intAnnotBoxBorderApp (from PoPieChart)

            Specifies the appearance of box borders of interior annotations of the pie chart.

            Group intAnnotBoxBorder(from PoPieChart)

            Contains a list SoLineSet shapes to draw the box borders of interior annotations of the pie chart. Each SoLineSet (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator intAnnotTextSep (from PoPieChart) {

          Contains properties and shapes to draw the texts (of sliceText field) of interior annotations of the pie chart.

            AppearanceKit intAnnotTextApp (from PoPieChart)

            Specifies the appearance of texts of interior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group intAnnotText(from PoPieChart)

            Contains a list SoAnnoText3 to draw the texts of interior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator intAnnotValueSep (from PoPieChart) {

          Contains properties and shapes to draw the values (of sliceValue field) of interior annotations of the pie chart.

            AppearanceKit intAnnotValueApp (from PoPieChart)

            Specifies the appearance of values of interior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group intAnnotValue (from PoPieChart)

            Contains a list SoAnnoText3 to draw the values of interior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

          Separator intAnnotPercentSep (from PoPieChart) {

          Contains properties and shapes to draw the percentages of interior annotations of the pie chart.

            AppearanceKit intAnnotPercentApp (from PoPieChart)

            Specifies the appearance of percentages of interior annotations of the pie chart. By default drawStyle.style=LINES. font.size and font.name are set when the kit is rebuilt.

            Group intAnnotPercent (from PoPieChart)

            Contains a list SoAnnoText3 to draw the percentages of interior annotations of the pie chart. Each SoAnnoText3 (cf setName() method of SoBase) is named SliceXXX (XXX is the number of slice that the shape belongs).

          }

        }

      }

    Definition at line 96 of file PoPieChart3D.h.

Constructor & Destructor Documentation

◆ PoPieChart3D() [1/2]

PoPieChart3D::PoPieChart3D ( )

Default constructor.

◆ PoPieChart3D() [2/2]

PoPieChart3D::PoPieChart3D ( const SbVec3f _center,
float  _zCenter2,
float  _radius,
short  numSlices,
const char **  sliceTexts,
const float *  sliceValues,
int  numSliceColors,
const SbColor sliceColors 
)

Constructor.

Member Function Documentation

◆ getClassNodekitCatalog()

static const SoNodekitCatalog * PoPieChart3D::getClassNodekitCatalog ( )
static

Returns the SoNodekitCatalog for this class.

◆ getClassTypeId()

static SoType PoPieChart3D::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getNodekitCatalog()

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

Returns the SoNodekitCatalog for this instance.

Reimplemented from PoPieChart.

◆ getTypeId()

virtual SoType PoPieChart3D::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Reimplemented from PoPieChart.

◆ rebuild()

virtual void PoPieChart3D::rebuild ( )
virtual

Forces node-kit rebuilding.

See PoBase.

Reimplemented from PoBase.

Member Data Documentation

◆ center

SoSFVec3f PoPieChart3D::center

Coordinates of the center of the circle forming the first face of the pie chart.

Definition at line 107 of file PoPieChart3D.h.

◆ zCenter2

SoSFFloat PoPieChart3D::zCenter2

Z coordinate of the center of the circle forming the second face of the pie chart.

Definition at line 112 of file PoPieChart3D.h.


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