Tplot3d Struct Reference

Detailed Description

A structure containing the information to plot in 3D.

Definition at line 107 of file plot3d.h.

Data Fields

FILE * f
 
char * fileName
 
unsigned int nobj
 
Tcolor color
 
unsigned int blockLevel
 
boolean inObject
 
unsigned int lpid
 
pthread_t thread
 
TpickInfo pickInfo
 
sem_t lout
 

Field Documentation

◆ f

◆ fileName

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 109 of file plot3d.h.

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

◆ nobj

unsigned int Tplot3d::nobj

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

Definition at line 113 of file plot3d.h.

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

◆ color

Tcolor Tplot3d::color

Color for the object in definition.

Definition at line 115 of file plot3d.h.

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

◆ blockLevel

unsigned int Tplot3d::blockLevel

Number of blocks being defined.

Definition at line 117 of file plot3d.h.

Referenced by Close3dBlock(), ClosePlot3d(), InitPlot3d(), and Start3dBlock().

◆ inObject

boolean Tplot3d::inObject

◆ lpid

unsigned int Tplot3d::lpid

Length of the string containing the process identifier.

Definition at line 120 of file plot3d.h.

Referenced by InitPlot3d(), and pick().

◆ thread

pthread_t Tplot3d::thread

Thread used to get input from geomview. Only used when f is stdout (when directly connecting to geomview).

Definition at line 121 of file plot3d.h.

Referenced by ClosePlot3d(), and InitPlot3d().

◆ pickInfo

TpickInfo Tplot3d::pickInfo

Information about the last pick event.

Definition at line 123 of file plot3d.h.

Referenced by ClosePlot3d(), InitPlot3d(), and pick().

◆ lout

sem_t Tplot3d::lout

Used to lock the access to stdout (stream used to communicate with geomview)

Definition at line 127 of file plot3d.h.

Referenced by ClosePlot3d(), and InitPlot3d().