java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.Decimate.TriangleMesh

public class TriangleMesh extends Object
  • Field Details

    • maxX

      double maxX
    • maxY

      double maxY
    • maxZ

      double maxZ
    • minX

      double minX
    • minY

      double minY
    • minZ

      double minZ
    • myobj

      Mesh myobj
    • dipli

      boolean dipli
    • point

      WildMagic.LibFoundation.Mathematics.Vector3f[] point
    • aveH

      double aveH
    • sdviH

      double sdviH
    • H

      double[] H
    • minarea

      double minarea
    • threshold

      double threshold
    • index

      int[] index
    • laplace

      WildMagic.LibFoundation.Mathematics.Vector3f[] laplace
    • bilaplace

      WildMagic.LibFoundation.Mathematics.Vector3f[] bilaplace
    • KnotInit

      WildMagic.LibFoundation.Mathematics.Vector3f[] KnotInit
    • numberV

      int numberV
    • numberF

      int numberF
    • numberE

      int numberE
    • EulerC

      int EulerC
    • scaler

      double scaler
    • BEHead

      IDList BEHead
    • BETail

      IDList BETail
    • FaceArray

      int[][] FaceArray
    • neighborI

      int[] neighborI
    • neighborF

      int[] neighborF
    • neighborV

      int[] neighborV
    • FHead

      IDList[] FHead
    • FTail

      IDList[] FTail
    • VHead

      IDList[] VHead
    • VTail

      IDList[] VTail
    • IHead

      IDList[] IHead
    • ITail

      IDList[] ITail
    • boundary

      int[] boundary
    • numboundary

      int numboundary
    • subpoint

      WildMagic.LibFoundation.Mathematics.Vector3f[] subpoint
    • subFace

      int[][] subFace
    • mydecimate

      LODMesh mydecimate
    • tmppoint3d1

      WildMagic.LibFoundation.Mathematics.Vector3f tmppoint3d1
    • tmppoint3d2

      WildMagic.LibFoundation.Mathematics.Vector3f tmppoint3d2
    • Wvex

      WildMagic.LibFoundation.Mathematics.Vector3f Wvex
    • ffR

      int[] ffR
    • numberVOrig

      int numberVOrig
    • numberFOrig

      int numberFOrig
    • pointOrig

      WildMagic.LibFoundation.Mathematics.Vector3f[] pointOrig
    • FaceOrig

      int[][] FaceOrig
    • meshName

      String meshName
  • Constructor Details

    • TriangleMesh

      public TriangleMesh(WildMagic.LibGraphics.SceneGraph.VertexBuffer pkVBuffer, WildMagic.LibGraphics.SceneGraph.IndexBuffer pkIBuffer)
  • Method Details

    • SetName

      public void SetName(String name)
    • GetName

      public String GetName()
    • doDecimation

      public void doDecimation(double dv) throws Exception
      Throws:
      Exception
    • ReScale

      public void ReScale(double dv)
    • setEdgeN

      public void setEdgeN()
    • InitializeData

      public void InitializeData(int di, double dx, double dy, double dz)
    • memoryallocation

      public void memoryallocation(int dnumberV, int dnumberF)
    • dispose

      public void dispose()
      Dispose the local memory.
    • Init

      public void Init(IDList h, IDList t)
    • next

      public IDList next(IDList now)
    • back

      public IDList back(IDList now)
    • AppendVF

      public void AppendVF(int myID, IDList dVTail)
    • SearchI

      private boolean SearchI(int dID, IDList dIHead, IDList dITail)
    • AppendI

      public void AppendI(int dID, IDList dIHead, IDList dITail, int nowID, int[] dnum)
    • MakeFace

      public void MakeFace(int i, int di, int dj, int dk)
    • SetBoundaryStrips

      public void SetBoundaryStrips()
    • MakeArrayObj

      public void MakeArrayObj(int dv)
    • MakeArrayData

      public void MakeArrayData()
    • UpdatePolygon

      public void UpdatePolygon()
    • PropertyUpdate

      public void PropertyUpdate()
    • UpdatePolyStructure

      private void UpdatePolyStructure()
    • UpdatePolyStructureToOrig

      private void UpdatePolyStructureToOrig()
    • makeVector

      public void makeVector(WildMagic.LibFoundation.Mathematics.Vector3f out, WildMagic.LibFoundation.Mathematics.Vector3f in1, WildMagic.LibFoundation.Mathematics.Vector3f in2)
    • CrossVector

      public void CrossVector(WildMagic.LibFoundation.Mathematics.Vector3f out, WildMagic.LibFoundation.Mathematics.Vector3f in1, WildMagic.LibFoundation.Mathematics.Vector3f in2)
    • InnerProduct

      public double InnerProduct(WildMagic.LibFoundation.Mathematics.Vector3f in1, WildMagic.LibFoundation.Mathematics.Vector3f in2)
    • ScalarVector

      public void ScalarVector(WildMagic.LibFoundation.Mathematics.Vector3f out, double dv, WildMagic.LibFoundation.Mathematics.Vector3f in)
    • Point3dSize

      public double Point3dSize(WildMagic.LibFoundation.Mathematics.Vector3f in)
    • Distance

      public double Distance(WildMagic.LibFoundation.Mathematics.Vector3f in1, WildMagic.LibFoundation.Mathematics.Vector3f in2)
    • Decimation

      public void Decimation(double ddrp) throws IOException
      Throws:
      IOException
    • getFaceQuatityOrig

      public int getFaceQuatityOrig()
    • getFaceQuatity

      public int getFaceQuatity()
    • getDecimatedVBuffer

      public WildMagic.LibGraphics.SceneGraph.VertexBuffer getDecimatedVBuffer()
    • getDecimatedIBuffer

      public WildMagic.LibGraphics.SceneGraph.IndexBuffer getDecimatedIBuffer()
    • getDecimatedPoints

      public WildMagic.LibFoundation.Mathematics.Vector3f[] getDecimatedPoints()
    • getDecimatedFace

      public int[][] getDecimatedFace()
    • getFace

      public int getFace(int i, int j, int fi)