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

Public Member Functions

 VLMapperPoints (const mitk::DataNode *node, VLSceneView *sv)
 
virtual void updatePoints (const vl::vec4 &color)=0
 
void initPointSetProps ()
 
virtual bool init ()
 
virtual void update ()
 
void remove ()
 
- Public Member Functions inherited from niftk::VLMapper
 VLMapper (const mitk::DataNode *node, VLSceneView *sv)
 
virtual ~VLMapper ()
 
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 Member Functions

void init3D ()
 
void init2D ()
 
- Protected Member Functions inherited from niftk::VLMapper
vl::ref< vl::Actor > initActor (vl::Geometry *geom, vl::Effect *fx=NULL, vl::Transform *tr=NULL)
 

Protected Attributes

bool m_3DSphereMode
 
vl::ref< vl::ActorTree > m_SphereActors
 
vl::ref< vl::Geometry > m_3DSphereGeom
 
vl::ref< vl::Effect > m_Point2DFX
 
vl::ref< vl::Geometry > m_2DGeometry
 
vl::ref< vl::ArrayFloat3 > m_PositionArray
 
vl::ref< vl::ArrayFloat4 > m_ColorArray
 
vl::ref< vl::DrawArrays > m_DrawPoints
 
- 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 *)
 

Constructor & Destructor Documentation

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

Member Function Documentation

bool niftk::VLMapperPoints::init ( )
virtual

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

Implements niftk::VLMapper.

void niftk::VLMapperPoints::init2D ( )
protected
void niftk::VLMapperPoints::init3D ( )
protected
void niftk::VLMapperPoints::initPointSetProps ( )
void niftk::VLMapperPoints::remove ( )
virtual

Removes all the relevant Actor(s) from the scene.

Reimplemented from niftk::VLMapper.

void niftk::VLMapperPoints::update ( )
virtual

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

Implements niftk::VLMapper.

virtual void niftk::VLMapperPoints::updatePoints ( const vl::vec4 &  color)
pure virtual

Implemented in niftk::VLMapperPointSet.

Member Data Documentation

vl::ref<vl::Geometry> niftk::VLMapperPoints::m_2DGeometry
protected
vl::ref<vl::Geometry> niftk::VLMapperPoints::m_3DSphereGeom
protected
bool niftk::VLMapperPoints::m_3DSphereMode
protected
vl::ref<vl::ArrayFloat4> niftk::VLMapperPoints::m_ColorArray
protected
vl::ref<vl::DrawArrays> niftk::VLMapperPoints::m_DrawPoints
protected
vl::ref<vl::Effect> niftk::VLMapperPoints::m_Point2DFX
protected
vl::ref<vl::ArrayFloat3> niftk::VLMapperPoints::m_PositionArray
protected
vl::ref<vl::ActorTree> niftk::VLMapperPoints::m_SphereActors
protected

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