GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
gvl_calc2.c File Reference

OGSF library - loading and manipulating volumes, MarchingCubes 33 Algorithm (lower level functions) More...

#include <float.h>
#include <grass/gis.h>
#include <grass/ogsf.h>
#include "mc33_table.h"
Include dependency graph for gvl_calc2.c:

Go to the source code of this file.

Functions

int mc33_test_face (char face, float *v)
 ADD. More...
 
int mc33_test_interior (char s, float *v)
 ADD. More...
 
int mc33_process_cube (int c_ndx, float *v)
 ADD. More...
 

Variables

unsigned char m_case
 
unsigned char m_config
 
unsigned char m_subconfig
 

Detailed Description

OGSF library - loading and manipulating volumes, MarchingCubes 33 Algorithm (lower level functions)

GRASS OpenGL gsurf OGSF Library

Based on implementation of MarchingCubes 33 Algorithm by Thomas Lewiner, thoma.nosp@m.s.le.nosp@m.winer.nosp@m.@pol.nosp@m.ytech.nosp@m.niqu.nosp@m.e.org, Math Dept, PUC-Rio

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Tomas Paudits, 2004
Doxygenized by Martin Landa <landa.martin gmail.com> (May 2008)

Definition in file gvl_calc2.c.

Function Documentation

◆ mc33_process_cube()

int mc33_process_cube ( int  c_ndx,
float *  v 
)

ADD.

Parameters
c_ndx
v
Returns

Definition at line 307 of file gvl_calc2.c.

References m_case.

◆ mc33_test_face()

int mc33_test_face ( char  face,
float *  v 
)

ADD.

Parameters
face
v
Returns

Definition at line 39 of file gvl_calc2.c.

◆ mc33_test_interior()

int mc33_test_interior ( char  s,
float *  v 
)

ADD.

Parameters
s
v
Returns

Definition at line 108 of file gvl_calc2.c.

Variable Documentation

◆ m_case

unsigned char m_case

Definition at line 29 of file gvl_calc2.c.

Referenced by mc33_process_cube().

◆ m_config

unsigned char m_config

Definition at line 29 of file gvl_calc2.c.

◆ m_subconfig

unsigned char m_subconfig

Definition at line 29 of file gvl_calc2.c.