27#include <MeshViz/graph/PoGraphMaster.h>
29#include <Inventor/fields/SoSFVec2f.h>
30#include <Inventor/fields/SoSFEnum.h>
31#include <Inventor/fields/SoSFFloat.h>
32#include <Inventor/fields/SoMFColor.h>
33#include <Inventor/fields/SoSFBool.h>
34#include <Inventor/fields/SoSFString.h>
77 SO_KIT_CATALOG_ENTRY_HEADER(transform) ;
79 SO_KIT_CATALOG_ENTRY_HEADER(barSep) ;
80 SO_KIT_CATALOG_ENTRY_HEADER(barApp) ;
81 SO_KIT_CATALOG_ENTRY_HEADER(bar) ;
83 SO_KIT_CATALOG_ENTRY_HEADER(valueTextSep) ;
84 SO_KIT_CATALOG_ENTRY_HEADER(valueTextApp) ;
85 SO_KIT_CATALOG_ENTRY_HEADER(valueText) ;
87 SO_KIT_CATALOG_ENTRY_HEADER(nameTextSep) ;
88 SO_KIT_CATALOG_ENTRY_HEADER(nameTextApp) ;
89 SO_KIT_CATALOG_ENTRY_HEADER(nameText) ;
399 static void initClass() ;
400 static void exitClass() ;
423 HistogAttr m_histogAttr ;
426 virtual void setDefaultOnNonWritingFields() ;
430 virtual void basicObjectChange(
PbBase *basicObj) ;
432 virtual void setDefaultAttr() ;
433 virtual void colorBars(
SoGroup *group) ;
444 static void computeTextPos(
const SbVec2f *rectangle,
Position textPos,
float
445 fontSize,
SbVec2f &pointText) ;
448 static void computeTextAlignPath(
Position textPos,
TextPath path, PiText *text) ;
451 virtual void addElementsAllCaches() ;
452 virtual void preRebuild() ;
465 FieldSensorList m_fieldSensorList ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for all b...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for data ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to define a numeri...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for histo...
BarSpaceType
Type of spacing between bars.
@ REL_SPACE
Relative histogram bar spacing.
@ FIXED_SPACE
Fixed histogram bar spacing.
SoSFString valueAddString
String to be concatenated.
SoSFEnum valuePosition
Values position in relation to histogram bars.
SoSFString valueFontName
Font name of values.
SoSFFloat end
Define the end point of the histogram.
void setDataMapping(PbDataMapping *dataMapping)
Sets a reference to a PbDataMapping object to the association color-value for coloring the bars.
SoSFEnum namePath
Bars names path.
SoSFEnum valueVisibility
Values visibility.
SoSFString nameFontName
Font name of bars names.
Visibility
Type of visibility.
@ VISIBILITY_OFF
Invisible.
SoSFBool valueAddStringVisibility
Visibility of the string concatenated to the values.
void setFormat(PbNumericDisplayFormat *format)
Sets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the...
const PbDataMapping * getDataMapping() const
Gets a reference to a PbDataMapping object to the association color-value for coloring the bars.
const PbMiscTextAttr * getMiscTextAttr() const
Gets a reference to a PbMiscTextAttr for miscellaneous text attributes.
SoSFFloat nameFontSize
Font size of bars names.
Position
Type of positions relative to a histogram bar.
@ POS_TOP_IN
At the top inside the bar.
@ POS_BOTTOM_OUT
At the bottom outside the bar.
@ POS_LEFT_OUT
At the left outside the bar.
@ POS_RIGHT_OUT
At the right outside the bar.
@ POS_DEPEND
Depends on the type of histogram.
@ POS_BOTTOM_IN
At the bottom inside the bar.
@ POS_TOP_OUT
At the top outside the bar.
@ POS_CENTER
Centered in the bar.
@ POS_RIGHT_IN
At the right inside the bar.
@ POS_LEFT_IN
At the left inside the bar.
SoSFFloat barSpaceValue
Spacing value.
TextPath
Type of text path.
@ PATH_DOWN
Writing from top to bottom.
@ PATH_LEFT
Writing from right to left.
@ PATH_DEPEND
Depends on the type of histogram.
@ PATH_UP
Writing from bottom to top.
@ PATH_RIGHT
Writing from left to right.
SoSFEnum nameVisibility
Bars names visibility.
SoSFEnum coloring
Specifies how the histogram bars are colored.
SoSFEnum namePosition
Bars names position in relation to histograms bars.
const PbNumericDisplayFormat * getFormat() const
Gets a reference to a PbNumericDisplayFormat object for the numerical display format of values of the...
void setMiscTextAttr(PbMiscTextAttr *textAttr)
Sets a reference to a PbMiscTextAttr for miscellaneous text attributes.
Type
Type of orientation of the histogram's bars.
@ Y
Histogram bars are perpendicular to Y-Axis.
@ X
Histogram bars are perpendicular to X-Axis.
SoSFEnum type
Defines if the histogram is an X histogram (bars are perpendicular to the X- axis) or a Y histogram (...
SoSFVec2f start
Define the start point of the histogram.
SoMFColor color
Color list for the histogram bars.
SoSFFloat valueFontSize
Font size of values.
Coloring
Type of coloration of the bars.
@ COLOR_LIST
Histogram bars are colored by a list of colors.
@ DATA_MAPPING
Histogram bars are colored by data mapping.
SoSFEnum barSpaceType
Type of bar spacing.
SoSFEnum valuePath
Values path.
Class for smart character strings.
Maintains a list of pointers to fields.
Base class for all group nodes.
Multiple-value field containing any number of RGB colors stored as three floats.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a string.
Field containing a two-dimensional vector.