aimsalgo  5.0.5
Neuroimaging image processing
Facet Class Reference

#include <aims/mesh/facet.h>

Collaboration diagram for Facet:

Public Member Functions

 Facet ()
 
virtual ~Facet ()
 
uint key () const
 
bool equal (const Facet &other) const
 
Point3dlocation ()
 
const Point3dlocation () const
 
bytetype ()
 
byte type () const
 
short *& offset ()
 
short * offset () const
 
uintid ()
 
uint id () const
 
void setNeighbor (Facet **pNeighor, int nNeighbor)
 
void setNeighbor (int nNeighbor)
 
int getNeighbor (const aims::Connectivity &connect, Facet **pNeighor) const
 
Facet *& pNeighbor (int index)
 
const Facet *& pNeighbor (int index) const
 
int nNeighbor () const
 

Protected Attributes

Point3d _location
 
byte _type
 
int _nNeighbor
 
Facet ** _pNeighbor
 
uint _id
 
short * _offset
 

Detailed Description

Definition at line 43 of file facet.h.

Constructor & Destructor Documentation

◆ Facet()

Facet::Facet ( )
inline

Definition at line 90 of file facet.h.

◆ ~Facet()

Facet::~Facet ( )
inlinevirtual

Definition at line 98 of file facet.h.

Member Function Documentation

◆ equal()

bool Facet::equal ( const Facet other) const
inline

Definition at line 116 of file facet.h.

References _offset, and _type.

◆ getNeighbor()

int Facet::getNeighbor ( const aims::Connectivity connect,
Facet **  pNeighor 
) const

◆ id() [1/2]

uint& Facet::id ( )
inline

Definition at line 62 of file facet.h.

Referenced by operator<<().

◆ id() [2/2]

uint Facet::id ( ) const
inline

Definition at line 63 of file facet.h.

◆ key()

uint Facet::key ( ) const
inline

Definition at line 106 of file facet.h.

◆ location() [1/2]

Point3d& Facet::location ( )
inline

Definition at line 53 of file facet.h.

Referenced by operator<<().

◆ location() [2/2]

const Point3d& Facet::location ( ) const
inline

Definition at line 54 of file facet.h.

◆ nNeighbor()

int Facet::nNeighbor ( ) const
inline

Definition at line 74 of file facet.h.

Referenced by operator<<().

◆ offset() [1/2]

short*& Facet::offset ( )
inline

Definition at line 59 of file facet.h.

Referenced by operator<<().

◆ offset() [2/2]

short* Facet::offset ( ) const
inline

Definition at line 60 of file facet.h.

◆ pNeighbor() [1/2]

Facet*& Facet::pNeighbor ( int  index)
inline

Definition at line 70 of file facet.h.

Referenced by operator<<().

◆ pNeighbor() [2/2]

const Facet*& Facet::pNeighbor ( int  index) const
inline

Definition at line 71 of file facet.h.

◆ setNeighbor() [1/2]

void Facet::setNeighbor ( Facet **  pNeighor,
int  nNeighbor 
)
inline

Definition at line 123 of file facet.h.

◆ setNeighbor() [2/2]

void Facet::setNeighbor ( int  nNeighbor)
inline

Definition at line 136 of file facet.h.

◆ type() [1/2]

byte& Facet::type ( )
inline

Definition at line 56 of file facet.h.

Referenced by operator<<().

◆ type() [2/2]

byte Facet::type ( ) const
inline

Definition at line 57 of file facet.h.

Member Data Documentation

◆ _id

uint Facet::_id
protected

Definition at line 84 of file facet.h.

◆ _location

Point3d Facet::_location
protected

Definition at line 78 of file facet.h.

◆ _nNeighbor

int Facet::_nNeighbor
protected

Definition at line 81 of file facet.h.

◆ _offset

short* Facet::_offset
protected

Definition at line 85 of file facet.h.

Referenced by equal().

◆ _pNeighbor

Facet** Facet::_pNeighbor
protected

Definition at line 82 of file facet.h.

◆ _type

byte Facet::_type
protected

Definition at line 79 of file facet.h.

Referenced by equal().


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