FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | List of all members
Fiber::ScalarMultiHistogram Class Reference

Convenience class to operate with a set of histograms. More...

#include <Histogram.hpp>

Inheritance diagram for Fiber::ScalarMultiHistogram:
MemCore::ReferenceBase< ScalarMultiHistogram >

Public Member Functions

 ScalarMultiHistogram (const MTools::ScalarMultiHistogramStd &histogram)
 
 ScalarMultiHistogram (double min, double max, size_t nr_buckets, size_t nr_histograms=1, std::string name="")
 
DataRange< doublegetRange () const
 
size_t getNrBuckets () const
 
size_t getNrHistograms () const
 
RefPtr< UniformCartesianArraygetBuckets () const
 
RefPtr< MemArray< 3, float > > getValues () const
 
- Public Member Functions inherited from MemCore::ReferenceBase< ScalarMultiHistogram >
auto getObjectCountID () const noexcept
 
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
 
void mkAutoDestructive ()
 
refcount_t refcount () const noexcept
 
 ReferenceBase (Object *that) noexcept
 
const auto & self () const
 
refcount_t wrefcount () const noexcept
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< ScalarMultiHistogram >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Protected Member Functions inherited from MemCore::ReferenceBase< ScalarMultiHistogram >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 

Detailed Description

Convenience class to operate with a set of histograms.

Provide load, store and basic operations for histograms. A histogram is stored in a different grid object. It uses a uniform array to store the bucket number and bucket size in its positions field. Data fields match the name of the original scalar field to store the values on the positions of the histogram.

Author
: marcel
Note
A histogram is the representation of a field's vertex complex in a "chart" describing the required discretization, depending on the min/max range and a number count.
See also
Handbook of Mathematical Methods in Imaging, DOI 10.1007/978-3-642-27795-5_35-5, © Springer Science+Business Media New York 2014

This was the originally envisioned idea which should be reviewed here, either adapting the implementation or the specification how to store a histogram in the next edition. Werner

It will in a first version be done in the seperate grid object to have it simpler and more flexible. Marcel