MCPcopy Create free account
hub / github.com/Kitware/VTK / ReverseAxes

Function ReverseAxes

Filters/General/vtkAxisAlignedTransformFilter.cxx:196–214  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

194
195//----------------------------------------------------------------------------
196void ReverseAxes(
197 int axis, vtkDoubleArray* XCoordinate, vtkDoubleArray* YCoordinate, vtkDoubleArray* ZCoordinate)
198{
199 switch (axis)
200 {
201 case 0:
202 default:
203 ::ReverseDoubleArray(XCoordinate);
204 break;
205
206 case 1:
207 ::ReverseDoubleArray(YCoordinate);
208 break;
209
210 case 2:
211 ::ReverseDoubleArray(ZCoordinate);
212 break;
213 }
214}
215
216} // anonymous namespace
217

Callers 2

ProcessHTGMethod · 0.85

Calls 1

ReverseDoubleArrayFunction · 0.85

Tested by

no test coverage detected