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

ArtDisplayDevice Class Reference

FileRenderer subclass to export VMD scenes to ART ray tracer scene format. More...

#include <ArtDisplayDevice.h>

Inheritance diagram for ArtDisplayDevice:

FileRenderer DisplayDevice List of all members.

Public Methods

 ArtDisplayDevice ()
virtual ~ArtDisplayDevice (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 comment (const char *)
 Comment describing representation geometry. More...

void cone (float *, float *, float, int)
 draw a single-radius cone (pointy top). More...

void cylinder (float *, float *, float, int filled)
 draw a cylinder, with optional caps. More...

void line (float *, float *)
 draw a single line. More...

void point (float *)
 draw an unlit point. More...

void sphere (float *)
 draw a sphere. More...

void square (float *, float *, float *, float *, float *)
 draw a quadrilateral. More...

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 ART ray tracer scene format.

Definition at line 42 of file ArtDisplayDevice.h.


Constructor & Destructor Documentation

ArtDisplayDevice::ArtDisplayDevice  
 

Definition at line 57 of file ArtDisplayDevice.C.

ArtDisplayDevice::~ArtDisplayDevice void    [virtual]
 

Definition at line 61 of file ArtDisplayDevice.C.


Member Function Documentation

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

Comment describing representation geometry.

Reimplemented from FileRenderer.

Definition at line 278 of file ArtDisplayDevice.C.

References FileRenderer::outfile.

void ArtDisplayDevice::cone float *    a,
float *    b,
float    r,
int   
[protected, virtual]
 

draw a single-radius cone (pointy top).

Reimplemented from FileRenderer.

Definition at line 191 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, FileRenderer::matData, ORDER, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::cylinder float *   ,
float *   ,
float   ,
int    filled
[protected, virtual]
 

draw a cylinder, with optional caps.

Reimplemented from FileRenderer.

Definition at line 168 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, FileRenderer::matData, ORDER, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::line float *   ,
float *   
[protected, virtual]
 

draw a single line.

Reimplemented from FileRenderer.

Definition at line 103 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, DASH_LENGTH, DEFAULT_RADIUS, FileRenderer::lineStyle, FileRenderer::lineWidth, FileRenderer::matData, ORDER, FileRenderer::outfile, Stack< Matrix4 >::top, FileRenderer::transMat, vec_copy, vec_normalize, and vec_sub.

void ArtDisplayDevice::point float *    spdata [protected, virtual]
 

draw an unlit point.

Reimplemented from FileRenderer.

Definition at line 66 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, DEFAULT_RADIUS, FileRenderer::lineWidth, FileRenderer::matData, ORDER, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::sphere float *    [protected, virtual]
 

draw a sphere.

Reimplemented from FileRenderer.

Definition at line 83 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, FileRenderer::matData, ORDER, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::square float *   ,
float *    a,
float *    b,
float *    c,
float *    d
[protected, virtual]
 

draw a quadrilateral.

Reimplemented from FileRenderer.

Definition at line 249 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, FileRenderer::matData, ORDER, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::triangle const float *    a,
const float *    b,
const float *    c,
const float *    n1,
const float *    n2,
const float *    n3
[protected, virtual]
 

single color triangle with interpolated surface normals.

Reimplemented from FileRenderer.

Definition at line 212 of file ArtDisplayDevice.C.

References FileRenderer::colorIndex, FileRenderer::matData, ORDER, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat.

void ArtDisplayDevice::write_header void    [virtual]
 

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

Reimplemented from FileRenderer.

Definition at line 286 of file ArtDisplayDevice.C.

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

void ArtDisplayDevice::write_trailer void    [virtual]
 

write any trailer info. This is called by update.

Reimplemented from FileRenderer.

Definition at line 311 of file ArtDisplayDevice.C.

References FileRenderer::outfile.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:46:21 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002