UnityMol  1.0.25beta
UMol.FieldLinesRepresentation Class Reference
Inheritance diagram for UMol.FieldLinesRepresentation:
UMol.AtomRepresentation

Public Member Functions

 FieldLinesRepresentation (string structName, UnityMolSelection sel, FieldLinesReader r)
 
void recompute (float newMag, int ite=100)
 
void DisplayFieldlines (Color c1, Color c2, Transform repParent, bool randomOffset=true)
 
void changeFLSize (float newSize)
 
- Public Member Functions inherited from UMol.AtomRepresentation
 AtomRepresentation (UnityMolSelection sel)
 
 AtomRepresentation ()
 

Public Attributes

Dictionary< string, List< Vector3 > > linesPositions
 
Int2 [] meshVertIds
 
FieldLinesReader reader
 
GameObject goFL
 
float magThreshold = 1.8f
 
int nbIter = 100
 
float lineWidth = 0.05f
 
Color startColor = Color.white
 
Color endColor = Color.white
 
float lengthLine = 0.2f
 
float speedLine = 1.0f
 
- Public Attributes inherited from UMol.AtomRepresentation
UnityMolSelection selection
 
int nbAtoms = 0
 
Transform representationParent
 
Transform representationTransform
 

Constructor & Destructor Documentation

◆ FieldLinesRepresentation()

UMol.FieldLinesRepresentation.FieldLinesRepresentation ( string  structName,
UnityMolSelection  sel,
FieldLinesReader  r 
)

Member Function Documentation

◆ changeFLSize()

void UMol.FieldLinesRepresentation.changeFLSize ( float  newSize)

◆ DisplayFieldlines()

void UMol.FieldLinesRepresentation.DisplayFieldlines ( Color  c1,
Color  c2,
Transform  repParent,
bool  randomOffset = true 
)

◆ recompute()

void UMol.FieldLinesRepresentation.recompute ( float  newMag,
int  ite = 100 
)

Member Data Documentation

◆ endColor

Color UMol.FieldLinesRepresentation.endColor = Color.white

◆ goFL

GameObject UMol.FieldLinesRepresentation.goFL

◆ lengthLine

float UMol.FieldLinesRepresentation.lengthLine = 0.2f

◆ linesPositions

Dictionary<string, List<Vector3> > UMol.FieldLinesRepresentation.linesPositions

◆ lineWidth

float UMol.FieldLinesRepresentation.lineWidth = 0.05f

◆ magThreshold

float UMol.FieldLinesRepresentation.magThreshold = 1.8f

◆ meshVertIds

Int2 [] UMol.FieldLinesRepresentation.meshVertIds

◆ nbIter

int UMol.FieldLinesRepresentation.nbIter = 100

◆ reader

FieldLinesReader UMol.FieldLinesRepresentation.reader

◆ speedLine

float UMol.FieldLinesRepresentation.speedLine = 1.0f

◆ startColor

Color UMol.FieldLinesRepresentation.startColor = Color.white

The documentation for this class was generated from the following file: