Package gov.nih.mipav.model.algorithms
Class Confmap.BFF
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.Confmap.TriangleMesh
-
- gov.nih.mipav.model.algorithms.Confmap.confMap
-
- gov.nih.mipav.model.algorithms.Confmap.BFF
-
- Enclosing class:
- Confmap
class Confmap.BFF extends Confmap.confMap
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Dijkstra.csr_matrix_A(package private) Dijkstra.csr_matrix_ABB(package private) Dijkstra.csr_matrix_AIB(package private) double[]_angle_defects(package private) Confmap.BFF_bff_cut(package private) double[]_boundary_edge_lengths(package private) double[]_im_k(package private) Confmap.TriangleMesh_image(package private) int[]_inner_vertices(package private) double[]_ub(package private) int[]_vmap_cut(package private) Dijkstradj(package private) SuperLU.SuperMatrixLA(package private) SuperLU.SuperMatrixLABB(package private) SuperLU.SuperMatrixLAII(package private) int[]perm_cA(package private) int[]perm_cABB(package private) int[]perm_cAII(package private) int[]perm_rA(package private) int[]perm_rABB(package private) int[]perm_rAII(package private) SuperLU.SuperLUStat_tstatA(package private) SuperLU.SuperLUStat_tstatABB(package private) SuperLU.SuperLUStat_tstatAII(package private) SuperLU.SuperMatrixUA(package private) SuperLU.SuperMatrixUABB(package private) SuperLU.SuperMatrixUAII-
Fields inherited from class gov.nih.mipav.model.algorithms.Confmap.confMap
_cone_singularities, _is_holomorphic, _is_spherical, _target_cone_angles
-
Fields inherited from class gov.nih.mipav.model.algorithms.Confmap.TriangleMesh
_boundary_vertices, _edges, _face_edges, _faces, _ff, _ffi, _readonly, _vertices, _vf, _vfi
-
-
Constructor Summary
Constructors Constructor Description BFF(double[][] vertices, int[][] faces, int[] polygon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void_add_singularities_auto(int count, double[] cone_angles, double quantize)void_add_singularities_by_id(int[] vertex_ids, double[] cone_angles, double quantize)void_add_singularities_by_id(int vertex_ids, double cone_angles, double quantize)double[][]_best_fit_curve()double[]_compute_cone_angles()double[]_compute_scale_factors()double[][]_extend_curve(double[][] uvb)int[]_index_vertices(boolean boundary, boolean cones)void_post_reset_cuts()void_set_dirichlet(double[] ub)void_set_neumann(double[] im_k)Confmap.TriangleMeshlayout(boolean normalize, int[] start_vertices, java.util.HashMap<java.lang.Integer,java.util.HashSet<java.lang.Integer>> cut_tree)voidoptimize()Confmap.TriangleMeshparameterize_curve(Confmap.ParametricCurve pcurve)Confmap.TriangleMeshparameterize_uniform()double[]quasi_conformal_error()voidsetup_angles(double[] boundary_angles)voidsetup_lengths(double[] boundary_lengths)voidsetup_polygon(int[] poly_vertices)voidsetup_scale_factors(double[] ub)-
Methods inherited from class gov.nih.mipav.model.algorithms.Confmap.confMap
_pre_add_singularities, _pre_add_singularities, _pre_setup_angles, _pre_setup_lengths, _pre_setup_polygon, _pre_setup_scale_factors, add_singularities, add_singularities, add_singularity, cone_singularities, image, is_holomorphic, is_spherical, reset_cuts, setup_minimum_distortion, target_cone_angles
-
Methods inherited from class gov.nih.mipav.model.algorithms.Confmap.TriangleMesh
boundary_edges, boundary_vertices, compute_angle_defects, compute_edge_lengths, compute_laplacian, copy, cut_faces_tr, edge_count, edges, face_count, faces, ff, ffi, find_cuts, get_vertex_faces, get_vertex_faces, is_readonly, normalize, set_readonly, set_vertices, vertex_count, vertex_dim, vertices, vf, vfi
-
-
-
-
Field Detail
-
dj
Dijkstra dj
-
_boundary_edge_lengths
double[] _boundary_edge_lengths
-
_angle_defects
double[] _angle_defects
-
_A
Dijkstra.csr_matrix _A
-
_inner_vertices
int[] _inner_vertices
-
_AIB
Dijkstra.csr_matrix _AIB
-
_ABB
Dijkstra.csr_matrix _ABB
-
LA
SuperLU.SuperMatrix LA
-
UA
SuperLU.SuperMatrix UA
-
perm_cA
int[] perm_cA
-
perm_rA
int[] perm_rA
-
statA
SuperLU.SuperLUStat_t statA
-
LAII
SuperLU.SuperMatrix LAII
-
UAII
SuperLU.SuperMatrix UAII
-
perm_cAII
int[] perm_cAII
-
perm_rAII
int[] perm_rAII
-
statAII
SuperLU.SuperLUStat_t statAII
-
LABB
SuperLU.SuperMatrix LABB
-
UABB
SuperLU.SuperMatrix UABB
-
perm_cABB
int[] perm_cABB
-
perm_rABB
int[] perm_rABB
-
statABB
SuperLU.SuperLUStat_t statABB
-
_vmap_cut
int[] _vmap_cut
-
_bff_cut
Confmap.BFF _bff_cut
-
_ub
double[] _ub
-
_im_k
double[] _im_k
-
_image
Confmap.TriangleMesh _image
-
-
Method Detail
-
_set_dirichlet
public void _set_dirichlet(double[] ub)
-
_set_neumann
public void _set_neumann(double[] im_k)
-
_best_fit_curve
public double[][] _best_fit_curve()
-
_extend_curve
public double[][] _extend_curve(double[][] uvb)
-
_post_reset_cuts
public void _post_reset_cuts()
- Overrides:
_post_reset_cutsin classConfmap.confMap
-
setup_scale_factors
public void setup_scale_factors(double[] ub)
- Specified by:
setup_scale_factorsin classConfmap.confMap
-
setup_polygon
public void setup_polygon(int[] poly_vertices)
- Specified by:
setup_polygonin classConfmap.confMap
-
setup_angles
public void setup_angles(double[] boundary_angles)
- Specified by:
setup_anglesin classConfmap.confMap
-
setup_lengths
public void setup_lengths(double[] boundary_lengths)
- Specified by:
setup_lengthsin classConfmap.confMap
-
optimize
public void optimize()
-
_index_vertices
public int[] _index_vertices(boolean boundary, boolean cones)
-
_compute_scale_factors
public double[] _compute_scale_factors()
-
_compute_cone_angles
public double[] _compute_cone_angles()
-
_add_singularities_by_id
public void _add_singularities_by_id(int[] vertex_ids, double[] cone_angles, double quantize)- Specified by:
_add_singularities_by_idin classConfmap.confMap
-
_add_singularities_by_id
public void _add_singularities_by_id(int vertex_ids, double cone_angles, double quantize)
-
_add_singularities_auto
public void _add_singularities_auto(int count, double[] cone_angles, double quantize)- Specified by:
_add_singularities_autoin classConfmap.confMap
-
layout
public Confmap.TriangleMesh layout(boolean normalize, int[] start_vertices, java.util.HashMap<java.lang.Integer,java.util.HashSet<java.lang.Integer>> cut_tree)
- Specified by:
layoutin classConfmap.confMap
-
parameterize_uniform
public Confmap.TriangleMesh parameterize_uniform()
- Specified by:
parameterize_uniformin classConfmap.confMap
-
parameterize_curve
public Confmap.TriangleMesh parameterize_curve(Confmap.ParametricCurve pcurve)
- Specified by:
parameterize_curvein classConfmap.confMap
-
quasi_conformal_error
public double[] quasi_conformal_error()
-
-