Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ADFAnalyzer Class Reference

#include <adf.h>

Inheritance diagram for ADFAnalyzer:

Inheritance graph
[legend]
Collaboration diagram for ADFAnalyzer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Statistics-gathering for an ADF.

Definition at line 283 of file adf.h.

Public Member Functions

 ADFAnalyzer ()
 ~ADFAnalyzer ()
virtual bool iterate (OctreeTraversalNode *np)
virtual void report_statistics ()
virtual void report_statistics_at_depth (int d)
virtual void reset ()

Public Attributes

int * node_type_countsp [4]


Constructor & Destructor Documentation

ADFAnalyzer::ADFAnalyzer  )  [inline]
 

Definition at line 286 of file adf.h.

References node_type_countsp.

ADFAnalyzer::~ADFAnalyzer  )  [inline]
 

Definition at line 294 of file adf.h.

References node_type_countsp.


Member Function Documentation

bool ADFAnalyzer::iterate OctreeTraversalNode np  )  [virtual]
 

Reimplemented from OctreeAnalyzer.

Definition at line 931 of file adf.cpp.

References OctreeTraversalNode::depth, OctreeAnalyzer::iterate(), Octree::max_actual_depth, ADFNode::node_type, node_type_countsp, OctreeTraversalNode::nodep, and OctreeAnalyzer::octreep.

void ADFAnalyzer::report_statistics  )  [virtual]
 

Reimplemented from OctreeAnalyzer.

Definition at line 965 of file adf.cpp.

References ADF_NODE_EXTERIOR, ADF_NODE_INTERIOR, ADF_NODE_LEAF, Octree::max_actual_depth, node_type_countsp, OctreeAnalyzer::octreep, OctreeAnalyzer::report_statistics(), ADF::sample_map, and hashmap< ADFSampleAddress, ADFSample, ADFSampleHasher, ADFSampleMap >::size().

Referenced by main().

void ADFAnalyzer::report_statistics_at_depth int  d  )  [virtual]
 

Reimplemented from OctreeAnalyzer.

Definition at line 956 of file adf.cpp.

References ADF_NODE_EXTERIOR, ADF_NODE_INTERIOR, ADF_NODE_LEAF, node_type_countsp, and OctreeAnalyzer::report_statistics_at_depth().

void ADFAnalyzer::reset  )  [virtual]
 

Reimplemented from OctreeAnalyzer.

Definition at line 987 of file adf.cpp.

References node_type_countsp, and OctreeAnalyzer::reset().


Member Data Documentation

int* ADFAnalyzer::node_type_countsp[4]
 

Definition at line 313 of file adf.h.

Referenced by ADFAnalyzer(), iterate(), report_statistics(), report_statistics_at_depth(), reset(), and ~ADFAnalyzer().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:01:56 2004 for Advanced Surface Library by doxygen 1.3.4