Changeset 587
- Timestamp:
- 03/09/07 08:43:36 (2 years ago)
- Files:
-
- trunk/Doc/to_port/Statistics.dox (deleted)
- trunk/Doc/to_port/Window.dox (modified) (2 diffs)
- trunk/Source/System/Statistics/Base/OSGStatisticsForeground.fcd (modified) (2 diffs)
- trunk/Source/System/Statistics/Base/OSGStatisticsForeground.h (modified) (4 diffs)
- trunk/Source/System/Statistics/Base/OSGStatisticsForegroundBase.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Doc/to_port/Window.dox
r585 r587 21 21 22 22 See \ref PageSystemWindowForegrounds for a description. 23 */24 25 /*! \defgroup GrpSystemWindowStatisticsForegrounds Statistics Foregrounds26 \ingroup Foregrounds27 28 Statistics Foregrounds are used to add statistics information after the29 viewport is rendered.30 31 See \ref PageSystemWindowForegroundStatistics for a description.32 */33 34 /*! \defgroup GrpSystemWindowBackgrounds Backgrounds35 \ingroup GrpSystemWindow36 37 Backgrounds are responsible for clearing the viewport before rendering.38 39 See \ref PageSystemWindowBackground for a description.40 23 */ 41 24 … … 549 532 \endhint 550 533 551 \subsection PageSystemWindowForegroundStatistics Statistics Foregrounds552 553 The descendents of osg::StatisticsForeground can be used to print or draw554 Statistics elements on the rendered image.555 556 The osg::StatisticsCollector that is used to collect the elements needs to be557 set in the foreground, as well as the list of osg::StatElemDesc IDs that558 should be displayed.559 560 \subsection PageSystemWindowForegroundStatisticsSimple Simple Statistics Foreground561 562 \b NOTE: The osg::SimpleStatisticsForeground is still considered experimental563 and can and probably will change!564 565 osg::SimpleStatisticsForeground displays the statistics info as simple text566 lines. They are displayed using a compiled-in font that can use an arbitrary567 color and that can be arbitrarily resized, with the size per line given in568 pixel.569 570 The format of every element is given by a format string for every element that571 is directly passed to osg::StatElem::putToString(), so go there to see the572 possible options.573 574 If no elementIDs are given all elements in the osg::StatCollector are display,575 using the default format.576 577 \subsection PageSystemWindowForegroundStatisticsGraphic Graphic Statistics Foreground578 579 \b NOTE: The osg::GraphicStatisticsForeground is still considered experimental580 and can and probably will change!581 582 osg::GraphicStatisticsForeground displays the statistics info as one of a set583 of graphical elements. The possible elements are:584 534 585 535 <ul> trunk/Source/System/Statistics/Base/OSGStatisticsForeground.fcd
r439 r587 11 11 decoratable="false" 12 12 > 13 \ingroup GrpSystemWindowForegrounds14 15 13 StatisticsForeground is the base class for all foregrounds that process 16 14 statistics. Decendents of this class can be used to print or draw Statistics … … 26 24 directly and present them to the user in another way such as a GUI or text output. 27 25 28 See \ref PageSystemWindowForegroundStatistics for a description. 26 The format of every element is given by a format string for every element that 27 is directly passed to osg::StatElem::putToString(), so go there to see the 28 possible options. 29 30 If no elementIDs are given all elements in the osg::StatCollector are display, 31 using the default format. 32 33 See \guide(Statistics) for further details. 29 34 <Field 30 35 name="elementIDs" trunk/Source/System/Statistics/Base/OSGStatisticsForeground.h
r106 r587 47 47 OSG_BEGIN_NAMESPACE 48 48 49 /*! \brief Statistics Foregrounds base class. See \ref 50 PageSystemWindowForegroundStatistics for a description. 49 /*! \brief Statistics Foregrounds base class. 51 50 */ 52 53 class OSG_SYSTEM_DLLMAPPING StatisticsForeground : 51 class OSG_SYSTEM_DLLMAPPING StatisticsForeground : 54 52 public StatisticsForegroundBase 55 53 { … … 64 62 /*! \{ */ 65 63 66 virtual void changed(ConstFieldMaskArg whichField, 64 virtual void changed(ConstFieldMaskArg whichField, 67 65 UInt32 origin ); 68 66 … … 72 70 /*! \{ */ 73 71 74 virtual void dump( UInt32 uiIndent = 0, 72 virtual void dump( UInt32 uiIndent = 0, 75 73 const BitVector bvFlags = 0) const; 76 74 … … 101 99 /*! \{ */ 102 100 103 virtual ~StatisticsForeground(void); 101 virtual ~StatisticsForeground(void); 104 102 105 103 /*! \} */ trunk/Source/System/Statistics/Base/OSGStatisticsForegroundBase.cpp
r564 r587 73 73 74 74 /*! \class OSG::StatisticsForeground 75 \ingroup GrpSystemWindowForegrounds76 77 75 StatisticsForeground is the base class for all foregrounds that process 78 76 statistics. Decendents of this class can be used to print or draw Statistics … … 88 86 directly and present them to the user in another way such as a GUI or text output. 89 87 90 See \ref PageSystemWindowForegroundStatistics for a description. 88 The format of every element is given by a format string for every element that 89 is directly passed to osg::StatElem::putToString(), so go there to see the 90 possible options. 91 92 If no elementIDs are given all elements in the osg::StatCollector are display, 93 using the default format. 94 95 See \guide(Statistics) for further details. 91 96 */ 92 97 … … 176 181 "\tdecoratable=\"false\"\n" 177 182 ">\n" 178 "\\ingroup GrpSystemWindowForegrounds\n"179 "\n"180 183 "StatisticsForeground is the base class for all foregrounds that process\n" 181 184 "statistics. Decendents of this class can be used to print or draw Statistics\n" … … 191 194 "directly and present them to the user in another way such as a GUI or text output.\n" 192 195 "\n" 193 "See \\ref PageSystemWindowForegroundStatistics for a description.\n" 196 "The format of every element is given by a format string for every element that\n" 197 "is directly passed to osg::StatElem::putToString(), so go there to see the\n" 198 "possible options.\n" 199 "\n" 200 "If no elementIDs are given all elements in the osg::StatCollector are display,\n" 201 "using the default format.\n" 202 "\n" 203 "See \\guide(Statistics) for further details.\n" 194 204 "\t<Field\n" 195 205 "\t\tname=\"elementIDs\"\n" … … 211 221 "\t</Field>\n" 212 222 "</FieldContainer>\n", 213 "\\ingroup GrpSystemWindowForegrounds\n"214 "\n"215 223 "StatisticsForeground is the base class for all foregrounds that process\n" 216 224 "statistics. Decendents of this class can be used to print or draw Statistics\n" … … 226 234 "directly and present them to the user in another way such as a GUI or text output.\n" 227 235 "\n" 228 "See \\ref PageSystemWindowForegroundStatistics for a description.\n" 236 "The format of every element is given by a format string for every element that\n" 237 "is directly passed to osg::StatElem::putToString(), so go there to see the\n" 238 "possible options.\n" 239 "\n" 240 "If no elementIDs are given all elements in the osg::StatCollector are display,\n" 241 "using the default format.\n" 242 "\n" 243 "See \\guide(Statistics) for further details.\n" 229 244 ); 230 245
