Inheritance diagram for DzVertexMap:
Methods | |
void | addDctFloatValue (Number vertexIdx, Number facetIdx, Number val) |
void | addDctIntValue (Number vertexIdx, Number facetIdx, Number val) |
void | addDctPnt2Vec (Number vertexIdx, Number facetIdx, DzVec3 val) |
void | addDctPnt3Vec (Number vertexIdx, Number facetIdx, DzVec3 val) |
void | addDctShortValue (Number vertexIdx, Number facetIdx, Number val) |
void | clearDiscontinuousData () |
Number | getMapIndex (Number vertexIdx, Number facetIdx) |
Number | getNumDiscontinuousVerts () |
void | setDctIndex (Number vertexIdx, Number facetIdx, Number mapIdx) |
Constructors | |
DzVertexMap (MapType mapType=FLOAT_MAP) |
DzVertexMap::DzVertexMap | ( | MapType | mapType = FLOAT_MAP |
) |
Creates a new vertex map of the given type.
mapType | The type of data that will be stored in this map. |
Adds a discontinuous data item to the map.
vertexIdx | The index of the vertex that this data is for. | |
facetIdx | The index of the facet that this data is for. | |
val | The data value to add to the map. |
Adds a discontinuous data item to the map.
vertexIdx | The index of the vertex that this data is for. | |
facetIdx | The index of the facet that this data is for. | |
val | The data value to add to the map. |
Adds a discontinuous data item to the map.
vertexIdx | The index of the vertex that this data is for. | |
facetIdx | The index of the facet that this data is for. | |
val | The data value to add to the map. |
Adds a discontinuous data item to the map.
vertexIdx | The index of the vertex that this data is for. | |
facetIdx | The index of the facet that this data is for. | |
val | The data value to add to the map. |
Adds a discontinuous data item to the map.
vertexIdx | The index of the vertex that this data is for. | |
facetIdx | The index of the facet that this data is for. | |
val | The data value to add to the map. |
void DzVertexMap::clearDiscontinuousData | ( | ) |
Removes all the discontinuous values from the map
vertexIdx | The index of the vertex to get data for | |
facetIdx | The index of the facet to get data for |
int DzVertexMap::getNumDiscontinuousVerts | ( | ) |
Sets the facet vertex to have discontinuous data which points to the given map index. This function will update existing data for the facet vertex, or will create new data if necessary.
It assumes that the valid value is already in the map.