MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoFramebufferSampler3D.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2007, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef SO_FRAMEBUFFER_SAMPLER3_D_H
14
#define SO_FRAMEBUFFER_SAMPLER3_D_H
15
16
18
19
#include "
SoShaderSystem.h
"
20
#include "
Inventor/nodes/SoFramebufferSampler.h
"
21
#include <Inventor/fields/SoSFVec3s.h>
22
24
class
INVENTOR_SHADER_API
SoFramebufferSampler3D
:
public
SoFramebufferSampler
25
{
26
typedef
SoFramebufferSampler
inherited;
27
28
SO_NODE_HEADER(
SoFramebufferSampler3D
);
29
30
public
:
32
SoSFVec3s
size
;
33
35
SoSFEnum
wrapR
;
36
38
SoFramebufferSampler3D
();
39
40
protected
:
41
SbVec3s
_fldValSize
;
42
SbVec3s
_size
;
43
45
~SoFramebufferSampler3D
()
override
;
46
47
SoEXTENDER public :
48
50
void
updatePreparation
(SoState* state)
override
;
51
53
void
updateParameter
(
SoUniformParameterBase
*, SoState*)
override
;
54
55
SoINTERNAL public :
56
58
static
void
initClass
();
59
};
60
61
#endif
// _SO_FRAMEBUFFER_SAMPLER_3D_
SoFramebufferSampler.h
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoFramebufferSampler3D::updatePreparation
void updatePreparation(SoState *state) override
Render children to framebuffer object.
SoFramebufferSampler3D::wrapR
SoSFEnum wrapR
Wrapping mode.
Definition
SoFramebufferSampler3D.h:35
SoFramebufferSampler3D::~SoFramebufferSampler3D
~SoFramebufferSampler3D() override
Destructor.
SoFramebufferSampler3D::size
SoSFVec3s size
Texture size. Default is 64 x 64 x 64.
Definition
SoFramebufferSampler3D.h:32
SoFramebufferSampler3D::_fldValSize
SbVec3s _fldValSize
Definition
SoFramebufferSampler3D.h:41
SoFramebufferSampler3D::initClass
static void initClass()
Initialize class with runtime type system.
SoFramebufferSampler3D::updateParameter
void updateParameter(SoUniformParameterBase *, SoState *) override
Update sampler uniform to inform shader about fbo texture.
SoFramebufferSampler3D::_size
SbVec3s _size
Definition
SoFramebufferSampler3D.h:42
SoFramebufferSampler3D::SoFramebufferSampler3D
SoFramebufferSampler3D()
Constructor.
SoFramebufferSampler::SoFramebufferSampler
SoFramebufferSampler()
Constructor.
SoUniformParameterBase
Base class for uniform shader parameters.
Definition
SoUniformParameterBase.h:30
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoFramebufferSampler3D.h
Generated by
1.18.0