| 118 | IE_CORE_DEFINEOBJECTTYPEDESCRIPTION(MeshPrimitive); |
| 119 | |
| 120 | MeshPrimitive::MeshPrimitive() |
| 121 | : m_verticesPerFace( new IntVectorData ), m_vertexIds( new IntVectorData ), m_numVertices( 0 ), m_interpolation( "linear" ), m_minVerticesPerFace( 0 ), m_maxVerticesPerFace( 0 ) |
| 122 | { |
| 123 | { |
| 124 | tbb::spin_rw_mutex::scoped_lock lock( *g_classDataMutex, true ); |
| 125 | g_classData->create( this, { interpolateBoundaryEdgeAndCorner, faceVaryingLinearInterpolationCornersPlus1, triangleSubdivisionRuleCatmullClark } ); |
| 126 | } |
| 127 | removeCorners(); |
| 128 | removeCreases(); |
| 129 | } |
| 130 | |
| 131 | MeshPrimitive::MeshPrimitive( ConstIntVectorDataPtr verticesPerFace, ConstIntVectorDataPtr vertexIds, |
| 132 | const std::string &interpolation, V3fVectorDataPtr p ) |
nothing calls this directly
no test coverage detected