MCPcopy Create free account
hub / github.com/InsightSoftwareConsortium/ITK / SetDirection

Method SetDirection

Modules/IO/ImageBase/src/itkImageIOBase.cxx:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void
136ImageIOBase::SetDirection(unsigned int i, const std::vector<double> & direction)
137{
138 if (i >= m_Direction.size())
139 {
140 itkExceptionMacro("Index: " << i << " is out of bounds, expected maximum is " << m_Direction.size());
141 }
142 this->Modified();
143 m_Direction[i] = direction;
144}
145
146void
147ImageIOBase::SetDirection(unsigned int i, const vnl_vector<double> & direction)

Callers 6

SetNumberOfDimensionsMethod · 0.95
ReadImageInformationMethod · 0.45
itkImageIOBaseTestFunction · 0.45
SetIdentityDirectionMethod · 0.45
ReadImageInformationMethod · 0.45

Calls 3

sizeMethod · 0.45
ModifiedMethod · 0.45
resizeMethod · 0.45

Tested by 4

ReadImageInformationMethod · 0.36
itkImageIOBaseTestFunction · 0.36
SetIdentityDirectionMethod · 0.36