cct.poly
Class PROCESS

java.lang.Object
  extended by cct.poly.PROCESS

public class PROCESS
extends java.lang.Object

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2006

Company: ANU


Field Summary
(package private)  int[] bounds
           
(package private)  java.util.ArrayList centers
           
(package private)  java.util.ArrayList corner_lst
           
(package private)  java.util.ArrayList corners
           
(package private)  java.util.ArrayList cubes
           
(package private)  float delta
           
(package private)  EDGETABLE edges
           
(package private) static int[] facebit
           
(package private)  ImplicitFunctionInterface function
           
(package private)  java.util.ArrayList gnormals
           
(package private) static float[] greenColor
           
(package private)  java.util.ArrayList gtriangles
           
(package private)  java.util.ArrayList gvertices
           
(package private)  int NOTET
           
(package private)  float[] size
           
(package private)  POINT start
           
(package private)  int TET
           
 
Constructor Summary
PROCESS()
           
PROCESS(ImplicitFunctionInterface _function, float[] _size, float _delta, int[] _bounds, java.util.ArrayList _gvertices, java.util.ArrayList _gnormals, java.util.ArrayList _gtriangles)
          An Implicit Surface Polygonizer
 
Method Summary
(package private)  int BIT(int i, int bit)
           
(package private)  boolean docube(CUBE cube)
           
(package private)  boolean dotet(CUBE cube, int c1, int c2, int c3, int c4)
          Tetrahedral Polygonization
(package private)  boolean dotet2(CUBE cube, int c1, int c2, int c3, int c4)
           
(package private)  TEST find(int sign, float x, float y, float z)
           
(package private)  TEST find2(int sign, float[] origin, float[] range)
          find: search for point with value of given sign (0: neg, 1: pos)
(package private)  int FLIP(int i, int bit)
           
(package private)  void march(int mode, float x, float y, float z)
           
(package private)  void march2(int mode, float[] dataOrigin, int[] numberOfVoxels, float[] xyz_step)
           
(package private)  void march3(int mode, float[] dataOrigin, int[] numberOfVoxels, float[] xyz_step)
           
(package private)  CORNER setcorner(int i, int j, int k)
           
(package private)  CORNER setcorner2(int i, int j, int k, int ix, int iy, int iz, float x, float y, float z)
           
(package private)  void testface(int i, int j, int k, CUBE old, int face, int c1, int c2, int c3, int c4)
           
(package private)  boolean triangle(int i1, int i2, int i3)
           
(package private)  int vertid(CORNER c1, CORNER c2)
           
(package private)  int vertid2(CORNER c1, CORNER c2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

facebit

static int[] facebit

TET

int TET

NOTET

int NOTET

gnormals

java.util.ArrayList gnormals

gvertices

java.util.ArrayList gvertices

gtriangles

java.util.ArrayList gtriangles

function

ImplicitFunctionInterface function

greenColor

static float[] greenColor

size

float[] size

delta

float delta

bounds

int[] bounds

start

POINT start

corner_lst

java.util.ArrayList corner_lst

cubes

java.util.ArrayList cubes

centers

java.util.ArrayList centers

corners

java.util.ArrayList corners

edges

EDGETABLE edges
Constructor Detail

PROCESS

public PROCESS()

PROCESS

public PROCESS(ImplicitFunctionInterface _function,
               float[] _size,
               float _delta,
               int[] _bounds,
               java.util.ArrayList _gvertices,
               java.util.ArrayList _gnormals,
               java.util.ArrayList _gtriangles)
An Implicit Surface Polygonizer

Method Detail

triangle

boolean triangle(int i1,
                 int i2,
                 int i3)

setcorner

CORNER setcorner(int i,
                 int j,
                 int k)

setcorner2

CORNER setcorner2(int i,
                  int j,
                  int k,
                  int ix,
                  int iy,
                  int iz,
                  float x,
                  float y,
                  float z)

FLIP

int FLIP(int i,
         int bit)

BIT

int BIT(int i,
        int bit)

testface

void testface(int i,
              int j,
              int k,
              CUBE old,
              int face,
              int c1,
              int c2,
              int c3,
              int c4)

find

TEST find(int sign,
          float x,
          float y,
          float z)

vertid

int vertid(CORNER c1,
           CORNER c2)

vertid2

int vertid2(CORNER c1,
            CORNER c2)

dotet

boolean dotet(CUBE cube,
              int c1,
              int c2,
              int c3,
              int c4)
Tetrahedral Polygonization


dotet2

boolean dotet2(CUBE cube,
               int c1,
               int c2,
               int c3,
               int c4)

docube

boolean docube(CUBE cube)

march

void march(int mode,
           float x,
           float y,
           float z)
     throws java.lang.Exception
Throws:
java.lang.Exception

march3

void march3(int mode,
            float[] dataOrigin,
            int[] numberOfVoxels,
            float[] xyz_step)
      throws java.lang.Exception
Throws:
java.lang.Exception

march2

void march2(int mode,
            float[] dataOrigin,
            int[] numberOfVoxels,
            float[] xyz_step)
      throws java.lang.Exception
Throws:
java.lang.Exception

find2

TEST find2(int sign,
           float[] origin,
           float[] range)
find: search for point with value of given sign (0: neg, 1: pos)