Class Confmap.TriangleMesh

java.lang.Object
gov.nih.mipav.model.algorithms.Confmap.TriangleMesh
Direct Known Subclasses:
Confmap.confMap
Enclosing class:
Confmap

class Confmap.TriangleMesh extends Object
  • Field Details

    • _vertices

      double[][] _vertices
    • _faces

      int[][] _faces
    • _edges

      int[][] _edges
    • _boundary_vertices

      int[] _boundary_vertices
    • _ff

      int[][] _ff
    • _ffi

      int[][] _ffi
    • _vf

      int[] _vf
    • _vfi

      int[] _vfi
    • _readonly

      boolean _readonly
    • _face_edges

      int[][] _face_edges
  • Constructor Details

    • TriangleMesh

      public TriangleMesh(double[][] vertices, int[][] faces, boolean readonly)
  • Method Details

    • vertices

      double[][] vertices()
    • vertex_dim

      int vertex_dim()
    • vertex_count

      int vertex_count()
    • faces

      int[][] faces()
    • edges

      int[][] edges()
    • face_count

      int face_count()
    • edge_count

      int edge_count()
    • boundary_vertices

      int[] boundary_vertices()
    • boundary_edges

      int[][] boundary_edges()
    • ff

      int[][] ff()
    • ffi

      int[][] ffi()
    • vf

      int[] vf()
    • vfi

      int[] vfi()
    • is_readonly

      boolean is_readonly()
    • set_vertices

      public void set_vertices(double[][] original_values)
    • get_vertex_faces

      public int[] get_vertex_faces(int[][] ff, int[][] ffi, int[] vf, int[] vfi, int vertex_id)
    • get_vertex_faces

      public int[] get_vertex_faces(int vertex_id)
    • compute_edge_lengths

      public double[] compute_edge_lengths()
    • compute_angle_defects

      public double[] compute_angle_defects()
    • compute_laplacian

      public Dijkstra.csr_matrix compute_laplacian()
    • find_cuts

      public int[] find_cuts(HashMap<Integer,HashSet<Integer>> cut_tree, int[] original_terminal_vertices)
    • cut_faces_tr

      public Confmap.TriangleMesh cut_faces_tr(int[] start_vertices, HashMap<Integer,HashSet<Integer>> cut_tree, boolean copy_values)
    • normalize

      public void normalize()
    • copy

      public Confmap.TriangleMesh copy(boolean copy_values)
    • set_readonly

      public void set_readonly()