![]() |
Simulacrum
1.2
|
#include <slicer.h>


Public Types | |
| typedef std::function< void(SSlicer *, const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint &, const SVector &, unsigned, SElem &, SElem &)> | linereduction_t |
Public Types inherited from Simulacrum::SConnectable | |
| typedef unsigned | ssignal_t |
| typedef bool | sdepth_t |
Public Member Functions | |
| SSlicer () | |
| SSlicer (SSpace &) | |
| SSlicer (const SSlicer &) | |
| virtual | ~SSlicer () |
| virtual SSpace * | New () override |
| bool | resize (const SCoordinate &) override |
| SElem::DataSource | SElemData (const SCoordinate &) override |
| SElem::DataSource | SElemData_Passive (const SCoordinate &) override |
| void | SElemInto (const SCoordinate &, SElem &target) override |
| SElem::Ptr | getNativeSElem () override |
| SElem * | getNativeSElemP () override |
| void | setNativeSElemType (SElem *) override |
| virtual SElemSet & | selemDataStore () override |
| virtual std::vector< DataContext * > & | selemDataContexts () override |
| const SCoordinate & | extent () const override |
| void | reset () override |
| virtual bool | sconnect (SConnectable &) override |
| virtual bool | sdisconnect (SConnectable &) override |
| virtual void | sconfigure (const std::string &) override |
| virtual SCoordinate | toSourceCoords (const SCoordinate &) const override |
| virtual bool | fromSourceCoords (const SCoordinate &sourcecoord, SCoordinate &localcoord) const override |
| bool | isOnSlice (const SVector &sourcepos) const |
| void | setPlane (const SPoint &orig, const SVector &xvec, const SVector &yvec) |
| SPlane | getPlane () const |
| SVector | getXAxis () const |
| SVector | getYAxis () const |
| void | setThickness (unsigned) |
| void | setReductionFunction (linereduction_t) |
| unsigned | thickness () const |
| float | thicknessSpacing () const |
| void | sliceForwards () |
| void | sliceBackwards () |
| void | setFrontSlice () |
| unsigned | slice () const |
| unsigned | depth () const |
| bool | setSlice (unsigned) |
| SCoordinate | coordinateSuffix () const |
| void | setCoordinateSuffix (const SCoordinate &) |
| virtual void | refresh (SConnectable::sdepth_t) override |
| SSpace & | getSourceSSpace () override |
| void | copyInto (SSpace &, bool withimagedata=true) override |
| void | get2DRGBAInto (SSpace &target, unsigned short downsample=0, bool mergecontexts=true, float opacity=0.3, SCoordinate *cropb=nullptr, SCoordinate *crope=nullptr, SCoordinate::Precision zoffet=-1) override |
| void | lock () override |
| bool | try_lock () override |
| void | unlock () override |
| void | wait () override |
| bool | sliceable () |
| void | MaxIPGrey (const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint &, const SVector &, unsigned, SElem &, SElem &) |
| void | MinIPGrey (const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint &, const SVector &, unsigned, SElem &, SElem &) |
| void | AVGIPGrey (const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint &, const SVector &, unsigned, SElem &, SElem &) |
| void | FirstOverGrey (const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint &, const SVector &, unsigned, SElem &, SElem &, SElem::Precision, bool, SPoint &) |
| SPtr< SSpaceIterator > | getFastNativeIterator () override |
| SSpaceIterator * | getFastNativeIteratorP () override |
| virtual const SVector & | spacing () const override |
| virtual void | setSpacing (const SVector &) override |
| virtual std::string | spacingUnits (long long int index=0) const override |
| virtual void | setSpacingUnits (const std::string &, long long int index=0) override |
| virtual NNode & | informationNode () override |
| virtual void | setName (const std::string &) override |
| virtual const std::string & | getName () const override |
| virtual GPLUT & | LUT () override |
| virtual void | setActiveContext (CONTEXTS_t) override |
| virtual CONTEXTS_t | activeContext () const override |
| virtual CONTEXTS_t | contexts () const override |
| virtual CONTEXTS_t | newContext () override |
| virtual void | removeContext (CONTEXTS_t) override |
| virtual SVector | toGlobalSpace (const SVector &) override |
| virtual SVector | fromGlobalSpace (const SVector &) override |
| virtual void | setToGlobalSpaceFunction (std::function< SVector(SSpace *, const SVector &)>) override |
| virtual void | setFromGlobalSpaceFunction (std::function< SVector(SSpace *, const SVector &)>) override |
| virtual std::string | globalSpaceID () const override |
| virtual void | setGlobalSpaceID (const std::string &) override |
| virtual std::string | vectorMeaning (const SVector &, bool strict=true) const override |
| virtual SVector | meaningVector (const std::string &) const override |
| virtual void | assignVectorMeaning (const SVector &, const std::string &) override |
| virtual void | resetMeaningVectors () override |
Public Member Functions inherited from Simulacrum::SSpace | |
| SSpace () | |
| SSpace (const SCoordinate &) | |
| SSpace (SSpace &) | |
| SSpace (const SSpace &) | |
| virtual | ~SSpace () |
| virtual SElemSet::Size | calcIndex (const SCoordinate &) const |
| virtual int | concatenate (std::vector< SSpace * > &) |
| virtual SSpace & | operator= (SSpace &) |
| virtual SSpace & | operator= (const SSpace &) |
| virtual SElem::DataSource | operator[] (const SCoordinate &) |
| virtual void | lockNativeSElemType (bool) |
| virtual bool | nativeSElemTypeLocked () |
| const SCoordinate * | extentP () const |
| bool | reinterpretExtent (const SCoordinate &) |
| virtual void | promoteExtent () |
| GPLUT * | LUTP () |
| SElemSet * | selemDataStoreP () |
| std::vector< DataContext * > * | selemDataContextsP () |
| virtual void | applyLUT () |
| void | autoLUT (int percentile=90, long long int width=-1, long long int center=-1, const std::vector< std::pair< float, float > > *histogram=nullptr) |
| virtual bool | postLoadConfig () |
| NNode * | informationNodeP () |
| const SVector * | spacingP () const |
Public Member Functions inherited from Simulacrum::SConnectable | |
| SConnectable () | |
| virtual | ~SConnectable () |
| void | emitRefresh (sdepth_t) |
| virtual void | signal (ssignal_t, void *=nullptr) |
| void | emitSignal (ssignal_t, void *=nullptr) |
| virtual void | progress (int) |
| virtual bool | sconnect (SConnectable &, bool delondiscon) |
| virtual void | disconnectSources () |
| virtual void | disconnectListeners () |
| virtual void | disconnectListeners_Refresh () |
| virtual bool | isConnected (SConnectable &) const |
| virtual bool | isConnected (SConnectable *) const |
| virtual SConnectable & | end () |
| virtual SConnectable & | penum () |
| virtual SConnectable & | pred () |
| virtual SConnectable & | succ () |
| virtual void | deleteOnDisconnect (bool) |
| virtual bool | deleteOnDisconnect () |
| const std::map< std::string, double > & | parameters () |
| const std::map< std::string, std::string > & | properties () |
| bool | hasProperty (const std::string &) const |
| bool | hasParameter (const std::string &) const |
| void | setProperty (const std::string &, const std::string &) |
| void | setParameter (const std::string &, double) |
| std::string | getProperty (const std::string &) const |
| double | getParameter (const std::string &) const |
Public Member Functions inherited from Simulacrum::SLockable | |
| virtual void | refIncr () |
| virtual void | refDecr () |
| virtual int | refCount () |
| SLockable () | |
| SLockable (const SLockable &) | |
| virtual | ~SLockable () |
Static Public Member Functions | |
| static SElem::Precision | triLinearInterpolateIntensity (SSpace &source, const SVector &coords) |
Protected Member Functions | |
| void | getRGBAScanlinesInto (SSpace *target, SCoordinate::Precision startrow, SCoordinate::Precision endrow, SCoordinate::Precision width, unsigned short step, bool mergecontexts, float opacity, SCoordinate::Precision startcol=0, SCoordinate::Precision endcol=0, SCoordinate::Precision=0) override |
Protected Member Functions inherited from Simulacrum::SConnectable | |
| virtual bool | addListener (SConnectable &) |
| virtual bool | removeListener (SConnectable &) |
| virtual bool | addTarget (SConnectable &) |
| virtual bool | removeTarget (SConnectable &) |
Friends | |
| class | SSliceIteratorNativeFast |
| typedef std::function<void(SSlicer*, const SCoordinate::Precision xx, const SCoordinate::Precision yy, const SPoint&,const SVector&, unsigned, SElem&,SElem&)> Simulacrum::SSlicer::linereduction_t |
| SSlicer::SSlicer | ( | ) |
| SSlicer::SSlicer | ( | SSpace & | source | ) |
| SSlicer::SSlicer | ( | const SSlicer & | target | ) |
|
virtual |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::AVGIPGrey | ( | const SCoordinate::Precision | xx, |
| const SCoordinate::Precision | yy, | ||
| const SPoint & | sourcep, | ||
| const SVector & | dir, | ||
| unsigned | depth, | ||
| SElem & | sourcepox, | ||
| SElem & | targetpox | ||
| ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| SCoordinate SSlicer::coordinateSuffix | ( | ) | const |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| unsigned SSlicer::depth | ( | ) | const |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::FirstOverGrey | ( | const SCoordinate::Precision | xx, |
| const SCoordinate::Precision | yy, | ||
| const SPoint & | sourcep, | ||
| const SVector & | dir, | ||
| unsigned | depth, | ||
| SElem & | sourcepox, | ||
| SElem & | targetpox, | ||
| SElem::Precision | zerolevel, | ||
| bool | doshade, | ||
| SPoint & | lightsrc | ||
| ) |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| SPlane SSlicer::getPlane | ( | ) | const |
|
overrideprotectedvirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| SVector SSlicer::getXAxis | ( | ) | const |
| SVector SSlicer::getYAxis | ( | ) | const |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| bool SSlicer::isOnSlice | ( | const SVector & | sourcepos | ) | const |
|
overridevirtual |
Reimplemented from Simulacrum::SLockable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::MaxIPGrey | ( | const SCoordinate::Precision | xx, |
| const SCoordinate::Precision | yy, | ||
| const SPoint & | sourcep, | ||
| const SVector & | dir, | ||
| unsigned | depth, | ||
| SElem & | sourcepox, | ||
| SElem & | targetpox | ||
| ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::MinIPGrey | ( | const SCoordinate::Precision | xx, |
| const SCoordinate::Precision | yy, | ||
| const SPoint & | sourcep, | ||
| const SVector & | dir, | ||
| unsigned | depth, | ||
| SElem & | sourcepox, | ||
| SElem & | targetpox | ||
| ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::setCoordinateSuffix | ( | const SCoordinate & | newsuff | ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::setFrontSlice | ( | ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SConnectable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::setReductionFunction | ( | linereduction_t | newredfunc | ) |
| bool SSlicer::setSlice | ( | unsigned | nslice | ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| void SSlicer::setThickness | ( | unsigned | nthickness | ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| unsigned SSlicer::slice | ( | ) | const |
| bool SSlicer::sliceable | ( | ) |
| void SSlicer::sliceBackwards | ( | ) |
| void SSlicer::sliceForwards | ( | ) |
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
| unsigned SSlicer::thickness | ( | ) | const |
| float SSlicer::thicknessSpacing | ( | ) | const |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
static |
|
overridevirtual |
Reimplemented from Simulacrum::SLockable.
|
overridevirtual |
Reimplemented from Simulacrum::SLockable.
|
overridevirtual |
Reimplemented from Simulacrum::SSpace.
|
overridevirtual |
Reimplemented from Simulacrum::SLockable.
|
friend |