Class to return information about a GA_Detail.
More...
#include <GA_Stat.h>
|
| GA_Stat () |
|
| ~GA_Stat () |
|
void | clear () |
|
const UT_Options & | getInfoOptions () const |
|
void | setInfoOptions (const UT_Options &info, const char *bounds_name="bounds") |
|
void | output (UT_WorkBuffer &buffer, GA_STAT_LEVEL level, bool pretty_print) const |
| Common output. More...
|
|
void | outputAttributes (UT_WorkBuffer &buffer, bool pretty_print) const |
| Output attribute information only. This appends to the work buffer. More...
|
|
void | outputGroups (UT_WorkBuffer &buffer, bool pretty_print) const |
| Output attribute information only. This appends to the work buffer. More...
|
|
void | outputVolumes (UT_WorkBuffer &buffer, bool pretty_print) const |
| Output volume information only. This appends to the work buffer. More...
|
|
|
GA_Size | getPointCount () const |
|
GA_Size | getVertexCount () const |
|
GA_Size | getPrimitiveCount () const |
|
void | setPointCount (GA_Size sz) |
|
void | setVertexCount (GA_Size sz) |
|
void | setPrimitiveCount (GA_Size sz) |
|
|
void | setPrecision (GA_Precision prec) |
|
GA_Precision | getPrecision () const |
|
|
void | clearAllAttributes () |
|
void | clearAttributes (GA_AttributeOwner owner) |
|
void | appendAttribute (GA_AttributeOwner owner, const ga_StatAttribute &attrib) |
|
GA_Size | getAttributeCount (GA_AttributeOwner owner) const |
|
const ga_StatAttribute & | getAttribute (GA_AttributeOwner owner, GA_Size i) const |
|
|
void | clearAllGroups () |
|
void | clearGroups (GA_GroupType gtype) |
|
void | appendGroup (GA_GroupType gtype, const ga_StatGroup &group) |
|
GA_Size | getGroupCount (GA_GroupType gtype) const |
|
const ga_StatGroup & | getGroup (GA_GroupType gtype, GA_Size i) const |
|
|
void | clearPrimitiveTypes () |
|
void | appendPrimitive (const UT_StringHolder &type_name) |
|
void | setPrimitiveCount (const UT_StringHolder &type_name, GA_Size count) |
|
GA_Size | getPrimitiveTypeCount (const UT_StringRef &type_name) const |
|
void | getPrimitiveTypes (UT_StringArray &type_names) const |
|
|
void | clearVolumes () |
|
void | appendVolume (GA_Index idx, const char *name, int rx, int ry, int rz) |
|
int | getNumVolumes () const |
|
const ga_StatVolume & | getVolume (int idx) const |
|
|
const UT_BoundingBox & | getBounds () const |
|
void | setBounds (const UT_BoundingBox &b) |
|
void | setIO (const GA_IO *io) |
|
const GA_IO * | getIO () const |
|
Class to return information about a GA_Detail.
This class is filled out by the GA_Detail::stat() methods.
Definition at line 50 of file GA_Stat.h.
Group information. Availability: level >= GA_STAT_NORMAL
Definition at line 234 of file GA_Stat.h.
Primitive interface Availability: level >= GA_STAT_FULL
Definition at line 274 of file GA_Stat.h.
Volume interface Availability: level >= GA_STAT_FULL
Definition at line 309 of file GA_Stat.h.
void GA_Stat::clearAllAttributes |
( |
| ) |
|
|
inline |
void GA_Stat::clearAllGroups |
( |
| ) |
|
|
inline |
Group information. Availability: level >= GA_STAT_NORMAL
Definition at line 222 of file GA_Stat.h.
Group information. Availability: level >= GA_STAT_NORMAL
Definition at line 230 of file GA_Stat.h.
void GA_Stat::clearPrimitiveTypes |
( |
| ) |
|
|
inline |
Primitive interface Availability: level >= GA_STAT_FULL
Definition at line 270 of file GA_Stat.h.
void GA_Stat::clearVolumes |
( |
| ) |
|
|
inline |
Volume interface Availability: level >= GA_STAT_FULL
Definition at line 305 of file GA_Stat.h.
Get bounding box Availability: level >= GA_STAT_FULL
Definition at line 320 of file GA_Stat.h.
Group information. Availability: level >= GA_STAT_NORMAL
Definition at line 242 of file GA_Stat.h.
Group information. Availability: level >= GA_STAT_NORMAL
Definition at line 238 of file GA_Stat.h.
const UT_Options& GA_Stat::getInfoOptions |
( |
| ) |
const |
|
inline |
Get the info block options which were set by the stat() operation Special options that will be used for quick stats (when the stat level is STAT_LEVEL_BRIEF.
- string primcount_summary
- string attribute_summary
- string group_summary If possible, the file format should set these from any header information.
Definition at line 257 of file GA_Stat.h.
const GA_IO* GA_Stat::getIO |
( |
| ) |
const |
|
inline |
Set/get the GA_IO which performed the stat
Definition at line 341 of file GA_Stat.h.
int GA_Stat::getNumVolumes |
( |
| ) |
const |
|
inline |
Volume interface Availability: level >= GA_STAT_FULL
Definition at line 313 of file GA_Stat.h.
GA_Size GA_Stat::getPointCount |
( |
| ) |
const |
|
inline |
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 173 of file GA_Stat.h.
Get/Set the preferred precision Availability: level >= GA_STAT_BRIEF
Definition at line 186 of file GA_Stat.h.
GA_Size GA_Stat::getPrimitiveCount |
( |
| ) |
const |
|
inline |
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 175 of file GA_Stat.h.
Primitive interface Availability: level >= GA_STAT_FULL
Definition at line 283 of file GA_Stat.h.
Primitive interface Availability: level >= GA_STAT_FULL
Definition at line 290 of file GA_Stat.h.
GA_Size GA_Stat::getVertexCount |
( |
| ) |
const |
|
inline |
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 174 of file GA_Stat.h.
Volume interface Availability: level >= GA_STAT_FULL
Definition at line 314 of file GA_Stat.h.
Output attribute information only. This appends to the work buffer.
Output attribute information only. This appends to the work buffer.
Output volume information only. This appends to the work buffer.
Get bounding box Availability: level >= GA_STAT_FULL
Definition at line 321 of file GA_Stat.h.
void GA_Stat::setInfoOptions |
( |
const UT_Options & |
info, |
|
|
const char * |
bounds_name = "bounds" |
|
) |
| |
Set the info block options stored in the file If a float array option is found with the bounds_name
, it will be used to initialize the bounding box of the stat.
The file stat should set these options if possible.
void GA_Stat::setIO |
( |
const GA_IO * |
io | ) |
|
|
inline |
Set/get the GA_IO which performed the stat
Definition at line 340 of file GA_Stat.h.
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 177 of file GA_Stat.h.
Get/Set the preferred precision Availability: level >= GA_STAT_BRIEF
Definition at line 185 of file GA_Stat.h.
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 179 of file GA_Stat.h.
Primitive interface Availability: level >= GA_STAT_FULL
Definition at line 278 of file GA_Stat.h.
Get/Set the number of elements in the detail Availability: level >= GA_STAT_BRIEF
Definition at line 178 of file GA_Stat.h.
The documentation for this class was generated from the following file: