Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

_prm Struct Reference

Primitive data structure: The primitives are stored in memory in a circular doubly-linked list, with a pointer to the head of the list. More...

List of all members.

Public Attributes

_prm * next
 next primitive in linked list

_prm * prev
 previous primitive in linked list

int type
 primitive type

void * geom
 pointer to primitive geometry data

int sel
 flag for selected primitive

long int color
 coded RGB color

double height
 height of primitive (only used in 3D)


Detailed Description

Primitive data structure: The primitives are stored in memory in a circular doubly-linked list, with a pointer to the head of the list.

Each primitive points to the previous and to the next primitive in the list. Currently, there are two types of primitives: a quadrilateral polygon and a circle.

Definition at line 86 of file prm.c.


Member Data Documentation

long int _prm::color
 

coded RGB color

Definition at line 98 of file prm.c.

Referenced by prmCreateEmpty(), prmGetColor(), and prmSetColor().

void* _prm::geom
 

pointer to primitive geometry data

Definition at line 94 of file prm.c.

Referenced by prmCreateBack(), prmCreateEmpty(), prmCreateFront(), prmDelete(), prmDisplayBoundary(), prmDisplayInterior(), prmDisplaySolid(), prmDisplayZbuffer(), prmGetBox(), prmGetCoords(), prmGetNPts(), prmHighltSolid(), prmPickArea(), prmPickSide(), prmPickVertex(), prmRead(), prmSet1stPt(), prmSet2ndPt(), prmSetCoords(), prmTranslate(), prmTranslateSide(), prmTranslateVertex(), and prmWrite().

double _prm::height
 

height of primitive (only used in 3D)

Definition at line 100 of file prm.c.

Referenced by prmCreateEmpty(), prmGetHeight(), and prmSetHeight().

struct _prm* _prm::next
 

next primitive in linked list

Definition at line 88 of file prm.c.

Referenced by prmCreateEmpty().

struct _prm* _prm::prev
 

previous primitive in linked list

Definition at line 90 of file prm.c.

Referenced by prmCreateEmpty(), and prmMoveBack().

int _prm::sel
 

flag for selected primitive

Definition at line 96 of file prm.c.

Referenced by prmCreateEmpty().

int _prm::type
 

primitive type

Definition at line 92 of file prm.c.

Referenced by prmCreateBack(), prmCreateEmpty(), prmCreateFront(), prmDelete(), prmDisplayBoundary(), prmDisplayInterior(), prmDisplaySolid(), prmDisplayZbuffer(), prmGetBox(), prmGetCoords(), prmGetNPts(), prmGetType(), prmHighltSolid(), prmPickArea(), prmPickSide(), prmPickVertex(), prmRead(), prmSet1stPt(), prmSet2ndPt(), prmSetCoords(), prmTranslate(), prmTranslateSide(), prmTranslateVertex(), and prmWrite().


The documentation for this struct was generated from the following file:
Generated on Tue Nov 8 10:58:11 2005 for Trab3 by doxygen1.2.18