File illuminator.h

RCS Header: /cvsroot/petscgraphics/illuminator.h,v 1.15 2003/07/25 15:40:09 hazelsct Exp

This is the interface for the Illuminator library.


Included Files


Preprocessor definitions

To stop multiple inclusions.

#define ILLUMINATOR_H

#define COMPRESS_INT_MASK 0x30

#define COMPRESS_INT_NONE 0x00

#define COMPRESS_INT_LONG 0x10

#define COMPRESS_INT_SHORT 0x20

#define COMPRESS_INT_CHAR 0x30

#define COMPRESS_GZIP_MASK 0x0F

#define COMPRESS_GZIP_NONE 0x00

#define COMPRESS_GZIP_FAST 0x01

#define COMPRESS_GZIP_BEST 0x0A


Typedef field_plot_type

A value of field_plot_type is attached to each field in a simulation in order to visualize them properly. Types are as follows:

typedef enum {...} field_plot_type
enum 
   { 
     FIELD_SCALAR_COLORS;Plot scalar field using colors.
     FIELD_SCALAR_CONTOURS;Plot scalar field using contours.
     FIELD_TERNARY_RGB;Plot ternary data using red, green, blue for components (third component is inferred from first two).
     FIELD_VECTOR_ARROWS;Plot vector field using arrows.
     FIELD_VECTOR_HUEINTENSE;Plot vector field using hue for direction, intensity for magnitude.
     FIELD_TENSOR_TRANSFORM_VECTORS;Plot transformation tensor field as vector triplets.
     FIELD_TENSOR_STRESS;Plot symmetric tensor field using lines in principal stress directions.
     FIELD_TENSOR_STRESS_SHEAR;Plot symmetric tensor field using lines in principal stress directions, inferring last diagonal from the opposite of the sum of the other two.
   }