Class QuatSymmetrySubunits
- java.lang.Object
-
- org.biojava.nbio.structure.symmetry.core.QuatSymmetrySubunits
-
public class QuatSymmetrySubunits extends Object
A bean to represent information about the set ofSubunitbeing 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(List<SubunitCluster> clusters)Converts the List ofSubunitClusterto a Subunit object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCalphaCount()List<javax.vecmath.Point3d>getCenters()javax.vecmath.Point3dgetCentroid()List<String>getChainIds()This method is provisional and should only be used for coloring Subunits.List<Integer>getClusterIds()List<Integer>getFolds()intgetLargestSubunit()javax.vecmath.Point3dgetLowerBound()List<Integer>getModelNumbers()This method is provisional and should only be used for coloring Subunits.MomentsOfInertiagetMomentsOfInertia()List<javax.vecmath.Point3d>getOriginalCenters()intgetSubunitCount()List<javax.vecmath.Point3d[]>getTraces()List<javax.vecmath.Vector3d>getUnitVectors()javax.vecmath.Point3dgetUpperBound()
-
-
-
Constructor Detail
-
QuatSymmetrySubunits
public QuatSymmetrySubunits(List<SubunitCluster> clusters)
Converts the List ofSubunitClusterto a Subunit object.- Parameters:
clusters- List of SubunitCluster
-
-
Method Detail
-
getClusterIds
public List<Integer> getClusterIds()
-
getChainIds
public List<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 List<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()
-
getCalphaCount
public int getCalphaCount()
-
getLargestSubunit
public int getLargestSubunit()
-
getCenters
public List<javax.vecmath.Point3d> getCenters()
-
getUnitVectors
public List<javax.vecmath.Vector3d> getUnitVectors()
-
getOriginalCenters
public 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()
-
-