AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

Cluster3.C File Reference

A 3D Clusterer using signature clustering. More...

#include "DAGH.h"
#include "values.h"

Include dependency graph for Cluster3.C:

Include dependency graph

Go to the source code of this file.

Defines

#define MAXPOINTS   (10000)
#define MAXPOINTS2   (100000000)
#define MIN_EFFICIENCY   (0.4)
#define MINOFF   (4)
#define ITHRES   (2)

Functions

void Cluster_Prune (GridData< int > &sig, int &pl, int &pu, int bw)
 Prunes out external zeros and returns a lower and upper bound for prune locations. More...

void Cluster_Slice (GridData< int > &sig, int &slice, int &str, int bw)
 Looks for a laplacian or zero slice in the internal grid area. More...

void Cluster3R (GridData< short > &flag, const BBox &flagbbox, double Efficiency, int MinWidth, int MaxWidth, BBoxList &recurseOnThis)
 The recursive clustering algorithm. More...

void Cluster2 (GridData< short > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)
void Cluster3 (GridData< short > &flag, BBoxList &bblexclude, double Efficiency, int MinWidth, int MaxWidth, int BufferWidth, BBoxList &Result)


Detailed Description

A 3D Clusterer using signature clustering.

There is also a 2-D interface.

Author:
Paul Walker, Ralf Deiterding (corrections and minor changes)

Definition in file Cluster3.C.


Function Documentation

void Cluster3R GridData< short > &    flag,
const BBox   flagbbox,
double    Efficiency,
int    MinWidth,
int    MaxWidth,
BBoxList   recurseOnThis
 

The recursive clustering algorithm.

Calls Cluster_Prune(), Cluster_Slice().

Parameters:
flag  GridData3<short>. Flag array for clustering.
Efficiency  double.
MinWidth  int.
MaxWidth  int.
BufferWidth  int.
Result  BBoxList. Result is returned in here
Date:
Mar-1996
Author:
Paul Walker

Definition at line 166 of file Cluster3.C.

References BBoxList::add(), Cluster2(), Cluster3(), Cluster_Prune(), Cluster_Slice(), BBox::extents(), Bucket< BBox >::first(), BBox::lower(), Bucket< BBox >::next(), BBox::size(), BBox::stepsize(), and BBox::upper().

void Cluster_Prune GridData< int > &    sig,
int &    pl,
int &    pu,
int    bw
 

Prunes out external zeros and returns a lower and upper bound for prune locations.

Date:
Mar-1996
Author:
Paul Walker

Definition at line 28 of file Cluster3.C.

Referenced by Cluster3R().

void Cluster_Slice GridData< int > &    sig,
int &    slice,
int &    str,
int    bw
 

Looks for a laplacian or zero slice in the internal grid area.

Since prune has already been called, we know this will happen inside!

Date:
Mar-1996
Author:
Paul Walker

Definition at line 69 of file Cluster3.C.

Referenced by Cluster3R().


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04