aimsalgo 6.0.0
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.

References _nNeighbor, and _pNeighbor.

Referenced by equal(), getNeighbor(), pNeighbor(), pNeighbor(), setNeighbor(), and setNeighbor().

◆ ~Facet()

Facet::~Facet ( )
inlinevirtual

Definition at line 98 of file facet.h.

References _pNeighbor.

Member Function Documentation

◆ equal()

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

Definition at line 116 of file facet.h.

References _offset, _type, and Facet().

◆ getNeighbor()

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

References Facet().

◆ id() [1/2]

uint & Facet::id ( )
inline

Definition at line 62 of file facet.h.

References _id.

Referenced by operator<<().

◆ id() [2/2]

uint Facet::id ( ) const
inline

Definition at line 63 of file facet.h.

References _id.

◆ key()

uint Facet::key ( ) const
inline

Definition at line 106 of file facet.h.

References _location, and _type.

◆ location() [1/2]

Point3d & Facet::location ( )
inline

Definition at line 53 of file facet.h.

References _location.

Referenced by operator<<().

◆ location() [2/2]

const Point3d & Facet::location ( ) const
inline

Definition at line 54 of file facet.h.

References _location.

◆ nNeighbor()

int Facet::nNeighbor ( ) const
inline

Definition at line 74 of file facet.h.

References _nNeighbor.

Referenced by operator<<(), setNeighbor(), and setNeighbor().

◆ offset() [1/2]

short *& Facet::offset ( )
inline

Definition at line 59 of file facet.h.

References _offset.

Referenced by operator<<().

◆ offset() [2/2]

short * Facet::offset ( ) const
inline

Definition at line 60 of file facet.h.

References _offset.

◆ pNeighbor() [1/2]

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

Definition at line 70 of file facet.h.

References _pNeighbor, and Facet().

Referenced by operator<<(), and setNeighbor().

◆ pNeighbor() [2/2]

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

Definition at line 71 of file facet.h.

References _pNeighbor, and Facet().

◆ setNeighbor() [1/2]

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

Definition at line 123 of file facet.h.

References _nNeighbor, _pNeighbor, Facet(), nNeighbor(), and pNeighbor().

◆ setNeighbor() [2/2]

void Facet::setNeighbor ( int nNeighbor)
inline

Definition at line 136 of file facet.h.

References _nNeighbor, _pNeighbor, Facet(), and nNeighbor().

◆ type() [1/2]

byte & Facet::type ( )
inline

Definition at line 56 of file facet.h.

References _type.

Referenced by operator<<().

◆ type() [2/2]

byte Facet::type ( ) const
inline

Definition at line 57 of file facet.h.

References _type.

Member Data Documentation

◆ _id

uint Facet::_id
protected

Definition at line 84 of file facet.h.

Referenced by id(), and id().

◆ _location

Point3d Facet::_location
protected

Definition at line 78 of file facet.h.

Referenced by key(), location(), and location().

◆ _nNeighbor

int Facet::_nNeighbor
protected

Definition at line 81 of file facet.h.

Referenced by Facet(), nNeighbor(), setNeighbor(), and setNeighbor().

◆ _offset

short* Facet::_offset
protected

Definition at line 85 of file facet.h.

Referenced by equal(), offset(), and offset().

◆ _pNeighbor

Facet** Facet::_pNeighbor
protected

Definition at line 82 of file facet.h.

Referenced by Facet(), pNeighbor(), pNeighbor(), setNeighbor(), setNeighbor(), and ~Facet().

◆ _type

byte Facet::_type
protected

Definition at line 79 of file facet.h.

Referenced by equal(), key(), type(), and type().


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