public class JmolSymmetryScriptGeneratorH extends JmolSymmetryScriptGenerator
Constructor and Description |
---|
JmolSymmetryScriptGeneratorH(HelixAxisAligner helixAxisAligner,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
colorBySequenceCluster()
Returns a Jmol script that colors subunits by their sequence cluster ids.
|
String |
colorBySubunit()
Returns a Jmol script that colors the subunits of a structure by different colors
|
String |
colorBySymmetry()
Returns a Jmol script that colors subunits to highlight the symmetry within a structure
Different subunits should have a consistent color scheme or different shade of the same colors
|
String |
drawAxes()
Returns a Jmol script that draws symmetry or inertia axes for a structure.
|
String |
drawPolyhedron()
Returns a Jmol script that draws an invisible polyhedron around a structure.
|
String |
getDefaultOrientation()
Returns a Jmol script to set the default orientation for a structure
|
protected double |
getMaxExtension()
Returns the maximum extension (length) of structure
|
String |
getOrientation(int index)
Returns a Jmol script that sets a specific orientation
|
int |
getOrientationCount()
Returns the number of orientations available for this structure
|
String |
getOrientationName(int index)
Returns the name of a specific orientation
|
String |
getOrientationWithZoom(int index)
Returns a Jmol script that sets a specific orientation and zoom
to draw either axes or polyhedron
|
javax.vecmath.Matrix4d |
getTransformation()
Returns transformation matrix to orient structure
|
int |
getZoom()
Returns the Jmol zoom to fit polyhedron and symmetry axes.
|
String |
hideAxes()
Returns a Jmol script to hide axes
|
String |
hidePolyhedron() |
String |
playOrientations()
Returns a Jmol script that displays a symmetry polyhedron and symmetry axes
and then loop through different orientations
|
void |
setDefaultColoring(String colorScript)
Sets a default Jmol script used for coloring.
|
void |
setOnTheFly(boolean onTheFly)
Sets the type of bioassembly to be colored.
|
String |
showAxes()
Returns a Jmol script to show axes
|
String |
showPolyhedron() |
f1Dot2, fDot2, getInstance, getInstantaneousOrientation, getJmolColor, getJmolColorScript, getJmolLigandScript, getJmolPoint, jMolFloat
public JmolSymmetryScriptGeneratorH(HelixAxisAligner helixAxisAligner, String name)
public void setOnTheFly(boolean onTheFly)
JmolSymmetryScriptGenerator
setOnTheFly
in class JmolSymmetryScriptGenerator
public int getZoom()
JmolSymmetryScriptGenerator
getZoom
in class JmolSymmetryScriptGenerator
public String getDefaultOrientation()
getDefaultOrientation
in class JmolSymmetryScriptGenerator
public int getOrientationCount()
JmolSymmetryScriptGenerator
getOrientationCount
in class JmolSymmetryScriptGenerator
public String getOrientation(int index)
JmolSymmetryScriptGenerator
getOrientation
in class JmolSymmetryScriptGenerator
index
- orientation indexpublic String getOrientationWithZoom(int index)
getOrientationWithZoom
in class JmolSymmetryScriptGenerator
index
- orientation indexpublic String getOrientationName(int index)
getOrientationName
in class JmolSymmetryScriptGenerator
index
- orientation indexpublic javax.vecmath.Matrix4d getTransformation()
JmolSymmetryScriptGenerator
getTransformation
in class JmolSymmetryScriptGenerator
public void setDefaultColoring(String colorScript)
JmolSymmetryScriptGenerator
setDefaultColoring
in class JmolSymmetryScriptGenerator
public String drawPolyhedron()
drawPolyhedron
in class JmolSymmetryScriptGenerator
public String hidePolyhedron()
hidePolyhedron
in class JmolSymmetryScriptGenerator
public String showPolyhedron()
showPolyhedron
in class JmolSymmetryScriptGenerator
public String drawAxes()
drawAxes
in class JmolSymmetryScriptGenerator
public String hideAxes()
hideAxes
in class JmolSymmetryScriptGenerator
public String showAxes()
showAxes
in class JmolSymmetryScriptGenerator
public String playOrientations()
playOrientations
in class JmolSymmetryScriptGenerator
public String colorBySubunit()
colorBySubunit
in class JmolSymmetryScriptGenerator
public String colorBySequenceCluster()
colorBySequenceCluster
in class JmolSymmetryScriptGenerator
public String colorBySymmetry()
colorBySymmetry
in class JmolSymmetryScriptGenerator
protected double getMaxExtension()
Copyright © 2000–2016 BioJava. All rights reserved.