Go to the documentation of this file.
28 #ifndef __Ogre_Volume_IsoSurface_H__
29 #define __Ogre_Volume_IsoSurface_H__
59 static const size_t MS_CORNERS_FRONT[4];
62 static const size_t MS_CORNERS_BACK[4];
65 static const size_t MS_CORNERS_LEFT[4];
68 static const size_t MS_CORNERS_RIGHT[4];
71 static const size_t MS_CORNERS_TOP[4];
74 static const size_t MS_CORNERS_BOTTOM[4];
100 virtual void addMarchingSquaresTriangles(
const Vector3 *corners,
const Vector4 *volumeValues,
const size_t *indices,
const Real maxDistance,
MeshBuilder *mb)
const = 0;
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Class to build up a mesh with vertices and indices.
const Source * mSrc
To get the isovalue and normal.
static const Real ISO_LEVEL
The value where our isosurface is.
#define _OgreVolumeExport
4-dimensional homogeneous vector.
float Real
Software floating point type.
Standard 3-dimensional vector.
Abstract class defining the density function.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15