VrmlData_ArrayVec3d Class Reference
#include <VrmlData_ArrayVec3d.hxx>
Detailed Description
Implementatioon of basic node for Coordinate, Normal and Color (array of triplets).
Constructor & Destructor Documentation
| VrmlData_ArrayVec3d::VrmlData_ArrayVec3d |
( |
|
) |
[inline] |
| VrmlData_ArrayVec3d::VrmlData_ArrayVec3d |
( |
const VrmlData_Scene & |
theScene, |
|
|
const char * |
theName, |
|
|
const size_t |
nVec, |
|
|
const gp_XYZ * |
arrVec | |
|
) |
| | [inline] |
Member Function Documentation
Create a data array and assign the field myArray.
- Returns:
- True if allocation was successful.
Returns True if the node is default, so that it should not be written.
Reimplemented from VrmlData_Node.
| size_t VrmlData_ArrayVec3d::Length |
( |
void |
|
) |
const [inline] |
Query the number of vectors
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. Read the Node from input stream.
| void VrmlData_ArrayVec3d::SetValues |
( |
const size_t |
nValues, |
|
|
const gp_XYZ * |
arrValues | |
|
) |
| | [inline] |
Query one vector
- Parameters:
-
| i | index in the array of vectors [0 .. N-1] |
- Returns:
- the vector for the index. If index irrelevant, returns (0., 0., 0.)
| const gp_XYZ* VrmlData_ArrayVec3d::Values |
( |
|
) |
const [inline] |
Write the Node to the output stream currently opened in Scene.
Field Documentation
The documentation for this class was generated from the following file: