osg.Stats

class osg.Stats
Represents:

c++ class

Wraps:

osg::Stats

Bases:

osg.Referenced

Constructors:

osg.Stats(std.string name)

Параметры:

name (std.string) –

osg.Stats(std.string name, unsigned numberOfFrames)

Параметры:
  • name (std.string) –

  • numberOfFrames (unsigned) –

Methods:

:setName(std.string name)

Параметры:

name (std.string) –

:getName()

Тип результата:

std.string

:allocate(unsigned numberOfFrames)

Параметры:

numberOfFrames (unsigned) –

:getEarliestFrameNumber()

Тип результата:

unsigned

:getLatestFrameNumber()

Тип результата:

unsigned

:setAttribute(unsigned frameNumber, std.string attr, double val)

Параметры:
  • frameNumber (unsigned) –

  • attr (std.string) –

  • val (double) –

Тип результата:

bool

:getAttribute(unsigned frameNumber, std.string attr)

Параметры:
  • frameNumber (unsigned) –

  • attr (std.string) –

:getAveragedAttribute(std.string attr)

Параметры:

attr (std.string) –

:getAveragedAttribute(std.string attr, bool averageInInverseSpace)

Параметры:
  • attr (std.string) –

  • averageInInverseSpace (bool) –

:getAveragedAttribute(unsigned startFameNumber, unsigned endFrameNumber, std.string attr)

Параметры:
  • startFameNumber (unsigned) –

  • endFrameNumber (unsigned) –

  • attr (std.string) –

:getAveragedAttribute(unsigned startFameNumber, unsigned endFrameNumber, std.string attr, bool averageInInverseSpace)

Параметры:
  • startFameNumber (unsigned) –

  • endFrameNumber (unsigned) –

  • attr (std.string) –

  • averageInInverseSpace (bool) –

:getAttributeMap(unsigned frameNumber)

Параметры:

frameNumber (unsigned) –

Тип результата:

osg.Stats.AttributeMap

:collectStats(std.string stat, bool flag)

Параметры:
:collectStats(std.string stat)

Параметры:

stat (std.string) –

Тип результата:

bool