Class QuatSymmetrySubunits
- java.lang.Object
-
- org.biojava.nbio.structure.symmetry.core.QuatSymmetrySubunits
-
public class QuatSymmetrySubunits extends java.lang.ObjectA bean to represent information about the set ofSubunits being considered for symmetry detection. This class is a helper for theQuatSymmetryDetectoralgorithm, since it calculates and caches theMomentsOfInertiaand the centroids of each Subunit.- Author:
- Peter Rose, Aleix Lafita
-
-
Constructor Summary
Constructors Constructor Description QuatSymmetrySubunits(java.util.List<SubunitCluster> clusters)Converts the List ofSubunitClusterto a Subunit object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCalphaCount()java.util.List<javax.vecmath.Point3d>getCenters()javax.vecmath.Point3dgetCentroid()java.util.List<java.lang.String>getChainIds()This method is provisional and should only be used for coloring Subunits.java.util.List<java.lang.Integer>getClusterIds()java.util.List<java.lang.Integer>getFolds()intgetLargestSubunit()javax.vecmath.Point3dgetLowerBound()java.util.List<java.lang.Integer>getModelNumbers()This method is provisional and should only be used for coloring Subunits.MomentsOfInertiagetMomentsOfInertia()java.util.List<javax.vecmath.Point3d>getOriginalCenters()intgetSubunitCount()java.util.List<javax.vecmath.Point3d[]>getTraces()java.util.List<javax.vecmath.Vector3d>getUnitVectors()javax.vecmath.Point3dgetUpperBound()
-
-
-
Constructor Detail
-
QuatSymmetrySubunits
public QuatSymmetrySubunits(java.util.List<SubunitCluster> clusters)
Converts the List ofSubunitClusterto a Subunit object.- Parameters:
clusters- List of SubunitCluster
-
-
Method Detail
-
getTraces
public java.util.List<javax.vecmath.Point3d[]> getTraces()
-
getClusterIds
public java.util.List<java.lang.Integer> getClusterIds()
-
getChainIds
public java.util.List<java.lang.String> getChainIds()
This method is provisional and should only be used for coloring Subunits. A new coloring schema has to be implemented to allow the coloring of Subunits, without implying one Subunit = one Chain.- Returns:
- A List of the Chain Ids of each Subunit
-
getModelNumbers
public java.util.List<java.lang.Integer> getModelNumbers()
This method is provisional and should only be used for coloring Subunits. A new coloring schema has to be implemented to allow the coloring of Subunits, without implying one Subunit = one Chain.- Returns:
- A List of the Model number of each Subunit
-
getSubunitCount
public int getSubunitCount()
-
getFolds
public java.util.List<java.lang.Integer> getFolds()
-
getCalphaCount
public int getCalphaCount()
-
getLargestSubunit
public int getLargestSubunit()
-
getCenters
public java.util.List<javax.vecmath.Point3d> getCenters()
-
getUnitVectors
public java.util.List<javax.vecmath.Vector3d> getUnitVectors()
-
getOriginalCenters
public java.util.List<javax.vecmath.Point3d> getOriginalCenters()
-
getCentroid
public javax.vecmath.Point3d getCentroid()
-
getMomentsOfInertia
public MomentsOfInertia getMomentsOfInertia()
-
getLowerBound
public javax.vecmath.Point3d getLowerBound()
-
getUpperBound
public javax.vecmath.Point3d getUpperBound()
-
-