Package com.aspose.threed
Class VertexElementTemplate<T>
- java.lang.Object
-
- com.aspose.threed.VertexElement
-
- com.aspose.threed.VertexElementTemplate<T>
-
- All Implemented Interfaces:
IIndexedVertexElement
- Direct Known Subclasses:
VertexElementHole
,VertexElementVisibility
public abstract class VertexElementTemplate<T> extends VertexElement
A helper class for defining concreteVertexElement
implementations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Removes all elements from the direct and the index arrays.void
copyTo(VertexElementTemplate<T> target)
Copies data to specified elementjava.util.List<T>
getData()
Gets the vertex datavoid
setData(T[] data)
Load data-
Methods inherited from class com.aspose.threed.VertexElement
clone, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setIndices, setMappingMode, setName, setReferenceMode, toString
-
-
-
-
Method Detail
-
copyTo
public void copyTo(VertexElementTemplate<T> target)
Copies data to specified element- Parameters:
target
- Target.
-
getData
public java.util.List<T> getData()
Gets the vertex data
-
setData
public void setData(T[] data)
Load data- Parameters:
data
-
-
clear
public void clear()
Removes all elements from the direct and the index arrays.- Specified by:
clear
in classVertexElement
-
-