MCThresholdCube

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

MCThresholdCube()  

SYNOPSIS

triv_lib/mrchcube.c:68

MCPolygonStruct *MCThresholdCube(MCCubeCornerScalarStruct *CCS,
                                 RealType Threshold)
 

DESCRIPTION

Given 8 cube corner values (scalars), compute the polygon(s) in this cube along the isosurface at Threshold. if CCS has gradient information, it is used to approximate normals at the vertices.


 
                     7            K           6
                      ***********************
                    * +                   * *
                L *   +                 *   *              Vertices 0 - 7
                *     +     I         * J   *              Edges    A - L
            4 *********************** 5     *
              *       +             *       *
              *       +             *       * G
              *       + H           *       *
              *       +             *       *
              *       +             * F     *
            E *       +       C     *       *
              *       ++++++++++++++*+++++++* 2
              *   D + 3             *     *
              *   +                 *   * B
              * +                   * *
              ***********************
             0           A           1  

PARAMETERS:

CCS: The cube's dimensions/information.

Threshold: Iso surface level.  

FUNCTION RETURN VALUE

MCPolygonStruct *: List of polygons (not necessarily triangles), or possibly NULL.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:17 GMT, July 20, 2024