18#ifndef __itkOpenCLSampler_h
19#define __itkOpenCLSampler_h
85 m_Context( context ), m_Id( id ) {}
109 ClampToEdge = 0x1131,
112 MirroredRepeat = 0x1134
127 bool IsNull()
const {
return this->m_Id == 0; }
167template<
typename charT,
typename traits >
169std::basic_ostream< charT, traits > &
170operator<<( std::basic_ostream< charT, traits > & strm,
175 strm <<
"OpenCLSampler(null)";
179 const char indent =
' ';
181 strm <<
"OpenCLSampler" << std::endl
182 << indent <<
"Id: " << sampler.
GetSamplerId() << std::endl;
The OpenCLContext class represents an OpenCL context.
The OpenCLSampler class represents an OpenCL sampler object.
OpenCLSampler::FilterMode GetFilterMode() const
OpenCLSampler & operator=(const OpenCLSampler &other)
OpenCLSampler(const OpenCLSampler &other)
OpenCLContext * GetContext() const
OpenCLSampler(OpenCLContext *context, cl_sampler id)
cl_sampler GetSamplerId() const
OpenCLContext * m_Context
bool GetNormalizedCoordinates() const
OpenCLSampler::AddressingMode GetAddressingMode() const
bool ITKOpenCL_EXPORT operator==(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
bool ITKOpenCL_EXPORT operator!=(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &strm, const OpenCLCommandQueue &queue)