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

Public Member Functions

 CartoonRepresentation (string structName, UnityMolSelection sel, bool useHetatm=false)
 
void displayCartoonMesh (string structName, List< Segment > segments, Transform repParent, float ribbonWidth=4.5f, float bRad=0.3f, int bRes=10, bool useBspline=true, bool isTraj=false)
 
void Clear ()
 
void recompute (bool isNewModel=false)
 
- Public Member Functions inherited from UMol.AtomRepresentation
 AtomRepresentation (UnityMolSelection sel)
 
 AtomRepresentation ()
 

Public Attributes

List< GameObject > meshesGO
 
Dictionary< UnityMolResidue, GameObject > residueToGo
 
Dictionary< UnityMolResidue, List< int > > residueToVert
 
int totalVertices = 0
 
Dictionary< GameObject, List< Color32 > > meshColors
 
List< Color32[]> savedColors = new List<Color32[]>()
 
Color32 [] colorByRes = null
 
- Public Attributes inherited from UMol.AtomRepresentation
UnityMolSelection selection
 
int nbAtoms = 0
 
Transform representationParent
 
Transform representationTransform
 

Constructor & Destructor Documentation

◆ CartoonRepresentation()

UMol.CartoonRepresentation.CartoonRepresentation ( string  structName,
UnityMolSelection  sel,
bool  useHetatm = false 
)

Member Function Documentation

◆ Clear()

void UMol.CartoonRepresentation.Clear ( )

◆ displayCartoonMesh()

void UMol.CartoonRepresentation.displayCartoonMesh ( string  structName,
List< Segment segments,
Transform  repParent,
float  ribbonWidth = 4.5f,
float  bRad = 0.3f,
int  bRes = 10,
bool  useBspline = true,
bool  isTraj = false 
)

◆ recompute()

void UMol.CartoonRepresentation.recompute ( bool  isNewModel = false)

Member Data Documentation

◆ colorByRes

Color32 [] UMol.CartoonRepresentation.colorByRes = null

◆ meshColors

Dictionary<GameObject, List<Color32> > UMol.CartoonRepresentation.meshColors

◆ meshesGO

List<GameObject> UMol.CartoonRepresentation.meshesGO

◆ residueToGo

Dictionary<UnityMolResidue, GameObject> UMol.CartoonRepresentation.residueToGo

◆ residueToVert

Dictionary<UnityMolResidue, List<int> > UMol.CartoonRepresentation.residueToVert

◆ savedColors

List<Color32[]> UMol.CartoonRepresentation.savedColors = new List<Color32[]>()

◆ totalVertices

int UMol.CartoonRepresentation.totalVertices = 0

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