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

Method arePrimitiveVariablesValid

src/IECoreScene/Primitive.cpp:575–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575bool Primitive::arePrimitiveVariablesValid() const
576{
577 for( PrimitiveVariableMap::const_iterator it=variables.begin(); it!=variables.end(); it++ )
578 {
579 if ( !isPrimitiveVariableValid( it->second ) )
580 {
581 return false;
582 }
583 }
584
585 return true;
586}
587
588PrimitiveVariable::Interpolation Primitive::inferInterpolation( size_t numElements ) const
589{

Callers 15

testCustomPrimvarsMethod · 0.80
testCanWriteCurvesMethod · 0.80
testSkelSkinningMethod · 0.80
testSkelBlendShapesMethod · 0.80
testLinearCurvesMethod · 0.80
testCurvesMethod · 0.80
testNURBSCircleMethod · 0.80
testPointsMethod · 0.80
testReadWidthsMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 15

testCustomPrimvarsMethod · 0.64
testCanWriteCurvesMethod · 0.64
testSkelSkinningMethod · 0.64
testSkelBlendShapesMethod · 0.64
testLinearCurvesMethod · 0.64
testCurvesMethod · 0.64
testNURBSCircleMethod · 0.64
testPointsMethod · 0.64
testReadWidthsMethod · 0.64