Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PSDisplayDevice Class Reference

FileRenderer subclass exports VMD scenes to PostScript files. More...

#include <PSDisplayDevice.h>

Inheritance diagram for PSDisplayDevice:

FileRenderer DisplayDevice List of all members.

Public Methods

 PSDisplayDevice (void)
 ~PSDisplayDevice (void)
virtual void write_header (void)
 write the header info. This is an alias for prepare3D. More...

virtual void write_trailer (void)
 write any trailer info. This is called by update. More...

virtual void render (const VMDDisplayList *display_list)
 Process the display list, adding primitives to the depth-sorted list for final output. Higher-level geometry (e.g., spheres and cylinders) are decomposed into simpler primitives (e.g., triangles and squares). More...

virtual void render_done (void)

Protected Methods

virtual void comment (const char *s)
 Comment describing representation geometry. More...


Detailed Description

FileRenderer subclass exports VMD scenes to PostScript files.

Definition at line 31 of file PSDisplayDevice.h.


Constructor & Destructor Documentation

PSDisplayDevice::PSDisplayDevice void   
 

Definition at line 30 of file PSDisplayDevice.C.

References NULL.

PSDisplayDevice::~PSDisplayDevice void   
 

Definition at line 49 of file PSDisplayDevice.C.


Member Function Documentation

void PSDisplayDevice::comment const char *    s [protected, virtual]
 

Comment describing representation geometry.

Reimplemented from FileRenderer.

Definition at line 1422 of file PSDisplayDevice.C.

References FileRenderer::outfile.

void PSDisplayDevice::render const VMDDisplayList   display_list [virtual]
 

Process the display list, adding primitives to the depth-sorted list for final output. Higher-level geometry (e.g., spheres and cylinders) are decomposed into simpler primitives (e.g., triangles and squares).

Reimplemented from FileRenderer.

Definition at line 56 of file PSDisplayDevice.C.

References SortableArray< DepthSortObject >::append, DepthSortObject::color, FileRenderer::colorIndex, DCOLORINDEX, DCONE, DCYLINDER, DepthSortObject::dist, DLASTCOMMAND, DLINE, DLINEARRAY, DPOINT, DPOLYLINEARRAY, DSPHERE, DSPHEREARRAY, DSPHERERES, DSQUARE, DTEXT, DTRIANGLE, DTRIMESH_C4F_N3F_V3F, DTRISTRIP, Stack< Matrix4 >::dup, DisplayDevice::find_instance_images, DisplayDevice::find_pbc_images, VMDDisplayList::first, DispCmdSphereArray::getpointers, DepthSortObject::light_scale, FileRenderer::lightState, mat, Matrix4::mat, VMDDisplayList::mat, FileRenderer::nearest_index, VMDDisplayList::next, DepthSortObject::npoints, NULL, ResizeArray::num, Stack< Matrix4 >::num, DispCmdSphereArray::numspheres, DepthSortObject::points, Stack< Matrix4 >::pop, Stack< Matrix4 >::push, FileRenderer::scale_radius, FileRenderer::set_sphere_res, DispCmdSphereArray::sphereres, FileRenderer::super_multmatrix, DepthSortObject::text, Stack< Matrix4 >::top, FileRenderer::transMat, and vec_normalize.

void PSDisplayDevice::render_done void    [virtual]
 

Reimplemented from DisplayDevice.

Definition at line 556 of file PSDisplayDevice.C.

References DisplayDevice::Aspect, SortableArray< DepthSortObject >::num, SortableArray< DepthSortObject >::qsort, and DisplayDevice::vSize.

void PSDisplayDevice::write_header void    [virtual]
 

write the header info. This is an alias for prepare3D.

Reimplemented from FileRenderer.

Definition at line 1320 of file PSDisplayDevice.C.

References FileRenderer::backColor, FileRenderer::matData, MAXCOLORS, and FileRenderer::outfile.

void PSDisplayDevice::write_trailer void    [virtual]
 

write any trailer info. This is called by update.

Reimplemented from FileRenderer.

Definition at line 1418 of file PSDisplayDevice.C.


The documentation for this class was generated from the following files:
Generated on Thu Apr 18 02:47:22 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002