Tplot3d Struct Reference

Detailed Description

A structure containing the information to plot in 3D.

Definition at line 54 of file plot3d.h.

Data Fields

FILE * f
 
char * fileName
 
unsigned int nobj
 
Tcolor color
 
boolean inObject
 

Field Documentation

char* Tplot3d::fileName

Name of the file where we store geometry with the '/' and '.' replaced by '_'. This string is used to name the geometric elements stored in the file. In this way geometric elements from different files have different names and can be safely merged.

Definition at line 56 of file plot3d.h.

Referenced by Close3dObject(), Close3dObjectNoColor(), ClosePlot3d(), Delete3dObject(), InitPlot3d(), Move3dObject(), SetColor3dObject(), and StartNew3dObject().

unsigned int Tplot3d::nobj

Number of geometric objects created. Used to give identifiers to the geometric objects.

Definition at line 60 of file plot3d.h.

Referenced by Close3dObject(), Close3dObjectNoColor(), ClosePlot3d(), InitPlot3d(), and StartNew3dObject().

Tcolor Tplot3d::color

Color for the object in definition.

Definition at line 62 of file plot3d.h.

Referenced by Close3dObject(), InitPlot3d(), Plot3dObjectWithColors(), PlotLine(), PlotSegments(), PlotVect3d(), and StartNew3dObject().

boolean Tplot3d::inObject

TRUE when we are in the middle of the definition of a geometric body composed from different elementary objects.

Definition at line 64 of file plot3d.h.

Referenced by Close3dObject(), Close3dObjectNoColor(), InitPlot3d(), Plot3dObject(), Plot3dObjectWithColor(), Plot3dObjectWithColors(), PlotBox3d(), PlotCylinder(), PlotLine(), PlotSegments(), PlotSphere(), PlotTriangle3d(), PlotVect3d(), SetColor3dObject(), and StartNew3dObject().