aimsalgo  5.1.2
Neuroimaging image processing
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< GraphFactoryFactoryPtr
 
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, carto::rc_ptr< carto::Volume< float > > smo=carto::rc_ptr< carto::Volume< float > >(0))
 
void streamout ()
 
carto::VolumeRef< float > getMatrix ()
 
carto::VolumeRef< 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
 
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 GraphObject
virtual ~GraphObject ()
 
- Public Member Functions inherited from carto::SyntaxedObject< class >
 SyntaxedObject (const std::string &s)
 
 SyntaxedObject (const SyntaxedObject &x)
 
 SyntaxedObject (const SyntaxedObject< PropertySet > &x)
 

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from GraphObject
 GraphObject (const std::string &s)
 
 GraphObject (const GraphObject &x)
 

Detailed Description

Definition at line 51 of file roigtm.h.

Member Enumeration Documentation

◆ MaskType

Enumerator
threshold_on_closed 
threshold_on_smoothed 
get_from_file 

Definition at line 57 of file roigtm.h.

Constructor & Destructor Documentation

◆ RoiGtm()

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

◆ ~RoiGtm()

virtual aims::RoiGtm::~RoiGtm ( )
virtual

Member Function Documentation

◆ computationSet()

void aims::RoiGtm::computationSet ( )
inline

Definition at line 84 of file roigtm.h.

◆ doit()

AimsRoi* aims::RoiGtm::doit ( AimsRoi roi,
MaskType  m = threshold_on_smoothed,
carto::rc_ptr< carto::Volume< float > >  smo = carto::rc_ptrcarto::Volume< float > >(0) 
)

◆ editionSet()

void aims::RoiGtm::editionSet ( )
inline

Definition at line 83 of file roigtm.h.

◆ getInvMatrix()

carto::VolumeRef<float> aims::RoiGtm::getInvMatrix ( )

◆ getMaskRoi()

AimsRoi& aims::RoiGtm::getMaskRoi ( )
inline

Definition at line 79 of file roigtm.h.

◆ getMatrix()

carto::VolumeRef<float> aims::RoiGtm::getMatrix ( )

◆ getStructNameList()

std::vector<std::string> aims::RoiGtm::getStructNameList ( )

◆ setMaskRoi()

void aims::RoiGtm::setMaskRoi ( AimsRoi roi)
inline

Definition at line 80 of file roigtm.h.

◆ stamp()

void aims::RoiGtm::stamp ( std::string &  selector_fname,
std::string &  roi_fname 
)

◆ streamout()

void aims::RoiGtm::streamout ( )

◆ syntax()

carto::SyntaxSet& aims::RoiGtm::syntax ( )
inline

Definition at line 86 of file roigtm.h.

Member Data Documentation

◆ sGtm

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

Definition at line 90 of file roigtm.h.


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