UnityMol  0.9.6-875
UnityMol viewer / In developement
PostProcessing Class Reference

Static Public Member Functions

static void GenerateMeshes (List< Vector3 > vertices, List< Vector3 > normals, List< int > triangles, List< Color32 > colors, int[] ss, string tag="RibbonObj", string gameobj="Ribbons")
 

Static Private Member Functions

static void DuplicateVertices (List< Vector3 > vertices, List< Vector3 > normals, List< int > triangles, List< Color32 > colors)
 
static void SubGenerateMeshes (List< Mesh > meshes, string tag, string gameobj)
 
static void AddFirstFrontalFace (List< Vector3 > vertices, List< Vector3 > normals, List< int > triangles, List< Color32 > colors, int[] ss)
 
static void AddLastFrontalFace (List< Vector3 > vertices, List< Vector3 > normals, List< int > triangles, List< Color32 > colors, int[] ss)
 

Static Private Attributes

static Vector3 CENTER = new Vector3(0f,0f,0f)
 

Detailed Description

Definition at line 6 of file PostProcessing.cs.

Member Function Documentation

static void PostProcessing.AddFirstFrontalFace ( List< Vector3 >  vertices,
List< Vector3 >  normals,
List< int >  triangles,
List< Color32 >  colors,
int[]  ss 
)
staticprivate

Definition at line 178 of file PostProcessing.cs.

Referenced by GenerateMeshes().

+ Here is the caller graph for this function:

static void PostProcessing.AddLastFrontalFace ( List< Vector3 >  vertices,
List< Vector3 >  normals,
List< int >  triangles,
List< Color32 >  colors,
int[]  ss 
)
staticprivate

Definition at line 235 of file PostProcessing.cs.

Referenced by GenerateMeshes().

+ Here is the caller graph for this function:

static void PostProcessing.DuplicateVertices ( List< Vector3 >  vertices,
List< Vector3 >  normals,
List< int >  triangles,
List< Color32 >  colors 
)
staticprivate

First attempt at making ribbons thick.

Not used anymore.

Parameters
verticesVertices.
normalsNormals.
trianglesTriangles.
colorsColors.

Definition at line 24 of file PostProcessing.cs.

static void PostProcessing.GenerateMeshes ( List< Vector3 >  vertices,
List< Vector3 >  normals,
List< int >  triangles,
List< Color32 >  colors,
int[]  ss,
string  tag = "RibbonObj",
string  gameobj = "Ribbons" 
)
static

Definition at line 296 of file PostProcessing.cs.

References AddFirstFrontalFace(), AddLastFrontalFace(), MeshData.colors, MeshData.normals, Ribbons.ribbontag, Splitting.Split(), SubGenerateMeshes(), MeshData.triangles, and MeshData.vertices.

Referenced by Ribbons.CreateRibbons().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void PostProcessing.SubGenerateMeshes ( List< Mesh >  meshes,
string  tag,
string  gameobj 
)
staticprivate

Definition at line 152 of file PostProcessing.cs.

References SecondaryStructureManager.addRibbon(), CENTER, and UnityMolMain.getSecondaryStructureManager().

Referenced by GenerateMeshes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Vector3 PostProcessing.CENTER = new Vector3(0f,0f,0f)
staticprivate

Definition at line 7 of file PostProcessing.cs.

Referenced by SubGenerateMeshes().


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