#include <MayaDisplayDevice.h>
Inheritance diagram for MayaDisplayDevice:
Public Methods | |
MayaDisplayDevice (void) | |
virtual | ~MayaDisplayDevice (void) |
virtual int | open_file (const char *filename) |
open the file; don't write the header info return TRUE if opened okay if file already opened, complain, and close previous file this will also reset the state variables. More... | |
virtual void | close_file (void) |
close the file. This is called by update, and exists due to symmetry. Also, is called for case when open is called when a file was already open. More... | |
void | write_header (void) |
write the header info. This is an alias for prepare3D. More... | |
void | write_trailer (void) |
write any trailer info. This is called by update. More... | |
Protected Methods | |
void | beginrepgeomgroup (const char *) |
start a new representation geometry group, used to preserve some of the original scene hierarchy when loading VMD scenes into tools like Maya, 3DS Max, etc. More... | |
void | comment (const char *) |
Comment describing representation geometry. More... | |
void | line (float *xyz1, float *xyz2) |
draw a single line. More... | |
void | point (float *xyz) |
draw an unlit point. More... | |
void | sphere (float *xyzr) |
draw a sphere. More... | |
void | triangle (const float *, const float *, const float *, const float *, const float *, const float *) |
single color triangle with interpolated surface normals. More... |
Definition at line 28 of file MayaDisplayDevice.h.
|
Definition at line 37 of file MayaDisplayDevice.C. |
|
Definition at line 41 of file MayaDisplayDevice.C. |
|
start a new representation geometry group, used to preserve some of the original scene hierarchy when loading VMD scenes into tools like Maya, 3DS Max, etc.
Reimplemented from FileRenderer. Definition at line 44 of file MayaDisplayDevice.C. References FileRenderer::outfile. |
|
close the file. This is called by update, and exists due to symmetry. Also, is called for case when open is called when a file was already open.
Reimplemented from FileRenderer. Definition at line 309 of file MayaDisplayDevice.C. References FileRenderer::isOpened, FileRenderer::my_filename, NULL, and FileRenderer::outfile. Referenced by open_file. |
|
Comment describing representation geometry.
Reimplemented from FileRenderer. Definition at line 49 of file MayaDisplayDevice.C. References FileRenderer::outfile. |
|
draw a single line.
Reimplemented from FileRenderer. Definition at line 90 of file MayaDisplayDevice.C. References DASH_LENGTH, FileRenderer::lineStyle, FileRenderer::outfile, Stack< Matrix4 >::top, FileRenderer::transMat, vec_copy, vec_normalize, and vec_sub. |
|
open the file; don't write the header info return TRUE if opened okay if file already opened, complain, and close previous file this will also reset the state variables.
Reimplemented from FileRenderer. Definition at line 290 of file MayaDisplayDevice.C. References close_file, FileRenderer::isOpened, FileRenderer::my_filename, NULL, FileRenderer::outfile, FileRenderer::reset_state, and stringdup. |
|
draw an unlit point.
Reimplemented from FileRenderer. Definition at line 54 of file MayaDisplayDevice.C. References FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a sphere.
Reimplemented from FileRenderer. Definition at line 66 of file MayaDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
single color triangle with interpolated surface normals.
Reimplemented from FileRenderer. Definition at line 141 of file MayaDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 319 of file MayaDisplayDevice.C. References FileRenderer::outfile. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 410 of file MayaDisplayDevice.C. |