Free Electron
|
N dimensional state buffer. More...
#include <Splat.h>
Public Types | |
enum | t_pivot_e { e_pivot_none = -1, e_pivot_within = 0, e_pivot_under, e_pivot_over, e_pivot_count } |
typedef Vector< D, int > | t_index |
typedef t_solve_real | t_span[D] |
typedef t_pivot_e | t_pivot[D] |
typedef c_gradient | t_gradient |
typedef std::vector< t_gradient > | t_gradients |
typedef std::vector< T > | t_cells |
typedef std::vector< t_solve_real > | t_mass |
Public Member Functions | |
void | setAll (t_span &a_span, t_solve_real a_value) |
T | sample (const typename Splat< T, D >::t_span &a_location) |
void | splat (const t_solve_real &a_mass, const typename Splat< T, D >::t_span &a_location, const T &a_value) |
void | unitSplat (const t_solve_real &a_mass, const typename Splat< T, D >::t_span &a_location, const T &a_value) |
void | massSplat (const t_solve_real &a_mass, const t_index &a_index, const T &a_value) |
void | gradientSplat (const t_solve_real &a_mass, const t_index &a_index, const T &a_value, const t_span &a_direction) |
void | rSplat (unsigned int a_d, typename Splat< T, D >::t_index &a_index, typename Splat< T, D >::t_index &a_lower, float a_mult, t_bnd *a_bnd, const t_solve_real &a_mass, const T &a_value) |
void | create (const t_index &a_count, const T &a_init) |
const T & | get (const t_index &a_index) const |
const T & | direct (const t_index &a_index) const |
const t_solve_real & | getMass (const t_index &a_index) const |
void | set (const t_index &a_index, const T &a_value) |
void | setMass (const t_index &a_index, const t_solve_real &a_value) |
void | spanize (t_span &a_span, const t_index &a_index) |
t_solve_real | magnitude (const t_span &a_span) |
void | blur (t_solve_real a_factor) |
void | fill (void) |
void | oldstrut (void) |
void | strut (void) |
void | gradient (void) |
void | fillSolve (unsigned int a_aspect) |
void | resplat (Splat< T, D > *a_other_splat) |
void | pull (Splat< T, D > *a_other_splat) |
void | push (Splat< T, D > *a_other_splat) |
void | clone (Splat< T, D > *a_other_splat) |
void | setSpace (const t_span &a_lo, const t_span &a_hi) |
void | iterate (Functor &a_functor) |
void | dump (const char *a_filename) |
void | dbsave (const char *a_filename) |
void | dbload (const char *a_filename) |
void | location (t_span &a_location, const t_index &a_index) const |
void | aspectFillSolve (unsigned int a_aspect) |
unsigned int | calc_array_index (const t_index &a_index) const |
bool | safe (t_index &a_index) const |
t_span & | safe (t_span &a_span) const |
bool | safe (unsigned int a_d, t_index &a_index) const |
void | unit (t_span &a_unit_location, const t_span &a_location) |
void | pivot (t_pivot &a_pivot, t_index &a_index, const t_span &a_location) const |
const t_span & | cellsize (void) const |
const t_index & | count (void) const |
Public Member Functions inherited from fe::Counted | |
virtual void | acquire (void) |
Increment the reference count. More... | |
virtual void | acquire (int &rCount) |
Increment the reference count (and get the count) More... | |
virtual void | release (void) |
Decrement the reference count. More... | |
virtual void | abandon (void) |
Decrement the reference count. More... | |
int | count (void) const |
Return the count of references. More... | |
void | setName (const String &) |
void | trackReference (void *pReference, String what) |
void | untrackReference (void *pReference) |
void | registerRegion (void *pT, U32 bytes) |
Public Attributes | |
t_index | m_count |
unsigned int | m_totalCount |
t_cells | m_cells |
t_mass | m_mass |
t_span | m_size |
t_span | m_root |
t_span | m_scale |
T | m_init |
t_gradients | m_gradients |
t_mass | m_gradient_mass |
Private Member Functions | |
T & | access (const t_index &a_index) |
T | rLinearSample (unsigned int a_d, typename Splat< T, D >::t_index &a_index, typename Splat< T, D >::t_index &a_lower, typename Splat< T, D >::t_pivot &a_pivot, float a_mult, t_bnd *a_bnd) |
void | rIterate (unsigned int a_d, t_index &a_index, Functor &a_functor) |
unsigned int | totalCount (void) const |
void | index (t_index &a_index, const t_span &a_location) const |
Additional Inherited Members | |
Static Public Member Functions inherited from fe::Counted | |
static String | reportTracker (void) |
static U32 | trackerCount (void) |
Protected Member Functions inherited from fe::Counted | |
int | releaseInternal (void) |
Decrement the reference count. More... | |
void | suppressReport (void) |
N dimensional state buffer.