A.I.M.S algorithms


aims::RoiGtm Class Reference

#include <aims/roi/roigtm.h>

Inheritance diagram for aims::RoiGtm:
Collaboration diagram for aims::RoiGtm:

Public Types

enum  MaskType { threshold_on_closed, threshold_on_smoothed, get_from_file }
 
- Public Types inherited from Graph
typedef std::set< Vertex * > VSet
 
typedef std::set< Edge * > ESet
 
typedef carto::rc_ptr
< GraphFactory
FactoryPtr
 
typedef VSet::value_type value_type
 
typedef VSet::pointer pointer
 
typedef VSet::reference reference
 
typedef VSet::const_reference const_reference
 
typedef VSet::iterator iterator
 
typedef VSet::const_iterator const_iterator
 
typedef VSet::reverse_iterator reverse_iterator
 
typedef
VSet::const_reverse_iterator 
const_reverse_iterator
 
- Public Types inherited from carto::SyntaxedObject< class >
typedef
internal::SyntaxedObjectSwitch
< T, SUPERSUBCLASS(Interface,
T)>::ContentType 
ContentType
 

Public Member Functions

 RoiGtm (RoiSelector *roiSel=NULL, float trans=-1, float axial=-1)
 
virtual ~RoiGtm ()
 
void stamp (std::string &selector_fname, std::string &roi_fname)
 
AimsRoidoit (AimsRoi &roi, MaskType m=threshold_on_smoothed, AimsData< float > *smo=NULL)
 
void streamout ()
 
AimsData< float > getMatrix ()
 
AimsData< float > getInvMatrix ()
 
std::vector< std::string > getStructNameList ()
 
AimsRoigetMaskRoi ()
 
void setMaskRoi (AimsRoi *roi)
 
void editionSet ()
 
void computationSet ()
 
carto::SyntaxSetsyntax ()
 
- Public Member Functions inherited from Graph
 Graph (const std::string &s="")
 
 Graph (const FactoryPtr factory, const std::string &s="")
 
virtual ~Graph ()
 
void extract (Graph &graph, InputIterator iv1, InputIterator iv2)
 
void clear ()
 
VertexaddVertex (const std::string &s="")
 
VertexcloneVertex (const Vertex *vertex)
 
bool hasVertex (const Vertex *vertex) const
 
void removeVertex (Vertex *vertex)
 
VertexrandomVertex () const
 
const std::set< Vertex * > & vertices () const
 
std::set< Vertex * > getVerticesWith (const std::string &s) const
 
std::set< Vertex * > getVerticesWith (const std::string &s, const T &t) const
 
EdgeaddUndirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s)
 
EdgeaddEdge (Vertex *vertex1, Vertex *vertex2, std::string s="")
 
EdgeaddDirectedEdge (Vertex *vertex1, Vertex *vertex2, std::string s)
 
bool hasEdge (const Edge *edge) const
 
void removeEdge (Edge *edge)
 
const std::set< Edge * > & edges () const
 
std::set< Edge * > edges (const Vertex *vertex1, const Vertex *vertex2) const
 
std::set< Edge * > getEdgesWith (const std::string &s) const
 
std::set< Edge * > getEdgesWith (const std::string &s, const T &t) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
size_t order () const
 
size_t size () const __attribute__((__deprecated__("use edgeSize() for ""the number of edges. In a future release
 
size_t size () will return the" "number properties as it does in GenericObject")))
 
size_t edgesSize () const
 
virtual bool isUndirected () const
 
virtual bool isDirected () const
 
virtual bool check (const carto::SyntaxSet &syntax, std::set< std::string > &missing) const
 
- Public Member Functions inherited from carto::SyntaxedObject< class >
 SyntaxedObject (const std::string &s)
 
 SyntaxedObject (const SyntaxedObject &x)
 

Protected Attributes

carto::SyntaxSet sGtm
 
- Protected Attributes inherited from Graph
FactoryPtr _factory
 

Detailed Description

Definition at line 51 of file roigtm.h.

Member Enumeration Documentation

Enumerator
threshold_on_closed 
threshold_on_smoothed 
get_from_file 

Definition at line 57 of file roigtm.h.

Constructor & Destructor Documentation

aims::RoiGtm::RoiGtm ( RoiSelector roiSel = NULL,
float  trans = -1,
float  axial = -1 
)
virtual aims::RoiGtm::~RoiGtm ( )
virtual

Member Function Documentation

void aims::RoiGtm::computationSet ( )
inline

Definition at line 83 of file roigtm.h.

AimsRoi* aims::RoiGtm::doit ( AimsRoi roi,
MaskType  m = threshold_on_smoothed,
AimsData< float > *  smo = NULL 
)
void aims::RoiGtm::editionSet ( )
inline

Definition at line 82 of file roigtm.h.

AimsData<float> aims::RoiGtm::getInvMatrix ( )
AimsRoi& aims::RoiGtm::getMaskRoi ( )
inline

Definition at line 78 of file roigtm.h.

AimsData<float> aims::RoiGtm::getMatrix ( )
std::vector<std::string> aims::RoiGtm::getStructNameList ( )
void aims::RoiGtm::setMaskRoi ( AimsRoi roi)
inline

Definition at line 79 of file roigtm.h.

void aims::RoiGtm::stamp ( std::string &  selector_fname,
std::string &  roi_fname 
)
void aims::RoiGtm::streamout ( )
carto::SyntaxSet& aims::RoiGtm::syntax ( )
inline

Definition at line 85 of file roigtm.h.

Member Data Documentation

carto::SyntaxSet aims::RoiGtm::sGtm
protected

Definition at line 89 of file roigtm.h.


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