OTB  7.0.0
Orfeo Toolbox
Classes | Namespaces | Macros | Functions
otbGlTypeTraits.h File Reference
#include "OTBIceExport.h"
#include <GL/glew.h>
+ Include dependency graph for otbGlTypeTraits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  otb::gl::TypeTraits< T >
 
struct  otb::gl::TypeTraits< type >
 

Namespaces

 otb
 
 otb::gl
 

Macros

#define OTB_GL_TYPE_TRAITS(type, glenum, glname)
 

Functions

static constexpr char const * name () noexcept
 
static constexpr GLenum value () noexcept
 
template<>
struct otb::gl::TypeTraits< type > otb::gl::OTB_GL_TYPE_TRAITS (GLfloat, GL_FLOAT, "GLfloat")
 
 otb::gl::OTB_GL_TYPE_TRAITS (GLdouble, GL_DOUBLE, "GLdouble")
 
 otb::gl::OTB_GL_TYPE_TRAITS (GLint, GL_INT, "GLint")
 
 otb::gl::OTB_GL_TYPE_TRAITS (GLuint, GL_UNSIGNED_INT, "GLuint")
 

Macro Definition Documentation

◆ OTB_GL_TYPE_TRAITS

#define OTB_GL_TYPE_TRAITS (   type,
  glenum,
  glname 
)

Define OpenGL type to its GLenum value

Definition at line 58 of file otbGlTypeTraits.h.

Function Documentation

◆ name()

static constexpr char const* OTB_GL_TYPE_TRAITS::name ( )
staticnoexcept

Definition at line 129 of file otbGlTypeTraits.h.

Referenced by otb::Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > >::AddFeature(), otb::StatisticsXMLFileWriter< TMeasurementVector >::AddInput(), otb::BandMathXImageFilter< TImage >::AddVariable(), otb::Function::ChannelSelectorFunctor< TInputPixel >::ChannelSelectorFunctor(), otb::PersistentSamplingFilterBase< TInputImage >::CreateAdditionalField(), otb::ImageFileReader< TOutputImage, ConvertPixelTraits >::DoConvertBuffer(), otb::ogr::DataSource::end(), otb::ImageOfVectorsToMonoChannelExtractROI< TInputImage, TOutputImage >::GenerateOutputInformation(), otb::MultiToMonoChannelExtractROI< TInputPixelType, TOutputPixelType >::GenerateOutputInformation(), otb::ExtractROIBase< VectorImage< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >::GenerateOutputInformation(), otb::MultiChannelsPolarimetricSynthesisFilter< TInputImage, TOutputImage, TFunction >::GenerateOutputInformation(), otb::Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > >::GetFeatureImage(), otb::HooverInstanceFilter< TLabelMap >::GetNameFromAttribute(), otb::DecisionTreeMachineLearningModel< TInputValue, TTargetValue >::GetPriors(), otb::VectorData< TPrecision, VDimension, TValuePrecision >::Graft(), otb::BandMathXImageFilter< TImage >::ImportContext(), otb::MetaDataKey::KeyTypeDef::KeyTypeDef(), otb::NormalBayesMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::RandomForestsMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::SVMMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::BoostMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::DecisionTreeMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::NeuralNetworkMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::Functor::OBIAMuParserFunctor< TLabelObject >::operator()(), mvd::operator>>(), otb::BandMathXImageFilter< TImage >::PrepareParsers(), mvd::ReadStreamTag(), otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue >::SetAttribute(), otb::Functor::AttributesMapLabelObjectAccessor< TLabelObject >::SetAttributeName(), otb::MultiChannelExtractROI< TInputPixelType, TOutputPixelType >::SetChannelsWorkWithLimits(), otb::BandMathXImageFilter< TImage >::SetConstant(), otb::Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage >::SetFeatureName(), otb::BandMathXImageFilter< TImage >::SetMatrix(), otb::ogr::Feature::sptr(), mvd::WriteStreamTag(), and otb::SamplingRateCalculator::~SamplingRateCalculator().

◆ value()

static constexpr GLenum OTB_GL_TYPE_TRAITS::value ( )
staticnoexcept
Examples:
Radiometry/AtmosphericCorrectionSequencement.cxx.

Definition at line 127 of file otbGlTypeTraits.h.

Referenced by otb::ogr::internal::MemberContainerGetterPtr< T, ptr_to_function, FinalReturnType >::call(), otb::Functor::ConvertTypeFunctor< TInputPixelType, TOutputPixelType >::Clamp(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Compute(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::JoinHistogramMI< itk::ConstNeighborhoodIterator< TInputImage1 >, itk::ConstNeighborhoodIterator< TInputImage2 >, TOutputImage::PixelType > >::ComputeHistogram(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMaximum(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMinimum(), otb::ogr::internal::CppToOGRConverter_trait< T >::convert(), otb::ogr::internal::CppToOGRConverter_trait< T[N]>::convert(), otb::Utils::ConvertStringToVector(), otb::SVMMarginSampler< TSample, TModel >::DoMarginSampling(), otb::RandomForestsMachineLearningModel< TInputValue, TTargetValue >::DoPredict(), otb::ComplexMomentPathFunction< TInputPath, TOutput, TPrecision >::Evaluate(), otb::BCOInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(), otb::RealMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BinaryImageDensityFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::SarBrightnessFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::ComplexMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::BandMathXImageFilter< TImage >::ExportContext(), otb::Functor::ConvertTypeFunctor< TInputPixelType, TOutputPixelType >::FillIn(), otb::Functor::ConvertTypeFunctor< TInputPixelType, TOutputPixelType >::FillOut(), otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::GenerateData(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GenerateData(), otb::OSMDataToVectorDataGenerator::GetKeysMap(), otb::FuzzyVariable< TLabel, TPrecision >::GetMembership(), otb::ogr::Field::GetName(), otb::VectorDataKeywordlist::GetNameOfClass(), otb::ImageKeywordlist::GetSize(), otb::ogr::Field::GetValue(), otb::Wrapper::BoolParameter::HasValue(), otb::BandMathXImageFilter< TImage >::ImportContext(), otb::SatelliteRSR< TPrecision, TValuePrecision >::Load(), otb::SOMModel< TInputValue, MapDimension >::Load(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::MinimizeOnce(), otb::FunctorImageFilter< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType > >::New(), otb::Functor::variadic_concatenate_details::NumberOfElements(), otb::Functor::MeanFunctor< TInput, TOutputValue >::operator()(), otb::Functor::MultiplyByScalar< TInput, TOutput >::operator()(), otb::Functor::RadiometricMomentsFunctor< itk::ConstNeighborhoodIterator< InputImageType >, ScalarType >::operator()(), otb::Functor::ReliefColormapFunctor< TScalar, TRGBPixel >::operator()(), otb::Functor::LHMI< itk::ConstNeighborhoodIterator< TInputImage1 >, itk::ConstNeighborhoodIterator< TInputImage2 >, TOutputImage::PixelType >::operator()(), otb::Functor::NormalizeAttributesLabelObjectFunctor< TImage::LabelObjectType >::operator()(), otb::Functor::OBIAMuParserFunctor< TLabelObject >::operator()(), otb::Functor::MaskMuParserFunctor< TInputPixel >::operator()(), otb::Functor::ConnectedComponentMuParserFunctor< TInput >::operator()(), otb::BandMathXImageFilter< TImage >::OutputsDimensions(), otb::BandMathXImageFilter< TImage >::PrepareParsers(), otb::StatisticsXMLFileReader< TMeasurementVector >::Read(), otb::Wrapper::OutputImageParameter::Reset(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::SetA(), otb::Functor::SarBrightnessFunctor< TInput, TOutput >::SetAntennaPatternNewGain(), otb::Functor::SarBrightnessFunctor< TInput, TOutput >::SetAntennaPatternOldGain(), otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue >::SetAttribute(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::SetB(), otb::Wrapper::QtWidgetParameterBase::SetChecked(), otb::Wrapper::InputImageParameter::SetConnectionMode(), otb::BandMathXImageFilter< TImage >::SetConstant(), otb::RationalTransform< TScalarType, Dimension >::SetDenominatorDegree(), mvd::VectorImageSettings::SetGamma(), otb::ImageToNoDataMaskFilter< TInputImage, TOutputImage >::SetInsideValue(), mvd::ImageProperties::SetNoData(), otb::Functor::SarBrightnessFunctor< TInput, TOutput >::SetNoise(), otb::RationalTransform< TScalarType, Dimension >::SetNumeratorDegree(), otb::ImageToNoDataMaskFilter< TInputImage, TOutputImage >::SetOutsideValue(), otb::Wrapper::Application::SetParameterList(), otb::SarParametricMapFunction< TInputImage, TCoordRep >::SetPointSet(), otb::Functor::SarBrightnessFunctor< TInput, TOutput >::SetRangeSpreadLoss(), otb::Functor::SFSTexturesFunctor< NeighborhoodIteratorType, OutputImagePixelType >::SetRatioMaxConsiderationNumber(), otb::Accessor::ShiftScalePixelAccessor< TPixelType, TExternalType >::SetScale(), otb::Functor::SarBrightnessFunctor< TInput, TOutput >::SetScale(), otb::Functor::VectorShiftScale< TInput, TOutput >::SetScaleValues(), otb::Accessor::ShiftScalePixelAccessor< TPixelType, TExternalType >::SetShift(), otb::Functor::VectorShiftScale< TInput, TOutput >::SetShiftValues(), otb::ReflectanceToRadianceImageFilter< TInputImage, TOutputImage >::SetSolarDistance(), otb::ReflectanceToImageImageFilter< TInputImage, TOutputImage >::SetSolarDistance(), otb::RadianceToReflectanceImageFilter< TInputImage, TOutputImage >::SetSolarDistance(), otb::ImageToReflectanceImageFilter< TInputImage, TOutputImage >::SetSolarDistance(), otb::Functor::Log10Thresholded< TInput, TOutput >::SetThresholdValue(), otb::Wrapper::StringParameter::SetValue(), otb::Wrapper::NumericalParameter< unsigned int >::SetValue(), otb::PolyLineParametricPathWithValue< TValue, 2 >::SetValue(), otb::ogr::Field::SetValue(), otb::ThresholdImageToPointSetFilter< TInputImage, TOutputPointSet >::ThreadedGenerateData(), otb::ThresholdVectorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::VarianceImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::ClampVectorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), otb::BandMathImageFilter< TImage >::ThreadedGenerateData(), otb::PersistentMinMaxImageFilter< TInputImage >::ThreadedGenerateData(), otb::BandMathXImageFilter< TImage >::ThreadedGenerateData(), otb::PersistentMinMaxVectorImageFilter< TInputImage >::ThreadedGenerateData(), otb::PersistentStatisticsImageFilter< TInputImage >::ThreadedGenerateData(), otb::PersistentHistogramVectorImageFilter< TInputImage >::ThreadedGenerateData(), otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::ThreadedGenerateData(), otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ThreadedGenerateData(), otb::StatisticsAccumulator< TRealVectorPixelType >::Update(), otb::Functor::ConvertTypeFunctor< TInputPixelType, TOutputPixelType >::~ConvertTypeFunctor(), otb::SarImageMetadataInterface::~SarImageMetadataInterface(), and otb::TerraSarImageMetadataInterface::~TerraSarImageMetadataInterface().