Open CASCADE Technology 7.8.0
|
#include <VrmlData_IndexedLineSet.hxx>
Data type to store a set of polygons.
|
inline |
Empty constructor.
|
inline |
Constructor.
|
inline |
Query the array of color indice
arrColorInd | [out] array of colorIndex as it is described in VRML2.0 spec |
|
overridevirtual |
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified.
Reimplemented from VrmlData_Node.
|
inline |
Query the Colors.
|
inline |
Query the Coordinates.
Quantity_Color VrmlData_IndexedLineSet::GetColor | ( | const Standard_Integer | iFace, |
const Standard_Integer | iVertex | ||
) |
Query a color for one node in the given element. The color is interpreted according to fields myColors, myArrColorInd, myColorPerVertex, as defined in VRML 2.0.
iFace | rank of the polygon [0 .. N-1] |
iVertex | rank of the vertex in the polygon [0 .. M-1]. This parameter is ignored if (myColorPerVertex == False) |
|
overridevirtual |
Returns True if the node is default, so that it should not be written.
Reimplemented from VrmlData_Node.
|
inline |
Query one polygon.
iPolygon | rank of the polygon [0 .. N-1] |
outIndice | [out] array of vertex indice |
|
inline |
Query the array of polygons
|
overridevirtual |
Read the Node from input stream.
Implements VrmlData_Node.
|
inline |
Set the colors array of indice
|
inline |
Set the boolean value "colorPerVertex"
|
inline |
Set the Color node
|
inline |
Set the nodes
|
inline |
Set the polygons
|
overridevirtual |
Query the shape. This method checks the flag myIsModified; if True it should rebuild the shape presentation.
Implements VrmlData_Geometry.
|
overridevirtual |
Write the Node to output stream.
Reimplemented from VrmlData_Node.