public

Inheritance Graph

graph BT
	Statistics
	click Statistics "classMinSG_1_1VisibilityMerge_1_1Statistics"

Description

Public Functions

   
   
  Statistics(const std::string & fileName)
   
  ~Statistics()
   
unsigned int getPass() const
   
void perPass(double duration, size_t numMerges)
   
void perList(const VisibilitySubdivision::visibility_sharer_map_t & lists)
   
void perCell(const VisibilitySubdivision::cell_set_t & cells)
   
void perObject(const VisibilitySubdivision::sorted_object_set_t & objects)

Public Static Functions

   
   
void perRun(const std::string & fileName, const std::string & timeStamp, const std::string & description, size_t wsSize, VisibilitySubdivision::costs_t trianglesMinLimit, VisibilitySubdivision::costs_t objectCountLimit, VisibilitySubdivision::costs_t cellCountLimit, unsigned int passBoundary)

Documentation

function
MinSG::VisibilityMerge::Statistics::Statistics

public
     
     
Statistics( const std::string & fileName )

Constructor the statistics object by opening the output file.

Parameters

fileName
Store the tab separated data into the file given by this parameter.

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:33


function
MinSG::VisibilityMerge::Statistics::~Statistics

public
   
   
~Statistics( )

Destructor closes the output file.

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:38


function
MinSG::VisibilityMerge::Statistics::getPass

public const inline
   
   
unsigned int getPass( ) const

Return the value of the current pass counter.

Returns

Number of the current pass.

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:45


function
MinSG::VisibilityMerge::Statistics::perPass

public
     
     
void perPass( double duration,
  size_t numMerges
)    

Generate and output statistics for a single pass of a run.

Parameters

time
Duration of pass
numMerges
Number of merges done during pass

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:77


function
MinSG::VisibilityMerge::Statistics::perList

public
     
     
void perList( const VisibilitySubdivision::visibility_sharer_map_t & lists )

Generate and output statistics for individual visibility list. This includes the number of objects and the number of triangles which are visible from a visibility list.

Parameters

lists
Visibility lists of a visibility subdivision

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:86


function
MinSG::VisibilityMerge::Statistics::perCell

public
     
     
void perCell( const VisibilitySubdivision::cell_set_t & cells )

Generate and output statistics for individual visibility cells. This includes the number of objects and the number of triangles which are visible from a visibility cell.

Parameters

cells
Cells of a visibility subdivision

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:95


function
MinSG::VisibilityMerge::Statistics::perObject

public
     
     
void perObject( const VisibilitySubdivision::sorted_object_set_t & objects )

Generate and output statistics for individual objects. This includes the number of triangles and the volume of an object.

Parameters

objects
Object space

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:104


function
MinSG::VisibilityMerge::Statistics::perRun

public static
     
     
void perRun( const std::string & fileName,
  const std::string & timeStamp,
  const std::string & description,
  size_t wsSize,
  VisibilitySubdivision::costs_t trianglesMinLimit,
  VisibilitySubdivision::costs_t objectCountLimit,
  VisibilitySubdivision::costs_t cellCountLimit,
  unsigned int passBoundary
)    

Generate and output statistics for a whole run. Generates a file with only one data row. In addition to the parameters output a time stamp.

Parameters

fileName
Store the tab separated data into the file given by this parameter.
timeStamp
Time stamp in seconds.
description
Text description of the run.
wsSize
Size of the working set.
trianglesMinLimit
Minimum object triangle limit of run.
objectCountLimit
Maximum number of objects of run.
cellCountLimit
Maximum number of cells of run.
passBoundary
First pass number of the view space reduction. This number separates the object space reduction from the view space reduction.

Defined in MinSG/Ext/VisibilityMerge/Statistics.h:67