OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    opencascade Namespace Reference

    Namespace opencascade is intended for low-level template classes and functions. More...

    Namespaces

    namespace  FNVHash
     Implementation of FNV-1a with autodetect of sizeof(size_t). This function should work on unsigned char, otherwise it does not correctly implement the FNV-1a algorithm. The existing behaviour is retained for backwards compatibility.
    namespace  MurmurHash
     Implementation of Murmur hash with autodetect of sizeof(size_t).
    namespace  std
     Namespace opencascade::std includes templates from C++11 std namespace used by OCCT classes. These definitions are imported from std namespace, plus (on older compilers) from std::tr1, or implemented by custom code where neither std not std::tr1 provide necessary definitions.

    Data Structures

    struct  disable_deduction
     The auxiliary template that is used for template argument deduction in function templates. A function argument which type is a template type parameter and it is not needed to be deducted must be declared using this class template based on the type of some other template type parameter of a function template. More...
    class  handle
     Intrusive smart pointer for use with Standard_Transient class and its descendants. More...
    struct  is_base_but_not_same
     Trait yielding true if class T1 is base of T2 but not the same. More...
    struct  is_base_but_not_same< T1, T2, typename opencascade::std::enable_if< opencascade::std::is_same< T1, T2 >::value >::type >
     Explicit specialization of is_base_of trait to workaround the requirement of type to be complete when T1 and T2 are the same. More...
    struct  is_integer
     The type trait that checks if the passed type is integer (it must be integral and not boolean). More...

    Typedefs

    typedef GLuint start
    typedef GLuint GLuint end
    typedef GLuint GLuint GLsizei count
    typedef GLuint GLuint GLsizei GLenum type
    typedef GLuint GLuint GLsizei GLenum const voidindices
    typedef GLint level
    typedef GLint GLint internalformat
    typedef GLint GLint GLsizei width
    typedef GLint GLint GLsizei GLsizei height
    typedef GLint GLint GLsizei GLsizei GLsizei depth
    typedef GLint GLint GLsizei GLsizei GLsizei GLint border
    typedef GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
    typedef GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const voidpixels
    typedef GLint GLint xoffset
    typedef GLint GLint GLint yoffset
    typedef GLint GLint GLint GLint zoffset
    typedef GLint GLint GLint GLint GLint x
    typedef GLint GLint GLint GLint GLint GLint y
    typedef GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
    typedef GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const voiddata
    typedef GLuintids
    typedef GLuint id
    typedef GLenum pname
    typedef GLenum GLintparams
    typedef const GLenumbufs
    typedef GLsizei GLboolean transpose
    typedef GLsizei GLboolean const GLfloatvalue
    typedef GLint srcY0
    typedef GLint GLint srcX1
    typedef GLint GLint GLint srcY1
    typedef GLint GLint GLint GLint dstX0
    typedef GLint GLint GLint GLint GLint dstY0
    typedef GLint GLint GLint GLint GLint GLint dstX1
    typedef GLint GLint GLint GLint GLint GLint GLint dstY1
    typedef GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
    typedef GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
    typedef GLsizei samples
    typedef GLenum attachment
    typedef GLenum GLuint texture
    typedef GLenum GLuint GLint GLint layer
    typedef void *GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum targettarget, GLintptr offsetoffset, GLsizeiptr lengthlength, GLbitfield accessaccess)
    typedef GLintptr offset
    typedef GLintptr GLsizeiptr length
    typedef const GLuintarrays
    typedef GLuint index
    typedef GLuint GLuint buffer
    typedef GLuint GLuint GLintptr GLsizeiptr size
    typedef GLsizei const GLchar *const * varyings
    typedef GLsizei const GLchar *const GLenum bufferMode
    typedef GLuint GLsizei bufSize
    typedef GLuint GLsizei GLsizei GLsizei GLenum GLcharname
    typedef GLint GLenum GLsizei stride
    typedef GLint GLenum GLsizei const voidpointer
    typedef GLint GLint GLint z
    typedef GLint GLint GLint GLint w
    typedef const GLintv
    typedef GLint location
    typedef GLuint v0
    typedef GLuint GLuint v1
    typedef GLuint GLuint GLuint v2
    typedef GLuint GLuint GLuint GLuint v3
    typedef GLint drawbuffer
    typedef GLint GLfloat GLint stencil
    typedef const GLubyte *GL_APIENTRYP PFNGLGETSTRINGIPROC(GLenum namename, GLuint indexindex)
    typedef GLenum writeTarget
    typedef GLenum GLintptr readOffset
    typedef GLenum GLintptr GLintptr writeOffset
    typedef GLsizei uniformCount
    typedef GLsizei const GLchar *const * uniformNames
    typedef GLsizei const GLchar *const GLuintuniformIndices
    typedef const GLcharuniformBlockName
    typedef GLuint uniformBlockIndex
    typedef GLuint GLuint uniformBlockBinding
    typedef GLint first
    typedef GLint GLsizei GLsizei instancecount
    typedef GLbitfield flags
    typedef GLbitfield GLuint64 timeout
    typedef GLenum GLsizei GLsizei GLintvalues
    typedef GLuintsamplers
    typedef GLuint sampler
    typedef GLenum GLint param
    typedef GLuint divisor
    typedef GLsizei GLsizei GLenumbinaryFormat
    typedef GLsizei GLsizei GLenum voidbinary
    typedef GLsizei numAttachments
    typedef GLsizei const GLenumattachments
    typedef GLsizei levels
    typedef GLuint num_groups_y
    typedef GLuint GLuint num_groups_z
    typedef const voidindirect
    typedef GLenum programInterface
    typedef GLenum GLuint GLsizei propCount
    typedef GLenum GLuint GLsizei const GLenumprops
    typedef GLbitfield stages
    typedef GLbitfield GLuint program
    typedef GLsizei const GLchar *const * strings
    typedef const GLuintpipelines
    typedef GLsizei GLsizei GLcharinfoLog
    typedef GLuint GLint GLboolean layered
    typedef GLuint GLint GLboolean GLint GLenum access
    typedef GLsizei GLenum GLsizei GLsizei GLboolean fixedsamplelocations
    typedef GLuint GLfloatval
    typedef GLint GLenum GLboolean normalized
    typedef GLint GLenum GLboolean GLuint relativeoffset
    typedef GLuint bindingindex
    typedef void(GL_APIENTRY * GLDEBUGPROC) (GLenum sourcesource, GLenum typetype, GLuint idid, GLenum severityseverity, GLsizei lengthlength, const GLchar *messagemessage, const void *userParamuserParam)
    typedef GLenum srcTarget
    typedef GLenum GLint srcLevel
    typedef GLenum GLint GLint srcX
    typedef GLenum GLint GLint GLint srcY
    typedef GLenum GLint GLint GLint GLint srcZ
    typedef GLenum GLint GLint GLint GLint GLuint dstName
    typedef GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei srcWidth
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei srcHeight
    typedef GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei GLsizei srcDepth
    typedef GLenum GLenum severity
    typedef GLenum GLenum GLsizei const GLuint GLboolean enabled
    typedef GLenum GLuint GLenum GLsizei const GLcharbuf
    typedef const voiduserParam
    typedef GLsizei GLenumsources
    typedef GLsizei GLenum GLenumtypes
    typedef GLsizei GLenum GLenum GLuint GLenumseverities
    typedef GLsizei GLenum GLenum GLuint GLenum GLsizeilengths
    typedef GLsizei GLenum GLenum GLuint GLenum GLsizei GLcharmessageLog
    typedef GLuint GLsizei const GLcharmessage
    typedef GLuint GLsizei const GLcharlabel
    typedef GLenum mode
    typedef GLenum modeRGB
    typedef GLenum GLenum modeAlpha
    typedef GLenum src
    typedef GLenum GLenum dst
    typedef GLenum srcRGB
    typedef GLenum GLenum dstRGB
    typedef GLenum GLenum GLenum srcAlpha
    typedef GLenum GLenum GLenum GLenum dstAlpha
    typedef GLboolean r
    typedef GLboolean GLboolean g
    typedef GLboolean GLboolean GLboolean b
    typedef GLboolean GLboolean GLboolean GLboolean a
    typedef GLsizei GLenum const void GLint basevertex
    typedef GLfloat minY
    typedef GLfloat GLfloat minZ
    typedef GLfloat GLfloat GLfloat minW
    typedef GLfloat GLfloat GLfloat GLfloat maxX
    typedef GLfloat GLfloat GLfloat GLfloat GLfloat maxY
    typedef GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat maxZ
    typedef GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat maxW

    Functions

    template<typename T1, typename T = size_t>
    hash (const T1 &theValue) noexcept
    template<typename T1, typename T = size_t>
    hashBytes (const T1 *theKey, int theLen) noexcept
    template<typename T1, typename T = size_t>
    hash_combine (const T1 &theValue, const int theLen, const T theSeed) noexcept
    template<class T, class... Args>
    std::shared_ptr< T > make_shared (Args &&... theArgs)
    template<class T, class... Args>
    std::shared_ptr< T > make_oshared (const occ::handle< NCollection_BaseAllocator > &theAlloc, Args &&... theArgs)
    template<class T, class... Args>
    std::shared_ptr< T > make_oshared (const NCollection_OccAllocator< T > &theAlloc, Args &&... theArgs)
    template<class T, class... Args>
    std::shared_ptr< T > make_oshared (NCollection_OccAllocator< T > &&theAlloc, Args &&... theArgs)
    template<typename T, class... Args>
    std::unique_ptr< T > make_unique (Args &&... theArgs)
    typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC)(GLenum src)
    typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC)(GLuint id)
    typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC)(GLuint program
    typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program
    typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC)(GLenum condition
    typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC)(GLsync sync

    Detailed Description

    Namespace opencascade is intended for low-level template classes and functions.

    Typedef Documentation

    ◆ a

    ◆ access

    ◆ arrays

    ◆ attachment

    ◆ attachments

    ◆ b

    ◆ basevertex

    ◆ binary

    typedef GLenum const void * opencascade::binary

    ◆ binaryFormat

    ◆ bindingindex

    ◆ border

    ◆ buf

    ◆ buffer

    ◆ bufferMode

    ◆ bufs

    typedef const GLenum* opencascade::bufs

    ◆ bufSize

    ◆ count

    ◆ data

    ◆ depth

    ◆ divisor

    ◆ drawbuffer

    ◆ dst

    ◆ dstAlpha

    ◆ dstLevel

    ◆ dstName

    ◆ dstRGB

    ◆ dstTarget

    ◆ dstX

    ◆ dstX0

    ◆ dstX1

    ◆ dstY

    ◆ dstY0

    ◆ dstY1

    ◆ dstZ

    ◆ enabled

    ◆ end

    ◆ filter

    ◆ first

    ◆ fixedsamplelocations

    ◆ flags

    ◆ format

    ◆ g

    ◆ GLDEBUGPROC

    typedef void(GL_APIENTRY * opencascade::GLDEBUGPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam)

    ◆ height

    ◆ id

    ◆ ids

    ◆ imageSize

    ◆ index

    ◆ indices

    ◆ indirect

    ◆ infoLog

    ◆ instancecount

    ◆ internalformat

    ◆ label

    ◆ layer

    ◆ layered

    ◆ length

    ◆ lengths

    ◆ level

    ◆ levels

    ◆ location

    ◆ mask

    ◆ maxW

    ◆ maxX

    ◆ maxY

    ◆ maxZ

    ◆ message

    ◆ messageLog

    ◆ minW

    ◆ minY

    ◆ minZ

    ◆ mode

    ◆ modeAlpha

    ◆ modeRGB

    ◆ name

    ◆ normalized

    ◆ num_groups_y

    ◆ num_groups_z

    ◆ numAttachments

    ◆ offset

    ◆ param

    typedef GLenum const GLuint * opencascade::param

    ◆ params

    ◆ PFNGLGETSTRINGIPROC

    typedef const GLubyte *GL_APIENTRYP opencascade::PFNGLGETSTRINGIPROC(GLenum name, GLuint index)

    ◆ PFNGLMAPBUFFERRANGEPROC

    typedef void *GL_APIENTRYP opencascade::PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)

    ◆ pipelines

    ◆ pixels

    ◆ pname

    ◆ pointer

    ◆ program

    ◆ programInterface

    ◆ propCount

    ◆ props

    ◆ r

    ◆ readOffset

    ◆ relativeoffset

    ◆ sampler

    ◆ samplers

    typedef const GLuint * opencascade::samplers

    ◆ samples

    ◆ severities

    ◆ severity

    ◆ size

    ◆ sources

    ◆ src

    ◆ srcAlpha

    ◆ srcDepth

    ◆ srcHeight

    ◆ srcLevel

    ◆ srcRGB

    ◆ srcTarget

    ◆ srcWidth

    ◆ srcX

    ◆ srcX1

    ◆ srcY

    ◆ srcY0

    ◆ srcY1

    ◆ srcZ

    ◆ stages

    ◆ start

    ◆ stencil

    ◆ stride

    ◆ strings

    typedef GLsizei const GLchar* const* opencascade::strings

    ◆ texture

    ◆ timeout

    ◆ transpose

    ◆ type

    ◆ types

    ◆ uniformBlockBinding

    ◆ uniformBlockIndex

    ◆ uniformBlockName

    ◆ uniformCount

    ◆ uniformIndices

    ◆ uniformNames

    typedef GLsizei const GLchar* const* opencascade::uniformNames

    ◆ userParam

    typedef const void* opencascade::userParam

    ◆ v

    typedef const GLuint * opencascade::v

    ◆ v0

    ◆ v1

    ◆ v2

    ◆ v3

    ◆ val

    ◆ value

    ◆ values

    ◆ varyings

    typedef GLsizei const GLchar* const* opencascade::varyings

    ◆ w

    ◆ width

    ◆ writeOffset

    ◆ writeTarget

    ◆ x

    ◆ xoffset

    ◆ y

    ◆ yoffset

    ◆ z

    ◆ zoffset

    Function Documentation

    ◆ GLboolean()

    typedef opencascade::GLboolean ( GL_APIENTRYP PFNGLISQUERYPROC)

    ◆ GLenum()

    typedef opencascade::GLenum ( GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC)

    ◆ GLint()

    typedef opencascade::GLint ( GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC)

    ◆ GLsync()

    typedef opencascade::GLsync ( GL_APIENTRYP PFNGLFENCESYNCPROC)

    ◆ GLuint()

    typedef opencascade::GLuint ( GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)

    ◆ hash()

    template<typename T1, typename T = size_t>
    T opencascade::hash ( const T1 & theValue)
    noexcept

    ◆ hash_combine()

    template<typename T1, typename T = size_t>
    T opencascade::hash_combine ( const T1 & theValue,
    const int theLen,
    const T theSeed )
    noexcept

    ◆ hashBytes()

    template<typename T1, typename T = size_t>
    T opencascade::hashBytes ( const T1 * theKey,
    int theLen )
    noexcept

    ◆ make_oshared() [1/3]

    template<class T, class... Args>
    std::shared_ptr< T > opencascade::make_oshared ( const NCollection_OccAllocator< T > & theAlloc,
    Args &&... theArgs )

    ◆ make_oshared() [2/3]

    template<class T, class... Args>
    std::shared_ptr< T > opencascade::make_oshared ( const occ::handle< NCollection_BaseAllocator > & theAlloc,
    Args &&... theArgs )

    ◆ make_oshared() [3/3]

    template<class T, class... Args>
    std::shared_ptr< T > opencascade::make_oshared ( NCollection_OccAllocator< T > && theAlloc,
    Args &&... theArgs )

    ◆ make_shared()

    template<class T, class... Args>
    std::shared_ptr< T > opencascade::make_shared ( Args &&... theArgs)

    ◆ make_unique()

    template<typename T, class... Args>
    std::unique_ptr< T > opencascade::make_unique ( Args &&... theArgs)

    ◆ void()

    typedef opencascade::void ( GL_APIENTRYP PFNGLREADBUFFERPROC)