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

STLDisplayDevice Class Reference

FileRenderer subclass to export VMD scenes to STL solid model format. More...

#include <STLDisplayDevice.h>

Inheritance diagram for STLDisplayDevice:

FileRenderer DisplayDevice List of all members.

Public Methods

 STLDisplayDevice (void)
virtual ~STLDisplayDevice (void)
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 triangle (const float *, const float *, const float *, const float *, const float *, const float *)
 single color triangle with interpolated surface normals. More...


Detailed Description

FileRenderer subclass to export VMD scenes to STL solid model format.

Definition at line 28 of file STLDisplayDevice.h.


Constructor & Destructor Documentation

STLDisplayDevice::STLDisplayDevice void   
 

Definition at line 36 of file STLDisplayDevice.C.

STLDisplayDevice::~STLDisplayDevice void    [virtual]
 

Definition at line 40 of file STLDisplayDevice.C.


Member Function Documentation

void STLDisplayDevice::triangle const float *    v1,
const float *    v2,
const float *    v3,
const float *    n1,
const float *    n2,
const float *    n3
[protected, virtual]
 

single color triangle with interpolated surface normals.

Reimplemented from FileRenderer.

Definition at line 42 of file STLDisplayDevice.C.

References n, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat.

void STLDisplayDevice::write_header void    [virtual]
 

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

Reimplemented from FileRenderer.

Definition at line 81 of file STLDisplayDevice.C.

References FileRenderer::outfile.

void STLDisplayDevice::write_trailer void    [virtual]
 

write any trailer info. This is called by update.

Reimplemented from FileRenderer.

Definition at line 85 of file STLDisplayDevice.C.

References FileRenderer::outfile.


The documentation for this class was generated from the following files:
Generated on Sat Dec 7 02:45:53 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002