NanoShaper  0.7.2
NanoShaper is a tool able to triangulate and inspect an arbitray triangulated surface or several types of molecular surfaces
C:/Documents and Settings/sdecherchi/My Documents/Ricerca/software nostro/NanoShaper0.7/src/ExampleSurface.h File Reference

ExampleSurface.h is the header for CLASS ExampleSurface.cpp. More...

#include "Surface.h"

Go to the source code of this file.

Classes

class  ExampleSurface
 This class is a simple example that shows the main concepts needed to introduce a new surface in NanoShaper. This class builds a sphere centered on the baricenter of input points whose radius is specified by the user. This surface is ray-casting based and it is a trivial Surface definition. On a real scenario high performance is needed; to get performance the Developer can use the same strategies used in other surfaces such as in classes ConnollySurface and SkinSurface. The acceleration strategies are 2D/3D grids that allow fast retrieval of points or in general of simplices and patches. To add a new surface it is sufficient that you define a class withi this style (see registration class) and then it will be automatically loaded; you don't have to change any make file or cmake file, just write the source and put it the src folder. More...

Defines

#define DEFAULT_RADIUS   1.0

Detailed Description

ExampleSurface.h is the header for CLASS ExampleSurface.cpp.