SkeletonPrimitive::SkeletonPrimitive( IECore::ConstM44fVectorDataPtr globalMatrices, IECore::ConstIntVectorDataPtr parentIds, bool displayAxis, float jointsSize, const IECore::PrimitiveVariableMap &primVars) { m_parentIds = parentIds->copy(); m_globalMatrices = globalMatrices->copy(); IECore::PrimitiveVariableMap primVarsCopy = primVars; m_jointsAxis = displayAxis; m_jointsRadius = jointsSize; synchVectorIds(); }
MeshPrimitive::MeshPrimitive( IECore::ConstIntVectorDataPtr vertIds ) : m_memberData( new MemberData( vertIds->copy() ) ) { }
MemberData( const IECore::CubicBasisf &b, bool p, IECore::ConstIntVectorDataPtr v, float w ) : basis( b ), periodic( p ), vertsPerCurve( v->copy() ), width( w ) { }