Computer Assisted Medical Intervention Tool Kit  version 5.1
SurfaceExtractor Class Reference

A class to generate the external surface of a pml to use it just add the cells among which you want to extract an external surface designed for the case where a pml represent several object and thus there are several surface to extract for an example of use see SofaSimulator.cpp. More...

#include <SurfaceExtractor.h>

Public Member Functions

void AddCell (Cell *c)
 try to add a cell in the surface extractor and do it if this cell is not in More...
 
void generateExternalSurface (StructuralComponent &surface, StructuralComponent &surfacePoints)
 generate the external surface More...
 
void init ()
 initialize the extractor More...
 
 SurfaceExtractor (PhysicalModel *pm)
 constructor More...
 
 ~SurfaceExtractor ()
 destructor More...
 

Detailed Description

A class to generate the external surface of a pml to use it just add the cells among which you want to extract an external surface designed for the case where a pml represent several object and thus there are several surface to extract for an example of use see SofaSimulator.cpp.

Constructor & Destructor Documentation

◆ SurfaceExtractor()

SurfaceExtractor::SurfaceExtractor ( PhysicalModel pm)

constructor

◆ ~SurfaceExtractor()

SurfaceExtractor::~SurfaceExtractor ( )

destructor

Member Function Documentation

◆ AddCell()

◆ generateExternalSurface()

void SurfaceExtractor::generateExternalSurface ( StructuralComponent surface,
StructuralComponent surfacePoints 
)

generate the external surface

Parameters
surfaceadd the cells of the surface in the component surface
surfacePointsadd the points of the surface in the component surfacePoints

References StructuralComponent::addStructure(), PhysicalModel::getAtom(), StructuralComponent::getCell(), Structure::getIndex(), StructuralComponent::getNumberOfStructures(), and StructuralComponent::getStructure().

Referenced by SofaSimulator::createPml().

◆ init()

void SurfaceExtractor::init ( )

initialize the extractor

Referenced by SofaSimulator::createPml().


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