#include <nrroProbe.h>
Definition at line 39 of file nrroProbe.h.
Public Types | |
typedef gage_t | TYPE |
type of values measured, (float) | |
typedef gageKind * | PKIND |
type for kind of probe scalor/vector/etc... | |
enum | { VALUE = 1 << 0, GRAD = 1 << 1, GRADMAG = 1 << 2, GRAD_EVAL = 1 << 3, GRAD_EVEC = 1 << 4, NORMAL = 1 << 5, HESS = 1 << 6, HESS_EVAL = 1 << 7, HESS_EVEC = 1 << 8, LAPLAC = 1 << 9, DD2 = 1 << 10, GEOM_TENS = 1 << 11, K1 = 1 << 12, K2 = 1 << 13, CURVE = 1 << 14 } |
measures, some of these are not appropriate for vector/scalor data types, some are valid for both, this is noted to the right More... | |
Public Member Functions | |
NrroProbe (bool multiChannel=true, const NrroKernel &nk=CatmulRomKernel) | |
need to know if you are probing a multi-channel volume or a vector field | |
virtual | ~NrroProbe () |
unsigned int | getProbeType (int vol=0) const |
void | setProbeType (unsigned int ptype, int vol=0) |
void | addNrro (const Nrro *n, int probeType=VALUE) |
get/set data to be/being probed | |
NrroSP | getNrro (unsigned int vol=0) |
get nrro | |
void | getNumChannels () |
NrroKernel | getKernel () const |
void | setKernel (const NrroKernel &nk) |
TYPE * | operator() (float x=0, float y=0, float z=0) |
probe () | |
gutz::vec3f | getProbePos () const |
int | valLen (int v) const |
TYPE * | getVal (int v) |
int | gradLen (int v) const |
TYPE * | getGrad (int v) |
TYPE * | getGradMag (int v) |
int | gradEvalLen (int v) const |
TYPE * | getGradEval (int v) |
int | gradEvecLen (int v) const |
TYPE * | getGradEvec (int v) |
TYPE * | getNormal (int v) |
TYPE * | grad () |
... | |
Protected Member Functions | |
void | update () |
update | |
void | setKernel () |
set kernel | |
PKIND | getProbeKind (const Nrro &n) |
get Probe Kind | |
unsigned int | nrro2GageType (const Nrro &n, int probeType, PKIND kind) const |
get Probe Type | |
unsigned int | gage2NrroType (unsigned int t, PKIND kind) const |
Protected Attributes | |
gageContext * | _ctx |
NrroSPVec | _nvec |
gutz::vec3f | _lastProbe |
NrroKernel | _nk |
bool | _multi |
|
type for kind of probe scalor/vector/etc...
Definition at line 53 of file nrroProbe.h. Referenced by addNrro(), and getProbeKind(). |
|
type of values measured, (float)
Definition at line 51 of file nrroProbe.h. Referenced by grad(), and operator()(). |
|
measures, some of these are not appropriate for vector/scalor data types, some are valid for both, this is noted to the right
Definition at line 60 of file nrroProbe.h. |
|
need to know if you are probing a multi-channel volume or a vector field
Definition at line 35 of file nrroProbe.cpp. References _ctx, and setKernel(). |
|
Definition at line 43 of file nrroProbe.cpp. References _ctx. |
|
get/set data to be/being probed
Definition at line 72 of file nrroProbe.cpp. References _ctx, _nvec, getProbeKind(), n, nrro2GageType(), NrroSP, PKIND, and update(). |
|
convert to gauge types Definition at line 192 of file nrroProbe.cpp. References CURVE, DD2, GEOM_TENS, GRAD, GRAD_EVAL, GRAD_EVEC, GRADMAG, HESS, HESS_EVAL, HESS_EVEC, K1, K2, LAPLAC, NORMAL, and VALUE. Referenced by getProbeType(). |
|
|
|
|
|
|
|
|
|
Definition at line 87 of file nrroProbe.h. References _nk. |
|
|
|
get nrro
Definition at line 90 of file nrroProbe.cpp. |
|
|
|
get Probe Kind
Definition at line 121 of file nrroProbe.cpp. References PKIND. Referenced by addNrro(). |
|
Definition at line 94 of file nrroProbe.h. References _lastProbe. |
|
Definition at line 177 of file nrroProbe.cpp. References _ctx, and gage2NrroType(). |
|
|
|
...
Definition at line 115 of file nrroProbe.h. References TYPE. |
|
|
|
|
|
|
|
get Probe Type convert to gauge types Definition at line 129 of file nrroProbe.cpp. References CURVE, DD2, GEOM_TENS, GRAD, GRAD_EVAL, GRAD_EVEC, GRADMAG, HESS, HESS_EVAL, HESS_EVEC, K1, K2, LAPLAC, NORMAL, and VALUE. Referenced by addNrro(). |
|
probe ()
Definition at line 101 of file nrroProbe.cpp. |
|
set kernel
Definition at line 51 of file nrroProbe.cpp. References _ctx, _nk, NrroKernel::DERIV, NrroKernel::DERIV2, NrroKernel::getGageKernelType(), NrroKernel::getNrrdKernel(), NrroKernel::getParams(), and NrroKernel::VALUE. Referenced by NrroProbe(), and setKernel(). |
|
Definition at line 88 of file nrroProbe.h. References _nk, and setKernel(). |
|
Definition at line 186 of file nrroProbe.cpp. |
|
update
Definition at line 113 of file nrroProbe.cpp. References _ctx. Referenced by addNrro(). |
|
|
|
Definition at line 126 of file nrroProbe.h. Referenced by addNrro(), getProbeType(), NrroProbe(), operator()(), setKernel(), update(), and ~NrroProbe(). |
|
Definition at line 129 of file nrroProbe.h. Referenced by getProbePos(). |
|
Definition at line 133 of file nrroProbe.h. |
|
Definition at line 131 of file nrroProbe.h. Referenced by getKernel(), and setKernel(). |
|
Definition at line 127 of file nrroProbe.h. |