Loading [MathJax]/extensions/tex2jax.js
ITK
6.0.0
Insight Toolkit
▼
ITK
►
Insight Toolkit
Geometry Concepts
►
Image Similarity Metrics
►
Image Iterators
►
Neighborhood Iterators
►
Registration Techniques
►
Streaming
►
Threading
Todo List
Deprecated List
Bibliography
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Documentation
►
Doxygen
▼
ITK
►
Documentation
▼
Modules
►
Bridge
▼
Core
▼
Common
▼
include
►
itkAnatomicalOrientation.h
itkAnnulusOperator.h
►
itkArray.h
►
itkArray2D.h
itkAtanRegularizedHeavisideStepFunction.h
►
itkAutoPointer.h
itkAutoPointerDataObjectDecorator.h
itkBackwardDifferenceOperator.h
itkBinaryOperationConcept.h
itkBinaryThresholdSpatialFunction.h
►
itkBitCast.h
itkBoolean.h
►
itkBooleanStdVector.h
itkBoundingBox.h
itkBresenhamLine.h
►
itkBSplineDerivativeKernelFunction.h
itkBSplineInterpolationWeightFunction.h
►
itkBSplineKernelFunction.h
itkBufferedImageNeighborhoodPixelAccessPolicy.h
itkBuildInformation.h
itkByteSwapper.h
►
itkCellInterface.h
►
itkCellInterfaceVisitor.h
itkColorTable.h
itkCommand.h
►
itkCommonEnums.h
►
itkCompensatedSummation.h
►
itkConceptChecking.h
itkConditionalConstIterator.h
itkConicShellInteriorExteriorSpatialFunction.h
►
itkConnectedComponentAlgorithm.h
►
itkConnectedImageNeighborhoodShape.h
itkConstantBoundaryCondition.h
itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h
►
itkConstNeighborhoodIterator.h
►
itkConstNeighborhoodIteratorWithOnlyIndex.h
►
itkConstShapedNeighborhoodIterator.h
itkConstSliceIterator.h
itkContinuousIndex.h
►
itkCopy.h
itkCorrespondenceDataStructureIterator.h
►
itkCovariantVector.h
itkCreateObjectFunction.h
►
itkCrossHelper.h
►
itkDataObject.h
itkDataObjectConstIterator.h
itkDataObjectDecorator.h
itkDataObjectIterator.h
►
itkDefaultConvertPixelTraits.h
itkDefaultDynamicMeshTraits.h
itkDefaultPixelAccessor.h
►
itkDefaultPixelAccessorFunctor.h
itkDefaultStaticMeshTraits.h
itkDefaultVectorPixelAccessor.h
►
itkDefaultVectorPixelAccessorFunctor.h
►
itkDeref.h
itkDerivativeOperator.h
►
itkDiffusionTensor3D.h
itkDirectory.h
►
itkDomainThreader.h
►
itkDynamicLoader.h
itkEllipsoidInteriorExteriorSpatialFunction.h
itkEnableIf.h
itkEquivalencyTable.h
►
itkEventObject.h
►
itkExceptionObject.h
►
itkExtractImageFilter.h
►
itkExtractImageFilterRegionCopier.h
►
itkFactoryTestLib.h
itkFileOutputWindow.h
itkFiniteCylinderSpatialFunction.h
►
itkFixedArray.h
►
itkFloatingPointExceptions.h
►
itkFloatTypes.h
itkFloodFilledFunctionConditionalConstIterator.h
itkFloodFilledImageFunctionConditionalConstIterator.h
itkFloodFilledImageFunctionConditionalIterator.h
itkFloodFilledSpatialFunctionConditionalConstIterator.h
itkFloodFilledSpatialFunctionConditionalIterator.h
itkForwardDifferenceOperator.h
►
itkFrustumSpatialFunction.h
itkFunctionBase.h
►
itkGaussianDerivativeOperator.h
itkGaussianDerivativeSpatialFunction.h
itkGaussianKernelFunction.h
itkGaussianOperator.h
itkGaussianSpatialFunction.h
itkHeavisideStepFunction.h
itkHeavisideStepFunctionBase.h
itkHexahedronCell.h
itkHexahedronCellTopology.h
►
itkImage.h
►
itkImageAlgorithm.h
►
itkImageBase.h
itkImageBoundaryCondition.h
►
itkImageBufferRange.h
itkImageConstIterator.h
itkImageConstIteratorWithIndex.h
itkImageConstIteratorWithOnlyIndex.h
itkImageContainerInterface.h
itkImageDuplicator.h
►
itkImageHelper.h
►
itkImageIORegion.h
itkImageIterator.h
itkImageIteratorWithIndex.h
itkImageKernelOperator.h
itkImageLinearConstIteratorWithIndex.h
itkImageLinearIteratorWithIndex.h
►
itkImageNeighborhoodOffsets.h
itkImageRandomConstIteratorWithIndex.h
itkImageRandomConstIteratorWithOnlyIndex.h
itkImageRandomIteratorWithIndex.h
itkImageRandomNonRepeatingConstIteratorWithIndex.h
itkImageRandomNonRepeatingIteratorWithIndex.h
►
itkImageRegion.h
itkImageRegionConstIterator.h
itkImageRegionConstIteratorWithIndex.h
itkImageRegionConstIteratorWithOnlyIndex.h
itkImageRegionExclusionConstIteratorWithIndex.h
itkImageRegionExclusionIteratorWithIndex.h
itkImageRegionIterator.h
itkImageRegionIteratorWithIndex.h
►
itkImageRegionRange.h
itkImageRegionReverseConstIterator.h
itkImageRegionReverseIterator.h
itkImageRegionSplitterBase.h
itkImageRegionSplitterDirection.h
itkImageRegionSplitterMultidimensional.h
itkImageRegionSplitterSlowDimension.h
itkImageReverseConstIterator.h
itkImageReverseIterator.h
►
itkImageScanlineConstIterator.h
►
itkImageScanlineIterator.h
itkImageSink.h
itkImageSliceConstIteratorWithIndex.h
itkImageSliceIteratorWithIndex.h
►
itkImageSource.h
itkImageSourceCommon.h
itkImageToImageFilter.h
itkImageToImageFilterCommon.h
►
itkImageToImageFilterDetail.h
itkImageVectorOptimizerParametersHelper.h
itkImportImageContainer.h
itkImportImageFilter.h
itkIndent.h
►
itkIndex.h
itkIndexedContainerInterface.h
►
itkIndexRange.h
itkInPlaceImageFilter.h
itkInputDataObjectConstIterator.h
itkInputDataObjectIterator.h
itkInteriorExteriorSpatialFunction.h
►
itkIntTypes.h
itkIsBaseOf.h
itkIsConvertible.h
itkIsNumber.h
itkIsSame.h
itkIterationReporter.h
itkKernelFunctionBase.h
itkLaplacianOperator.h
itkLexicographicCompare.h
►
itkLightObject.h
itkLightProcessObject.h
itkLineCell.h
itkLineConstIterator.h
itkLineIterator.h
itkLogger.h
►
itkLoggerBase.h
itkLoggerManager.h
itkLoggerOutput.h
►
itkLoggerThreadWrapper.h
itkLogOutput.h
itkMacro.h
►
itkMakeFilled.h
►
itkMakeUniqueForOverwrite.h
itkMapContainer.h
►
itkMath.h
►
itkMathDetail.h
►
itkMatrix.h
itkMatrixResizeableDataObject.h
itkMemoryProbe.h
itkMemoryProbesCollectorBase.h
►
itkMemoryUsageObserver.h
itkMersenneTwisterRandomVariateGenerator.h
►
itkMetaDataDictionary.h
►
itkMetaDataObject.h
itkMetaDataObjectBase.h
►
itkMetaDataObjectDetail.h
itkMetaProgrammingLibrary.h
itkMinimumMaximumImageCalculator.h
itkMultipleLogOutput.h
►
itkMultiThreaderBase.h
►
itkNeighborhood.h
itkNeighborhoodAccessorFunctor.h
itkNeighborhoodAlgorithm.h
►
itkNeighborhoodAllocator.h
itkNeighborhoodInnerProduct.h
itkNeighborhoodIterator.h
itkNeighborhoodOperator.h
►
itkNumberToString.h
►
itkNumericTraits.h
►
itkNumericTraitsArrayPixel.h
itkNumericTraitsCovariantVectorPixel.h
itkNumericTraitsDiffusionTensor3DPixel.h
►
itkNumericTraitsFixedArrayPixel.h
►
itkNumericTraitsPointPixel.h
itkNumericTraitsRGBAPixel.h
itkNumericTraitsRGBPixel.h
►
itkNumericTraitsStdVector.h
itkNumericTraitsTensorPixel.h
itkNumericTraitsVariableLengthVectorPixel.h
►
itkNumericTraitsVectorPixel.h
►
itkObject.h
itkObjectFactory.h
itkObjectFactoryBase.h
►
itkObjectStore.h
itkOctree.h
►
itkOctreeNode.h
►
itkOffset.h
itkOptimizerParameters.h
itkOptimizerParametersHelper.h
itkOrientationAdapterBase.h
itkOutputDataObjectConstIterator.h
itkOutputDataObjectIterator.h
itkOutputWindow.h
itkPeriodicBoundaryCondition.h
itkPhasedArray3DSpecialCoordinatesImage.h
itkPixelTraits.h
►
itkPlatformMultiThreader.h
►
itkPoint.h
itkPointSet.h
itkPointSetBase.h
itkPointSetToImageFilter.h
itkPolygonCell.h
itkPolyLineCell.h
►
itkPoolMultiThreader.h
►
itkPrintHelper.h
►
itkPriorityQueueContainer.h
itkProcessObject.h
►
itkProgressAccumulator.h
itkProgressReporter.h
itkProgressTransformer.h
itkPromoteType.h
itkPyCommand.h
itkPyImageFilter.h
itkQuadraticEdgeCell.h
itkQuadraticTriangleCell.h
itkQuadraticTriangleCellTopology.h
itkQuadrilateralCell.h
itkQuadrilateralCellTopology.h
itkRandomVariateGeneratorBase.h
itkRealTimeClock.h
itkRealTimeInterval.h
itkRealTimeStamp.h
itkRectangularImageNeighborhoodShape.h
itkRegion.h
itkRegularizedHeavisideStepFunction.h
itkResourceProbe.h
itkResourceProbesCollectorBase.h
►
itkRGBAPixel.h
►
itkRGBPixel.h
itkShapedFloodFilledFunctionConditionalConstIterator.h
itkShapedFloodFilledImageFunctionConditionalConstIterator.h
itkShapedFloodFilledImageFunctionConditionalIterator.h
►
itkShapedImageNeighborhoodRange.h
►
itkShapedNeighborhoodIterator.h
itkSimpleDataObjectDecorator.h
itkSimpleFilterWatcher.h
►
itkSingleton.h
►
itkSingletonMacro.h
itkSinRegularizedHeavisideStepFunction.h
►
itkSize.h
itkSliceIterator.h
itkSmapsFileParser.h
►
itkSmartPointer.h
itkSobelOperator.h
►
itkSparseFieldLayer.h
itkSparseImage.h
itkSpatialFunction.h
►
itkSpatialOrientation.h
►
itkSpatialOrientationAdapter.h
itkSpecialCoordinatesImage.h
itkSphereSpatialFunction.h
►
itkStaticAssert.h
itkStdStreamLogOutput.h
itkStdStreamStateSave.h
itkSTLConstContainerAdaptor.h
itkSTLContainerAdaptor.h
itkStoppingCriterionBase.h
itkStreamingImageFilter.h
itkStreamingProcessObject.h
itkStructHashFunction.h
►
itkSymmetricEigenAnalysis.h
itkSymmetricEllipsoidInteriorExteriorSpatialFunction.h
►
itkSymmetricSecondRankTensor.h
itkTBBMultiThreader.h
itkTetrahedronCell.h
itkTetrahedronCellTopology.h
►
itkTextOutput.h
itkThreadedDomainPartitioner.h
itkThreadedImageRegionPartitioner.h
itkThreadedIndexedContainerPartitioner.h
►
itkThreadedIteratorRangePartitioner.h
itkThreadLogger.h
itkThreadPool.h
►
itkThreadSupport.h
itkTimeProbe.h
itkTimeProbesCollectorBase.h
itkTimeStamp.h
itkTorusInteriorExteriorSpatialFunction.h
itkTotalProgressReporter.h
itkTriangleCell.h
itkTriangleCellTopology.h
itkTriangleHelper.h
itkUnaryCorrespondenceMatrix.h
itkUnaryFunctorImageFilter.h
itkValarrayImageContainer.h
►
itkVariableLengthVector.h
►
itkVariableSizeMatrix.h
►
itkVector.h
►
itkVectorContainer.h
►
itkVectorImage.h
itkVectorImageNeighborhoodAccessorFunctor.h
itkVectorNeighborhoodInnerProduct.h
►
itkVersion.h
►
itkVersor.h
itkVertexCell.h
►
itkWeakPointer.h
itkWin32Header.h
itkWin32OutputWindow.h
itkWindows.h
itkXMLFileOutputWindow.h
itkXMLFilterWatcher.h
itkZeroFluxNeumannBoundaryCondition.h
itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h
VNLIterativeSparseSolverTraits.h
VNLSparseLUSolverTraits.h
►
FiniteDifference
►
GPUCommon
►
GPUFiniteDifference
►
ImageAdaptors
►
ImageFunction
►
Mesh
►
QuadEdgeMesh
►
SpatialObjects
►
TestKernel
►
Transform
►
Filtering
►
IO
►
Nonunit
►
Numerics
►
Registration
►
Segmentation
►
Video
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
itkPrintHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* https://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
19
#ifndef itkPrintHelper_h
20
#define itkPrintHelper_h
21
22
#include <iostream>
23
#include <iterator>
24
25
// Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467
26
#if defined(ITK_WRAPPING_PARSER) && defined(__GNUC__) && !defined(__clang__)
27
# define __clang__
28
# define ITK_CASTXML_GCC_VECTOR_WORKAROUND
29
#endif
30
#include <vector>
31
#if defined(ITK_CASTXML_GCC_VECTOR_WORKAROUND)
32
# undef __clang__
33
# undef ITK_CASTXML_GCC_VECTOR_WORKAROUND
34
#endif
35
36
namespace
itk
37
{
38
39
namespace
print_helper
40
{
41
42
template
<
typename
T>
43
std::ostream &
44
operator<<
(std::ostream & os,
const
std::vector<T> & v)
45
{
46
if
(v.empty())
47
{
48
return
os <<
"()"
;
49
}
50
51
os <<
'('
;
52
std::copy(v.begin(), v.end() - 1, std::ostream_iterator<T>(os,
", "
));
53
return
os << v.back() <<
')'
;
54
}
43
std::ostream & {
…
}
55
56
}
// end namespace print_helper
39
namespace
print_helper
{
…
}
57
}
// end namespace itk
58
59
#endif
// itkPrintHelper_h
itk::print_helper
Definition
itkPrintHelper.h:40
itk::print_helper::operator<<
std::ostream & operator<<(std::ostream &os, const std::vector< T > &v)
Definition
itkPrintHelper.h:44
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition
itkAnatomicalOrientation.h:30
ITK
Modules
Core
Common
include
itkPrintHelper.h
Generated on
Fri, 04 Apr 2025 00:14:22 +0000
for ITK by
1.13.2
Tarballs of release and nightly generated Doxygen documentation are available in the
InsightSoftwareConsortium/ITKDoxygen
GitHub Releases
.