25 #ifndef VISUALIZATIONCHANNELSPECS_HH 26 #define VISUALIZATIONCHANNELSPECS_HH 75 float valueAt(blitz::TinyVector<double,3>
const &positionUm)
const override;
88 blitz::TinyVector<double,3>
const &positionUm)
const override;
103 int&
labelAt(blitz::TinyVector<double,3>
const &positionUm);
118 int&
labelAtVoxel(blitz::TinyVector<ptrdiff_t,3>
const &pos);
134 void pickFillValue(blitz::TinyVector<double,3>
const &positionUm);
165 void floodFill(blitz::TinyVector<double,3>
const &positionUm,
166 bool mergeNeighboringSegments =
false);
230 typedef std::set< blitz::TinyVector<atb::BlitzIndexT,3>,
233 PixelSet _grassfire(blitz::TinyVector<atb::BlitzIndexT,3>
const &posPx,
234 int value,
bool getBoundary);
Array class derived from blitz++ Arrays for handling microscopic datasets with associated element siz...
The TinyVectorLessThan struct provides an operator for comparing TinyVectors defining a strict weak o...
void setBitDepth(int bitDepth)
void pickFillValue(blitz::TinyVector< double, 3 > const &positionUm)
Pick the value for subsequent flood fill operations from the current volume.
int & labelAt(blitz::TinyVector< double, 3 > const &positionUm)
Get the integer label at the given coordinates relative to the upper left corner of the volume...
atb::Array< int, 3 > const * data() const
ChannelSpecs::ChannelType channelType() const override
void revalidate() override
Reset the channel shape, element size, transformation and bounding box from the underlying data...
void setDataChanged(bool dataChanged)
Set the data changed flag.
int & labelAtVoxel(blitz::TinyVector< ptrdiff_t, 3 > const &pos)
Get the integer label at the given pixel coordinates relative to the upper left corner of the volume...
void floodFill(blitz::TinyVector< double, 3 > const &positionUm, bool mergeNeighboringSegments=false)
Apply a flood fill operation at the given world coordinates in micrometers.
ChannelSpecsRenderer * addRenderer(ViewWidget *view)
Neighborhoods for local operators.
ColorMap const & colorMap() const
virtual blitz::TinyMatrix< double, 4, 4 > const & transformation() const
void normalizeIndexRange()
std::string stringValueAt(blitz::TinyVector< double, 3 > const &positionUm) const override
Get a string representation of the value at the given 3D world coordinates in micrometers.
~VisualizationChannelSpecs()
void setTransformation(blitz::TinyMatrix< double, 4, 4 > const &transformation) override
VisualizationChannelSpecs(atb::Array< int, 3 > *data, MultiChannelModel *model=NULL, bool sign=false, int bitDepth=16)
bool dataChanged() const
Get the data changed flag.
int fillValue() const
Get the value for subsequent flood fill operations.
MultiChannelModel * model() const
float valueAt(blitz::TinyVector< double, 3 > const &positionUm) const override
Get a float representation of the value at the given 3D world coordinates in micrometers.
static VisualizationChannelSpecs * load()
void setFillValue(int value)
Set the value for subsequent flood fill operations.