NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Attributes | List of all members
niftk::VLMapperSurface Class Reference
Inheritance diagram for niftk::VLMapperSurface:
Inheritance graph
[legend]
Collaboration diagram for niftk::VLMapperSurface:
Collaboration graph
[legend]

Public Member Functions

 VLMapperSurface (const mitk::DataNode *node, VLSceneView *sv)
 
virtual bool init ()
 
virtual void update ()
 
- Public Member Functions inherited from niftk::VLMapper
 VLMapper (const mitk::DataNode *node, VLSceneView *sv)
 
virtual ~VLMapper ()
 
virtual void remove ()
 
void updateCommon ()
 
vl::Actor * actor ()
 
const vl::Actor * actor () const
 
void setDataNodeVividUpdateEnabled (bool enable)
 
bool isDataNodeVividUpdateEnabled () const
 
void setRenderingMode (vl::Vivid::ERenderingMode mode)
 
vl::Vivid::ERenderingMode renderingMode () const
 
void setOutlineColor (const vl::vec4 &color)
 
vl::vec4 outlineColor () const
 
void setOutlineWidth (float width)
 
float outlineWidth () const
 
void setOutlineSlicePlane (const vl::vec4 &plane)
 
vl::vec4 outlineSlicePlane () const
 
void setIsStencil (bool is_stencil)
 
bool isStencil () const
 
void setLightingEnabled (bool enable)
 
int isLightingEnabled () const
 
void setMaterialDiffuseRGBA (const vl::vec4 &rgba)
 
const vl::vec4 & materialDiffuseRGBA () const
 
void setMaterialSpecularColor (const vl::vec4 &color)
 
const vl::vec4 & materialSpecularColor () const
 
void setMaterialSpecularShininess (float shininess)
 
float materialSpecularShininess () const
 
void setTextureMappingEnabled (bool enable)
 
bool isTextureMappingEnabled () const
 
void setTexture (vl::Texture *tex)
 
vl::Texture * texture ()
 
const vl::Texture * texture () const
 
void setPointSpriteEnabled (bool enable)
 
bool isPointSpriteEnabled () const
 
vl::PointSize * pointSize ()
 
const vl::PointSize * pointSize () const
 
vl::PolygonMode * polygonMode ()
 
const vl::PolygonMode * polygonMode () const
 
void setFogMode (vl::Vivid::EFogMode mode)
 
vl::Vivid::EFogMode fogMode () const
 
void setFogTarget (vl::Vivid::ESmartTarget target)
 
vl::Vivid::ESmartTarget fogTarget () const
 
void setFogColor (const vl::vec4 &color)
 
const vl::vec4 & fogColor () const
 
void setFogStart (float start)
 
float fogStart () const
 
void setFogEnd (float end)
 
float fogEnd () const
 
void setFogDensity (float density)
 
float fogDensity () const
 
void setClipMode (int i, vl::Vivid::EClipMode mode)
 
vl::Vivid::EClipMode clipMode (int i) const
 
void setClipTarget (int i, vl::Vivid::ESmartTarget target)
 
vl::Vivid::ESmartTarget clipTarget (int i) const
 
void setClipFadeRange (int i, float fadeRange)
 
float clipFadeRange (int i) const
 
void setClipColor (int i, const vl::vec4 &color)
 
vl::vec4 clipColor (int i) const
 
void setClipPlane (int i, const vl::vec4 &plane)
 
vl::vec4 clipPlane (int i) const
 
void setClipSphere (int i, const vl::vec4 &sphere)
 
vl::vec4 clipSphere (int i) const
 
void setClipBoxMin (int i, const vl::vec3 &boxMin)
 
vl::vec3 clipBoxMin (int i) const
 
void setClipBoxMax (int i, const vl::vec3 &boxMax)
 
vl::vec3 clipBoxMax (int i) const
 
void setClipReverse (int i, bool reverse)
 
bool clipReverse (int i) const
 

Protected Attributes

const mitk::Surface * m_MitkSurf
 
- Protected Attributes inherited from niftk::VLMapper
vl::OpenGLContext * m_OpenGLContext
 
vl::VividRendering * m_VividRendering
 
mitk::DataStorage * m_DataStorage
 
VLSceneViewm_VLSceneView
 
const mitk::DataNode * m_DataNode
 
vl::ref< vl::Actor > m_Actor
 
bool m_DataNodeVividUpdateEnabled
 

Additional Inherited Members

- Static Public Member Functions inherited from niftk::VLMapper
static vl::ref< VLMappercreate (const mitk::DataNode *node, VLSceneView *)
 
- Protected Member Functions inherited from niftk::VLMapper
vl::ref< vl::Actor > initActor (vl::Geometry *geom, vl::Effect *fx=NULL, vl::Transform *tr=NULL)
 

Constructor & Destructor Documentation

niftk::VLMapperSurface::VLMapperSurface ( const mitk::DataNode *  node,
VLSceneView sv 
)

Member Function Documentation

bool niftk::VLMapperSurface::init ( )
virtual

Initializes all the relevant VL data structures, uniforms etc. according to the node's settings.

Implements niftk::VLMapper.

void niftk::VLMapperSurface::update ( )
virtual

Updates all the relevant VL data structures, uniforms etc. according to the node's settings.

Implements niftk::VLMapper.

Member Data Documentation

const mitk::Surface* niftk::VLMapperSurface::m_MitkSurf
protected

The documentation for this class was generated from the following files: