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

Method channelsValid

src/IECoreImage/ImagePrimitive.cpp:431–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431bool ImagePrimitive::channelsValid( std::string *reason ) const
432{
433 for( const auto &channel : channels )
434 {
435 if( !channelValid( channel.second.get(), reason ) )
436 {
437 return false;
438 }
439 }
440
441 return true;
442}
443
444void ImagePrimitive::channelNames( vector<string> &names ) const
445{

Callers 15

testDataWindowMethod · 0.95
testLoadSaveMethod · 0.95
testChannelNamesMethod · 0.95
testReadImageMethod · 0.80
testTiffMethod · 0.80
testPNGMethod · 0.80
testWriteIncompleteMethod · 0.80
testRoundTripTIFMethod · 0.80
__testCropMethod · 0.80
doOperationMethod · 0.80
modifyMethod · 0.80

Calls 2

channelValidFunction · 0.85
getMethod · 0.45

Tested by 10

testDataWindowMethod · 0.76
testLoadSaveMethod · 0.76
testChannelNamesMethod · 0.76
testReadImageMethod · 0.64
testTiffMethod · 0.64
testPNGMethod · 0.64
testWriteIncompleteMethod · 0.64
testRoundTripTIFMethod · 0.64
__testCropMethod · 0.64