UnityMol  1.0.25beta
UMol.XDRFileReader Class Reference

Classes

struct  FrameInfo
 

Public Member Functions

int load_trajectory ()
 
int open_trajectory (UnityMolStructure stru, string filename, bool is_trr=false)
 
int next_frame (ref int step, ref float time, [In, Out] float[] positions, ref float precision)
 
int sync_scene_with_frame (int frame_number)
 
int close_trajectory ()
 
void Clear ()
 
int sync_scene_with_frame_smooth (int frame1, int frame2, float t, bool new_frame=false)
 

Public Attributes

UnityMolStructure structure
 
int currentFrame = 0
 
int numberAtoms = 0
 
int numberFrames = 0
 
List< List< Vector3 > > frames = new List<List<Vector3>>()
 

Member Function Documentation

◆ Clear()

void UMol.XDRFileReader.Clear ( )

◆ close_trajectory()

int UMol.XDRFileReader.close_trajectory ( )

◆ load_trajectory()

int UMol.XDRFileReader.load_trajectory ( )

◆ next_frame()

int UMol.XDRFileReader.next_frame ( ref int  step,
ref float  time,
[In, Out] float []  positions,
ref float  precision 
)

◆ open_trajectory()

int UMol.XDRFileReader.open_trajectory ( UnityMolStructure  stru,
string  filename,
bool  is_trr = false 
)

◆ sync_scene_with_frame()

int UMol.XDRFileReader.sync_scene_with_frame ( int  frame_number)

◆ sync_scene_with_frame_smooth()

int UMol.XDRFileReader.sync_scene_with_frame_smooth ( int  frame1,
int  frame2,
float  t,
bool  new_frame = false 
)

Member Data Documentation

◆ currentFrame

int UMol.XDRFileReader.currentFrame = 0

◆ frames

List<List<Vector3> > UMol.XDRFileReader.frames = new List<List<Vector3>>()

◆ numberAtoms

int UMol.XDRFileReader.numberAtoms = 0

◆ numberFrames

int UMol.XDRFileReader.numberFrames = 0

◆ structure

UnityMolStructure UMol.XDRFileReader.structure

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