Class MeshCollection

java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.MeshCollection
Direct Known Subclasses:
CGO, Draw, Isosurface

public abstract class MeshCollection extends Shape
  • Field Details

    • jvxlData

      protected JvxlData jvxlData
    • meshCount

      public int meshCount
    • meshes

      public Mesh[] meshes
    • currentMesh

      public Mesh currentMesh
    • isFixed

      public boolean isFixed
    • nUnnamed

      public int nUnnamed
    • colix

      public short colix
    • explicitID

      public boolean explicitID
    • previousMeshID

      protected String previousMeshID
    • linkedMesh

      protected Mesh linkedMesh
    • modelIndex

      protected int modelIndex
    • displayWithinDistance2

      protected float displayWithinDistance2
    • isDisplayWithinNot

      protected boolean isDisplayWithinNot
    • displayWithinPoints

      protected javajs.util.Lst<javajs.util.P3> displayWithinPoints
    • bsDisplay

      protected javajs.util.BS bsDisplay
    • title

      public String[] title
    • pickedMesh

      protected Mesh pickedMesh
    • pickedModel

      protected int pickedModel
    • pickedVertex

      protected int pickedVertex
    • pickedPt

      protected javajs.util.T3 pickedPt
    • connections

      protected int[] connections
    • htObjects

      protected Map<String,Mesh> htObjects
    • color

      protected int color
    • PREVIOUS_MESH_ID

      public static final String PREVIOUS_MESH_ID
      See Also:
  • Constructor Details

    • MeshCollection

      public MeshCollection()
  • Method Details

    • setMesh

      private Mesh setMesh(String thisID)
    • allocMesh

      public void allocMesh(String thisID, Mesh m)
    • merge

      public void merge(MeshCollection mc)
      called by ParallelProcessor at completion
      Parameters:
      mc -
    • initShape

      public void initShape()
      Specified by:
      initShape in class Shape
    • setPropMC

      protected void setPropMC(String propertyName, Object value, javajs.util.BS bs)
    • setTitle

      protected String[] setTitle(Object value)
    • checkExplicit

      protected void checkExplicit(String id)
    • setTokenProperty

      protected void setTokenProperty(int tokProp, boolean bProp, boolean testD)
    • setMeshTokenProperty

      private void setMeshTokenProperty(Mesh m, int tokProp, boolean bProp, boolean testD)
    • getPropDataMC

      protected boolean getPropDataMC(String property, Object[] data)
    • getMeshList

      protected javajs.util.Lst<Mesh> getMeshList(String key, boolean justOne)
      Get matching list of meshes, order reversed
      Parameters:
      key -
      justOne -
      Returns:
      list in reverse order, highest index first
    • getPropMC

      protected Object getPropMC(String property, int index)
    • getValues

      protected Object getValues(Mesh mesh)
    • getVertices

      protected Object getVertices(Mesh mesh)
    • clean

      protected void clean()
    • deleteMesh

      private void deleteMesh()
    • deleteMeshKey

      protected void deleteMeshKey(String key)
    • deleteMeshI

      public void deleteMeshI(int i)
    • resetObjects

      protected void resetObjects()
    • getMesh

      public Mesh getMesh(String thisID)
    • getIndexFromName

      public int getIndexFromName(String id)
      Overrides:
      getIndexFromName in class Shape
      Returns:
      index
    • setModelVisibilityFlags

      public void setModelVisibilityFlags(javajs.util.BS bsModels)
      Overrides:
      setModelVisibilityFlags in class Shape
    • setStatusPicked

      protected void setStatusPicked(int flag, javajs.util.T3 v, Map<String,Object> map)
    • getPickedPoint

      protected Map<String,Object> getPickedPoint(javajs.util.T3 v, int modelIndex)