Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Protected Member Functions | List of all members
Seg3D::NrrdFilter Class Reference
Inheritance diagram for Seg3D::NrrdFilter:
Seg3D::LayerFilter Seg3D::LayerAbstractFilter Core::Runnable Seg3D::HistogramEqualizationFilterAlgo

Protected Member Functions

bool get_nrrd_from_layer (const LayerHandle &layer, Core::NrrdDataHandle &nrrd_data)
 
bool create_nrrd (Core::NrrdDataHandle &nrrd_data)
 
bool insert_nrrd_into_layer (const LayerHandle &layer, Core::NrrdDataHandle nrrd_data)
 
void update_progress (LayerHandle layer, double amount)
 
- Protected Member Functions inherited from Seg3D::LayerFilter
virtual void handle_abort ()
 
virtual void handle_stop ()
 
virtual void run_filter ()=0
 
virtual void run ()
 

Additional Inherited Members

- Public Member Functions inherited from Seg3D::LayerFilter
virtual void raise_abort () override
 
virtual bool check_abort () override
 
void raise_stop ()
 
bool check_stop ()
 
virtual void abort_and_wait () override
 
void connect_abort (const LayerHandle &layer)
 
void connect_stop (const LayerHandle &layer)
 
Core::NotifierHandle get_notifier ()
 
bool find_layer (const std::string &layer_id, LayerHandle &layer)
 
bool lock_for_use (LayerHandle layer)
 
bool lock_for_processing (LayerHandle layer)
 
bool lock_for_deletion (LayerHandle layer)
 
bool create_and_lock_data_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_data_layer (const Core::GridTransform &grid_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_cropped_large_volume_layer (const Core::GridTransform &crop_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_mask_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_mask_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer, std::string dst_name)
 
bool create_and_lock_mask_layer (const Core::GridTransform &grid_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool dispatch_unlock_layer (LayerHandle layer)
 
bool dispatch_delete_layer (LayerHandle layer)
 
bool dispatch_insert_data_volume_into_layer (LayerHandle layer, Core::DataVolumeHandle data, bool update_histogram)
 
bool dispatch_insert_mask_volume_into_layer (LayerHandle layer, Core::MaskVolumeHandle mask)
 
void create_undo_redo_and_provenance_record (Core::ActionContextHandle context, Core::ActionHandle action, bool split_prov=false)
 
bool update_provenance_action_string (Core::ActionHandle action)
 
void set_sandbox (SandboxID sandbox)
 
SandboxID get_sandbox ()
 
virtual std::string get_filter_name () const =0
 
virtual std::string get_layer_prefix () const =0
 
void report_error (const std::string &error)
 
Layer::filter_key_type get_key () const
 
- Static Public Member Functions inherited from Core::Runnable
static void Start (RunnableHandle runnable)
 

Member Function Documentation

bool Seg3D::NrrdFilter::create_nrrd ( Core::NrrdDataHandle &  nrrd_data)
protected

CREATE_NRRD Short cut for generating nrrds

bool Seg3D::NrrdFilter::get_nrrd_from_layer ( const LayerHandle &  layer,
Core::NrrdDataHandle &  nrrd_data 
)
protected

GET_NRRD_FROM_LAYER: Get a nrrd from a data or mask layer

bool Seg3D::NrrdFilter::insert_nrrd_into_layer ( const LayerHandle &  layer,
Core::NrrdDataHandle  nrrd_data 
)
protected

INSERT_NRRD_INTO_LAYER: Insert an nrrd back into a layer

void Seg3D::NrrdFilter::update_progress ( LayerHandle  layer,
double  amount 
)
protected

UPDATE_PROGRESS: Teem does not support updating progress, hence we add a small amount before and a large amount after the filter was run


The documentation for this class was generated from the following files: