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

Method setDisplayWindow

src/IECoreImage/ImagePrimitive.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void ImagePrimitive::setDisplayWindow( const Box2i &displayWindow )
99{
100 if ( displayWindow.isEmpty() )
101 {
102 throw InvalidArgumentException( "ImagePrimitive: Cannot set displayWindow to the empty window" );
103 }
104
105 m_displayWindow = displayWindow;
106}
107
108//
109// handling for serialization

Callers 3

mergeFunction · 0.80
doOperationMethod · 0.80
modifyMethod · 0.80

Calls 2

InvalidArgumentExceptionFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected