MCPcopy Create free account
hub / github.com/ImageEngine/cortex / setTopologyUnchecked

Method setTopologyUnchecked

src/IECoreScene/MeshPrimitive.cpp:256–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void MeshPrimitive::setTopologyUnchecked( ConstIntVectorDataPtr verticesPerFace, ConstIntVectorDataPtr vertexIds, size_t numVertices, const std::string &interpolation )
257{
258 m_interpolation = interpolation;
259 m_verticesPerFace = verticesPerFace->copy();
260 m_vertexIds = vertexIds->copy();
261 m_numVertices = numVertices;
262 m_minVerticesPerFace = 0;
263 m_maxVerticesPerFace = 0;
264}
265
266void MeshPrimitive::setInterpolation( const std::string &interpolation )
267{

Callers 5

reverseWindingMethod · 0.80
mergeFunction · 0.80
processInputsFunction · 0.80
reorderVerticesMethod · 0.80
operator()Method · 0.80

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected