Ejemplo n.º 1
0
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();
}
Ejemplo n.º 2
0
MeshPrimitive::MeshPrimitive( IECore::ConstIntVectorDataPtr vertIds )
	:	m_memberData( new MemberData( vertIds->copy() ) )
{
}
Ejemplo n.º 3
0
		MemberData( const IECore::CubicBasisf &b, bool p, IECore::ConstIntVectorDataPtr v, float w )
			:	basis( b ), periodic( p ), vertsPerCurve( v->copy() ), width( w )
		{
		}