17         private float[] scale=
new float[7];
    44                 ArrayList atomListByAxisOrder;                  
    51                 DisplayAtomParticle(atomListByAxisOrder);
    54                 ArrayList atomListByAxisOrder;
    61                 DisplayAtomParticle(atomListByAxisOrder);
    64             GameObject shurikenParticleManagerObj = GameObject.FindGameObjectWithTag(
"ShurikenParticleManager");
    76             Vector3 v=
new Vector3();
    78             int Number=atomsLocation.Count;
    80             for(
int k=0;k<Number;k++) {
    81                 int i = (int)(atomsLocation[k] as 
float[])[4];
    84                 float typenumber=(atomsLocation[k] as 
float[])[3];
    86                 switch ( (
int) typenumber ) {
    89                             v=
new Vector3(1.7f*scale[0],1.7f*scale[0],1.7f*scale[0]);
    93                             v=
new Vector3(1.55f*scale[1],1.55f*scale[1],1.55f*scale[1]);
    97                             v=
new Vector3(1.52f*scale[2],1.52f*scale[2],1.52f*scale[2]);
   101                             v=
new Vector3(2.27f*scale[3],2.27f*scale[3],2.27f*scale[3]);
   105                             v=
new Vector3(1.18f*scale[4],1.18f*scale[4],1.18f*scale[4]);
   109                             v=
new Vector3(1.2f*scale[5],1.2f*scale[5],1.2f*scale[5]);
   113                             v=
new Vector3(1.0f*scale[6],1.0f*scale[6],1.0f*scale[6]);
   116                 CreateParticleBall(i,k,atomsLocation,c,v,order);
   121         private void CreateParticleBall(
int type,
int start,ArrayList atomLocationalist,Color c,Vector3 v,
int order) {       
   123             float[]  fLocation=atomLocationalist[start] as 
float[];
   124             Vector3 location=
new Vector3(fLocation[0],fLocation[1],fLocation[2]);
   134             ArrayList atomListByOrder=
new ArrayList();
   136             for(
int i=0;i<alist.Count;i++) {
   167                 float[] atom=
new float[5];
   168                 atom[0]=(alist[i] as 
float[])[0];
   169                 atom[1]=(alist[i] as 
float[])[1];
   170                 atom[2]=(alist[i] as 
float[])[2];
   173                 atomListByOrder.Add(atom);
   178             return atomListByOrder;
 
static float unknownScale
 
override void Init()
Initializes this instance of the ParticleSystem Manager. 
 
static bool secondarystruct
Switch between all atoms and C-alpha trace or BFactor secondary structure representation. 
 
void DisplayAtoms(UIData.AtomType type_atom, bool force_display=false)
 
static List< AtomModel > atomsTypelist
The type of each atom. 
 
static float phosphorusScale
 
static float sulphurScale
 
static List< float[]> CaSplineList
The coordinates of each Carbon alpha in the CA-Spline. 
 
!WiP Includes FLAGS of GUI. 
 
static bool isParticlesInitialized
 
static ArrayList atomOrderListArray
 
static List< Color > atomsColorList
The color of each atom. 
 
ArrayList AtomListByAxisOrder(IList alist)
 
static float hydrogenScale
 
void CreateParticleBall(int type, int start, ArrayList atomLocationalist, Color c, Vector3 v, int order)
 
void DisplayAtomParticle(ArrayList atomsLocation)
 
static ArrayList atomOrderList
 
static float nitrogenScale
 
static List< AtomModel > CaSplineTypeList
Type of each carbon alpha in the CA-Spline. 
 
static List< float[]> atomsLocationlist
The coordinates of each atom.