GeShell.h
This class represents shell primitives.
A shell is a set of faces, defined by a list of shell vertices. Shells can have regular faces and holes and disjoint regions. Shell objects contain vertex data, edge data and face data. Vertex data is defined by one array that is the list of face vertices. Edge data contains arrays of edge properties such as edge color, linetype, visibility etc. Face data is defined by an array of shell faces and arrays of face properties such as face color, normals, transparency, material etc.
Corresponding C++ library: TD_Ge
|
Name |
Description |
|
Default constructor for the OdGeShell class. |
|
Name |
Description |
|
An array of edges colors. | |
|
An array of edges layers. | |
|
An array of edges linetypes. | |
|
An array of edges selection markers. | |
|
An array of edges true colors. | |
|
An array of edges visibilities. | |
|
An array of faces colors. | |
|
An array of faces layers. | |
|
An array of faces mappers. | |
|
An array of faces materials. | |
|
An array of faces normal vectors. | |
|
An array of integer number that defines a list of shell faces. In a face list a particular face is defined be a set of number. The first number contains the number of vertices of the face and its sign indicates if the face is a hole or a regular face: if the face is a hole then its vertices number must be negative. A hole face must be coplanar and entirely in another face (not touching edges). For example, the face array {3,0,2,4,-3,1,0,5} represents two faces. The first is a regular face that consists of three vertices: vertex 0,... more | |
|
An array of faces selection markers. | |
|
An array of faces transparencies. | |
|
An array of faces true colors. | |
|
An array of faces visibilities. | |
|
An array of texture coordinates. | |
|
An array of vertex normal vectors. | |
|
An array of vertices that are used to construct faces of the shell. |
|
Name |
Description |
|
Adds a face vertex with a specified index to the face array. | |
|
Adds a vertex to the vertex array of the shell. | |
|
Draws the shell using the specified vectorization context. | |
|
Ends face assembling. Writes the number of face vertices that have been added by the addFaceVertex() method. | |
|
Starts face assembling. Sets the face index at the start position of a new face to be added and reserves place for the number of face vertices adding -1 or 1 values: -1 if a hole face is expected and 1 for a regular face. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|