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

Method FindNormalAxis

Filters/General/vtkAxisAlignedTransformFilter.cxx:697–708  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

695
696//----------------------------------------------------------------------------
697vtkAxisAlignedTransformFilter::Axis vtkAxisAlignedTransformFilter::FindNormalAxis(int dims[3])
698{
699 if (dims[0] == 1)
700 {
701 return Axis::X;
702 }
703 if (dims[1] == 1)
704 {
705 return Axis::Y;
706 }
707 return Axis::Z;
708}
709
710//----------------------------------------------------------------------------
711int vtkAxisAlignedTransformFilter::RequestData(vtkInformation* vtkNotUsed(request),

Callers 1

ProcessHTGMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected