Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkMRMLDisplayNode Class Reference

Abstract class that contains graphical display properties for displayable nodes. More...

#include <Libs/MRML/Core/vtkMRMLDisplayNode.h>

Inheritance diagram for vtkMRMLDisplayNode:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLDisplayNode:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkMRMLNode Superclass

Public Member Functions

void AddViewNodeID (const char *viewNodeID)
virtual void AutoScalarRangeOff ()
virtual void AutoScalarRangeOn ()
virtual void BackfaceCullingOff ()
virtual void BackfaceCullingOn ()
virtual void ClippingOff ()
virtual void ClippingOn ()
virtual void Copy (vtkMRMLNode *node)
 Copy the node's attributes to this object.
virtual void EdgeVisibilityOff ()
virtual void EdgeVisibilityOn ()
virtual void FrontfaceCullingOff ()
virtual void FrontfaceCullingOn ()
virtual int GetActiveAttributeLocation ()
virtual char * GetActiveScalarName ()
virtual double GetAmbient ()
virtual int GetAutoScalarRange ()
virtual int GetBackfaceCulling ()
virtual const char * GetClassName ()
virtual int GetClipping ()
virtual void GetColor (double[3])
virtual void GetColor (double &, double &, double &)
virtual double * GetColor ()
virtual vtkMRMLColorNodeGetColorNode ()
virtual char * GetColorNodeID ()
virtual double GetDiffuse ()
virtual vtkMRMLDisplayableNodeGetDisplayableNode ()
virtual void GetEdgeColor (double &, double &, double &)
virtual double * GetEdgeColor ()
virtual void GetEdgeColor (double[3])
virtual int GetEdgeVisibility ()
virtual int GetFrontfaceCulling ()
virtual int GetInterpolateTexture ()
virtual int GetInterpolation ()
virtual int GetLighting ()
virtual double GetLineWidth ()
const char * GetNthViewNodeID (unsigned int index)
int GetNumberOfViewNodeIDs () const
virtual double GetOpacity ()
virtual double GetPointSize ()
virtual double GetPower ()
virtual int GetRepresentation ()
virtual double * GetScalarRange ()
virtual void GetScalarRange (double &, double &)
virtual void GetScalarRange (double[2])
virtual int GetScalarVisibility ()
virtual double GetSelectedAmbient ()
virtual double * GetSelectedColor ()
virtual void GetSelectedColor (double[3])
virtual void GetSelectedColor (double &, double &, double &)
virtual double GetSelectedSpecular ()
virtual int GetShading ()
virtual int GetSliceIntersectionThickness ()
virtual int GetSliceIntersectionVisibility ()
virtual double GetSpecular ()
virtual int GetTensorVisibility ()
virtual vtkImageData * GetTextureImageData ()
virtual int GetVectorVisibility ()
std::vector< std::string > GetViewNodeIDs () const
virtual int GetVisibility ()
virtual bool GetVisibility (const char *viewNodeID)
virtual void InterpolateTextureOff ()
virtual void InterpolateTextureOn ()
virtual int IsA (const char *type)
bool IsDisplayableInView (const char *viewNodeID) const
bool IsViewNodeIDPresent (const char *viewNodeID) const
virtual void LightingOff ()
virtual void LightingOn ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ReadXMLAttributes (const char **atts)
void RemoveAllViewNodeIDs ()
void RemoveViewNodeID (char *viewNodeID)
virtual void ScalarVisibilityOff ()
virtual void ScalarVisibilityOn ()
virtual void SetActiveAttributeLocation (int)
virtual void SetActiveScalarName (const char *scalarName)
virtual void SetAmbient (double)
virtual void SetAndObserveColorNodeID (const char *ColorNodeID)
void SetAndObserveColorNodeID (const std::string &ColorNodeID)
void SetAndObserveTextureImageData (vtkImageData *ImageData)
virtual void SetAutoScalarRange (int)
virtual void SetBackfaceCulling (int)
virtual void SetClipping (int)
virtual void SetColor (double[3])
virtual void SetColor (double, double, double)
virtual void SetDiffuse (double)
virtual void SetEdgeColor (double, double, double)
virtual void SetEdgeColor (double[3])
virtual void SetEdgeVisibility (int)
virtual void SetFrontfaceCulling (int)
virtual void SetInterpolateTexture (int)
virtual void SetInterpolation (int)
virtual void SetLighting (int)
virtual void SetLineWidth (double)
virtual void SetOpacity (double)
virtual void SetPointSize (double)
virtual void SetPower (double)
virtual void SetRepresentation (int)
virtual void SetScalarRange (double, double)
void SetScalarRange (double[2])
virtual void SetScalarVisibility (int)
virtual void SetSceneReferences ()
 Mark the color and views nodes as references.
virtual void SetSelectedAmbient (double)
virtual void SetSelectedColor (double, double, double)
virtual void SetSelectedColor (double[3])
virtual void SetSelectedSpecular (double)
virtual void SetShading (int)
virtual void SetSliceIntersectionThickness (int)
virtual void SetSliceIntersectionVisibility (int)
virtual void SetSpecular (double)
virtual void SetTensorVisibility (int)
virtual void SetVectorVisibility (int)
virtual void SetVisibility (int)
virtual void SliceIntersectionVisibilityOff ()
virtual void SliceIntersectionVisibilityOn ()
virtual void TensorVisibilityOff ()
virtual void TensorVisibilityOn ()
virtual void UpdateReferenceID (const char *oldID, const char *newID)
 Update the stored reference to another node in the scene.
virtual void UpdateReferences ()
virtual void UpdateScene (vtkMRMLScene *scene)
 Finds the storage node and read the data.
virtual void VectorVisibilityOff ()
virtual void VectorVisibilityOn ()
virtual void VisibilityOff ()
virtual void VisibilityOn ()
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkMRMLDisplayNodeSafeDownCast (vtkObject *o)

Protected Types

enum  InterpolationType { FlatInterpolation = 0, GouraudInterpolation, PhongInterpolation }
 Interpolation models. More...
enum  RepresentationType { PointsRepresentation = 0, WireframeRepresentation, SurfaceRepresentation }

Protected Member Functions

void operator= (const vtkMRMLDisplayNode &)
virtual void SetColorNodeInternal (vtkMRMLColorNode *newColorNode)
virtual void SetTextureImageData (vtkImageData *imageData)
 vtkMRMLDisplayNode (const vtkMRMLDisplayNode &)
 vtkMRMLDisplayNode ()
 ~vtkMRMLDisplayNode ()

Protected Attributes

int ActiveAttributeLocation
char * ActiveScalarName
double Ambient
int AutoScalarRange
int BackfaceCulling
int Clipping
double Color [3]
vtkMRMLColorNodeColorNode
char * ColorNodeID
double Diffuse
double EdgeColor [3]
int EdgeVisibility
int FrontfaceCulling
int InterpolateTexture
int Interpolation
int Lighting
double LineWidth
double Opacity
double PointSize
double Power
int Representation
double ScalarRange [2]
int ScalarVisibility
double SelectedAmbient
double SelectedColor [3]
double SelectedSpecular
int Shading
int SliceIntersectionThickness
int SliceIntersectionVisibility
double Specular
int TensorVisibility
vtkImageData * TextureImageData
int VectorVisibility
std::vector< std::string > ViewNodeIDs
int Visibility

Detailed Description

Abstract class that contains graphical display properties for displayable nodes.

vtkMRMLDisplayNode fires a ModifiedEvent event when the texture image data or the color node is modified.

See also:
vtkMRMLDisplayableNode, TextureImageData, ColorNode

Definition at line 36 of file vtkMRMLDisplayNode.h.


Member Typedef Documentation


Member Enumeration Documentation

Interpolation models.

Enumerator:
FlatInterpolation 
GouraudInterpolation 
PhongInterpolation 

Definition at line 526 of file vtkMRMLDisplayNode.h.

Representation models

See also:
vtkProperty
Enumerator:
PointsRepresentation 
WireframeRepresentation 
SurfaceRepresentation 

Definition at line 509 of file vtkMRMLDisplayNode.h.


Constructor & Destructor Documentation

vtkMRMLDisplayNode::vtkMRMLDisplayNode ( ) [protected]
vtkMRMLDisplayNode::~vtkMRMLDisplayNode ( ) [protected]
vtkMRMLDisplayNode::vtkMRMLDisplayNode ( const vtkMRMLDisplayNode ) [protected]

Member Function Documentation

void vtkMRMLDisplayNode::AddViewNodeID ( const char *  viewNodeID)

Add View Node ID for the view to display this node in.

See also:
ViewNodeIDs, RemoveViewNodeID(), RemoveAllViewNodeIDs()
virtual void vtkMRMLDisplayNode::AutoScalarRangeOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::AutoScalarRangeOn ( ) [virtual]

Set the auto scalar range flag of the display node.

See also:
AutoScalarRange, SetAutoScalarRange(), GetAutoScalarRange()
virtual void vtkMRMLDisplayNode::BackfaceCullingOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::BackfaceCullingOn ( ) [virtual]

Set the backface culling of the display node.

See also:
BackfaceCulling, SetBackfaceCulling(), GetBackfaceCulling()
virtual void vtkMRMLDisplayNode::ClippingOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::ClippingOn ( ) [virtual]

Set the clipping of the display node.

See also:
Clipping, SetClipping(), GetClipping()
virtual void vtkMRMLDisplayNode::Copy ( vtkMRMLNode node) [virtual]
virtual void vtkMRMLDisplayNode::EdgeVisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::EdgeVisibilityOn ( ) [virtual]
virtual void vtkMRMLDisplayNode::FrontfaceCullingOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::FrontfaceCullingOn ( ) [virtual]

Set the backface culling of the display node.

See also:
FrontfaceCulling, SetFrontfaceCulling(), GetFrontfaceCulling()
virtual int vtkMRMLDisplayNode::GetActiveAttributeLocation ( ) [virtual]

Get the active attribute location of the display node.

See also:
ActiveAttributeLocation, SetActiveAttributeLocation()
virtual char* vtkMRMLDisplayNode::GetActiveScalarName ( ) [virtual]

Return the name of the currently active scalar field for this model.

See also:
ActiveScalarName, SetActiveScalarName()
virtual double vtkMRMLDisplayNode::GetAmbient ( ) [virtual]

Get the ambient coef of the display node.

See also:
Ambient, SetAmbient()
virtual int vtkMRMLDisplayNode::GetAutoScalarRange ( ) [virtual]

Get the auto scalar range flag of the display node.

See also:
AutoScalarRange, SetAutoScalarRange(), AutoScalarRangeOn(), AutoScalarRangeOff()
virtual int vtkMRMLDisplayNode::GetBackfaceCulling ( ) [virtual]

Get the backface culling of the display node.

See also:
BackfaceCulling, SetBackfaceCulling(), BackfaceCullingOn(), BackfaceCullingOff()
virtual const char* vtkMRMLDisplayNode::GetClassName ( ) [virtual]
virtual int vtkMRMLDisplayNode::GetClipping ( ) [virtual]

Get the clipping of the display node.

See also:
Clipping, SetClipping(), ClippingOn(), ClippingOff()
virtual double* vtkMRMLDisplayNode::GetColor ( ) [virtual]

Get the color of the display node.

See also:
Color, SetColor()
virtual void vtkMRMLDisplayNode::GetColor ( double &  ,
double &  ,
double &   
) [virtual]
virtual void vtkMRMLDisplayNode::GetColor ( double  [3]) [virtual]
virtual vtkMRMLColorNode* vtkMRMLDisplayNode::GetColorNode ( ) [virtual]

Get associated color MRML node. Search the node into the scene if the node hasn't been cached yet. This can be a slow call.

See also:
ColorNodeID, SetAndObserveColorNodeID, GetColorNodeID()
virtual char* vtkMRMLDisplayNode::GetColorNodeID ( ) [virtual]

Get color node ID of the displaty node.

See also:
ColorNodeID, SetAndObserveColorNodeID()
virtual double vtkMRMLDisplayNode::GetDiffuse ( ) [virtual]

Get the diffuse coef of the display node.

See also:
Diffuse, SetDiffuse()
virtual vtkMRMLDisplayableNode* vtkMRMLDisplayNode::GetDisplayableNode ( ) [virtual]

Returns the first displayable node that is associated to this display node Warning: This function is slow as it browses the entire scene to find the displayable node.

See also:
vtkMRMLDisplayableNode
virtual double* vtkMRMLDisplayNode::GetEdgeColor ( ) [virtual]

Get the edge color of the display node.

See also:
EdgeColor, SetEdgeColor()
virtual void vtkMRMLDisplayNode::GetEdgeColor ( double &  ,
double &  ,
double &   
) [virtual]
virtual void vtkMRMLDisplayNode::GetEdgeColor ( double  [3]) [virtual]
virtual int vtkMRMLDisplayNode::GetEdgeVisibility ( ) [virtual]

Get the visibility of the edges.

See also:
EdgeVisibility, SetEdgeVisibility()
virtual int vtkMRMLDisplayNode::GetFrontfaceCulling ( ) [virtual]

Get the backface culling of the display node.

See also:
FrontfaceCulling, SetFrontfaceCulling(), FrontfaceCullingOn(), FrontfaceCullingOff()
virtual int vtkMRMLDisplayNode::GetInterpolateTexture ( ) [virtual]

Get the texture interpolation of the display node.

See also:
InterpolateTexture, SetInterpolateTexture(), InterpolateTextureOn(), InterpolateTextureOff()
virtual int vtkMRMLDisplayNode::GetInterpolation ( ) [virtual]

Get the interpolation of the surface.

See also:
Interpolation, SetInterpolation()
virtual int vtkMRMLDisplayNode::GetLighting ( ) [virtual]

Get the lighting of the display node.

See also:
Lighting, SetLighting(), LightingOn(), LightingOff()
virtual double vtkMRMLDisplayNode::GetLineWidth ( ) [virtual]

Get the widget of lines.

See also:
LineWidth, SetLineWidth()
const char* vtkMRMLDisplayNode::GetNthViewNodeID ( unsigned int  index)

Get View Node ID's for the view to display this node in. If NULL, display in all views

See also:
ViewNodeIDs, GetViewNodeIDs(), AddViewNodeID()
int vtkMRMLDisplayNode::GetNumberOfViewNodeIDs ( ) const [inline]

Get number of View Node ID's for the view to display this node in. If 0, display in all views

See also:
ViewNodeIDs, GetViewNodeIDs(), AddViewNodeID()

Definition at line 664 of file vtkMRMLDisplayNode.h.

virtual double vtkMRMLDisplayNode::GetOpacity ( ) [virtual]

Get the opacity coef of the display node.

See also:
Opacity, SetOpacity()
virtual double vtkMRMLDisplayNode::GetPointSize ( ) [virtual]

Get the diameter of points.

See also:
PointSize, SetPointSize()
virtual double vtkMRMLDisplayNode::GetPower ( ) [virtual]

Get the specular power coef of the display node.

See also:
Power, SetPower()
virtual int vtkMRMLDisplayNode::GetRepresentation ( ) [virtual]

Get the representation of the surface.

See also:
Representation, SetRepresentation()
virtual double* vtkMRMLDisplayNode::GetScalarRange ( ) [virtual]

Get the scalar range of the display node.

See also:
ScalarRange, SetScalarRange()
virtual void vtkMRMLDisplayNode::GetScalarRange ( double  [2]) [virtual]
virtual void vtkMRMLDisplayNode::GetScalarRange ( double &  ,
double &   
) [virtual]
virtual int vtkMRMLDisplayNode::GetScalarVisibility ( ) [virtual]

Get the scalar visibility of the display node.

See also:
ScalarVisibility, SetScalarVisibility(), ScalarVisibilityOn(), ScalarVisibilityOff()
virtual double vtkMRMLDisplayNode::GetSelectedAmbient ( ) [virtual]

Get the selected ambient coef of the display node.

See also:
SelectedAmbient, SetSelectedAmbient()
virtual void vtkMRMLDisplayNode::GetSelectedColor ( double  [3]) [virtual]
virtual double* vtkMRMLDisplayNode::GetSelectedColor ( ) [virtual]

Get the selected color of the display node.

See also:
SelectedColor, SetSelectedColor()
virtual void vtkMRMLDisplayNode::GetSelectedColor ( double &  ,
double &  ,
double &   
) [virtual]
virtual double vtkMRMLDisplayNode::GetSelectedSpecular ( ) [virtual]

Get the selected specular coef of the display node.

See also:
SelectedSpecular, SetSelectedSpecular()
virtual int vtkMRMLDisplayNode::GetShading ( ) [virtual]

Get the shading of the display node.

See also:
Shading, SetShading()
virtual int vtkMRMLDisplayNode::GetSliceIntersectionThickness ( ) [virtual]

Get the slice intersection thickness of the display node. In voxels.

See also:
SliceIntersectionThickness, SetSliceIntersectionThickness()
virtual int vtkMRMLDisplayNode::GetSliceIntersectionVisibility ( ) [virtual]
virtual double vtkMRMLDisplayNode::GetSpecular ( ) [virtual]

Get the specular coef of the display node.

See also:
Specular, SetSpecular()
virtual int vtkMRMLDisplayNode::GetTensorVisibility ( ) [virtual]

Get the tensor visibility of the display node.

See also:
TensorVisibility, SetTensorVisibility(), TensorVisibilityOn(), TensorVisibilityOff()
virtual vtkImageData* vtkMRMLDisplayNode::GetTextureImageData ( ) [virtual]

Get the texture image data.

See also:
TextureImageData, SetAndObserveTextureImageData()
virtual int vtkMRMLDisplayNode::GetVectorVisibility ( ) [virtual]

Get the vector visibility of the display node.

See also:
VectorVisibility, SetVectorVisibility(), VectorVisibilityOn(), VectorVisibilityOff()
std::vector< std::string > vtkMRMLDisplayNode::GetViewNodeIDs ( ) const [inline]

Get all View Node ID's for the view to display this node in. If empty, display in all views

See also:
ViewNodeIDs, GetNthViewNodeID(), AddViewNodeID()

Definition at line 670 of file vtkMRMLDisplayNode.h.

virtual int vtkMRMLDisplayNode::GetVisibility ( ) [virtual]

Get the visibility of the display node.

See also:
Visibility, SetVisibility(), VisibilityOn(), VisibilityOff()
virtual bool vtkMRMLDisplayNode::GetVisibility ( const char *  viewNodeID) [virtual]

Return true if the display node should be visible in the view node. To be visible in the view, the node needs to be visible (Visibility == 1) and the view ID must be in the ViewNodeIDs list or the list must be empty (visible in all views).

See also:
Visibility, ViewNodeIDs
virtual void vtkMRMLDisplayNode::InterpolateTextureOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::InterpolateTextureOn ( ) [virtual]

Set the texture interpolation of the display node.

See also:
InterpolateTexture, SetInterpolateTexture(), GetInterpolateTexture()
virtual int vtkMRMLDisplayNode::IsA ( const char *  type) [virtual]
bool vtkMRMLDisplayNode::IsDisplayableInView ( const char *  viewNodeID) const

Returns true if the viewNodeID is present in the ViewNodeId list or there is no ViewNodeId in the list (meaning all the views display the node)

See also:
ViewNodeIDs, IsViewNodeIDPresent(), AddViewNodeID()
static int vtkMRMLDisplayNode::IsTypeOf ( const char *  type) [static]
bool vtkMRMLDisplayNode::IsViewNodeIDPresent ( const char *  viewNodeID) const

True if the view node id is present in the viewnodeid list false if not found

See also:
ViewNodeIDs, IsDisplayableInView(), AddViewNodeID()
virtual void vtkMRMLDisplayNode::LightingOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::LightingOn ( ) [virtual]

Enable/Disable the lighting of the display node.

See also:
Lighting, SetLighting(), GetLighting()
void vtkMRMLDisplayNode::operator= ( const vtkMRMLDisplayNode ) [protected]
void vtkMRMLDisplayNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkMRMLDisplayNode::ProcessMRMLEvents ( vtkObject *  caller,
unsigned long  event,
void *  callData 
) [virtual]
virtual void vtkMRMLDisplayNode::ReadXMLAttributes ( const char **  atts) [virtual]
void vtkMRMLDisplayNode::RemoveAllViewNodeIDs ( )

Remove All View Node IDs for the views to display this node in.

See also:
ViewNodeIDs, AddViewNodeID(), RemoveViewNodeID()
void vtkMRMLDisplayNode::RemoveViewNodeID ( char *  viewNodeID)

Remove View Node ID for the view to display this node in.

See also:
ViewNodeIDs, AddViewNodeID(), RemoveAllViewNodeIDs()
static vtkMRMLDisplayNode* vtkMRMLDisplayNode::SafeDownCast ( vtkObject *  o) [static]
virtual void vtkMRMLDisplayNode::ScalarVisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::ScalarVisibilityOn ( ) [virtual]

Set the scalar visibility of the display node.

See also:
ScalarVisibility, SetScalarVisibility(), GetScalarVisibility
virtual void vtkMRMLDisplayNode::SetActiveAttributeLocation ( int  ) [virtual]

Set the active attribute location of the display node. vtkAssignAttribute::POINT_DATA by default.

See also:
ActiveAttributeLocation, GetActiveAttributeLocation()

Reimplemented in vtkMRMLModelDisplayNode.

virtual void vtkMRMLDisplayNode::SetActiveScalarName ( const char *  scalarName) [virtual]

Set the active scalar name of the display node.

See also:
ActiveScalarName, GetActiveScalarName()

Reimplemented in vtkMRMLModelDisplayNode.

virtual void vtkMRMLDisplayNode::SetAmbient ( double  ) [virtual]

Set the ambient coef of the display node.

See also:
Ambient, GetAmbient()
virtual void vtkMRMLDisplayNode::SetAndObserveColorNodeID ( const char *  ColorNodeID) [virtual]

Set and observe color node of the displaty node.

See also:
ColorNodeID, GetColorNodeID()
void vtkMRMLDisplayNode::SetAndObserveColorNodeID ( const std::string &  ColorNodeID)

Set and observe color node of the displaty node. Utility method that conveniently takes a string instead of a char*

See also:
ColorNodeID, GetColorNodeID()
void vtkMRMLDisplayNode::SetAndObserveTextureImageData ( vtkImageData *  ImageData)

Set and observe the texture image data.

See also:
TextureImageData, GetTextureImageData()
virtual void vtkMRMLDisplayNode::SetAutoScalarRange ( int  ) [virtual]

Set the auto scalar range flag of the display node.

See also:
AutoScalarRange, GetAutoScalarRange(), AutoScalarRangeOn(), AutoScalarRangeOff()
virtual void vtkMRMLDisplayNode::SetBackfaceCulling ( int  ) [virtual]

Set the backface culling of the display node.

See also:
BackfaceCulling, GetBackfaceCulling(), BackfaceCullingOn(), BackfaceCullingOff()
virtual void vtkMRMLDisplayNode::SetClipping ( int  ) [virtual]

Set the clipping of the display node.

See also:
Clipping, GetClipping(), ClippingOn(), ClippingOff()
virtual void vtkMRMLDisplayNode::SetColor ( double  [3]) [virtual]
virtual void vtkMRMLDisplayNode::SetColor ( double  ,
double  ,
double   
) [virtual]

Set the color of the display node.

See also:
Color, GetColor()
virtual void vtkMRMLDisplayNode::SetColorNodeInternal ( vtkMRMLColorNode newColorNode) [protected, virtual]

Internal function to set the color node. Called by SetColorNodeID().

See also:
SetColorNodeID(), ColorNode, ColorNodeID

Reimplemented in vtkMRMLScalarVolumeDisplayNode.

virtual void vtkMRMLDisplayNode::SetDiffuse ( double  ) [virtual]

Set the diffuse coef of the display node.

See also:
Diffuse, GetDiffuse()
virtual void vtkMRMLDisplayNode::SetEdgeColor ( double  ,
double  ,
double   
) [virtual]

Set the edge color of the display node.

See also:
EdgeColor, GetEdgeColor()
virtual void vtkMRMLDisplayNode::SetEdgeColor ( double  [3]) [virtual]
virtual void vtkMRMLDisplayNode::SetEdgeVisibility ( int  ) [virtual]

Set the visibility of the edges.

See also:
EdgeVisibility, GetEdgeVisibility()
virtual void vtkMRMLDisplayNode::SetFrontfaceCulling ( int  ) [virtual]

Set the backface culling of the display node.

See also:
FrontfaceCulling, GetFrontfaceCulling(), FrontfaceCullingOn(), FrontfaceCullingOff()
virtual void vtkMRMLDisplayNode::SetInterpolateTexture ( int  ) [virtual]

Set the texture interpolation of the display node.

See also:
InterpolateTexture, GetInterpolateTexture(), InterpolateTextureOn(), InterpolateTextureOff()
virtual void vtkMRMLDisplayNode::SetInterpolation ( int  ) [virtual]

Set the interpolation of the surface.

See also:
Interpolation, GetInterpolation()
virtual void vtkMRMLDisplayNode::SetLighting ( int  ) [virtual]

Enable/Disable lighting of the display node.

See also:
Lighting, GetLighting(), LightingOn(), LightingOff()
virtual void vtkMRMLDisplayNode::SetLineWidth ( double  ) [virtual]

Set the width of lines.

See also:
LineWidth, GetLineWidth()
virtual void vtkMRMLDisplayNode::SetOpacity ( double  ) [virtual]

Set the opacity coef of the display node.

See also:
Opacity, GetOpacity()
virtual void vtkMRMLDisplayNode::SetPointSize ( double  ) [virtual]

Set the diameter of points.

See also:
PointSize, GetPointSize()
virtual void vtkMRMLDisplayNode::SetPower ( double  ) [virtual]

Set the specular power coef of the display node.

See also:
Power, GetPower()
virtual void vtkMRMLDisplayNode::SetRepresentation ( int  ) [virtual]

Set the representation of the surface.

See also:
Representation, GetRepresentation()
void vtkMRMLDisplayNode::SetScalarRange ( double  [2])
virtual void vtkMRMLDisplayNode::SetScalarRange ( double  ,
double   
) [virtual]

Set the scalar range of the display node.

See also:
ScalarRange, GetScalarRange()
virtual void vtkMRMLDisplayNode::SetScalarVisibility ( int  ) [virtual]

Set the scalar visibility of the display node.

See also:
ScalarVisibility, GetScalarVisibility(), ScalarVisibilityOn(), ScalarVisibilityOff()
virtual void vtkMRMLDisplayNode::SetSceneReferences ( ) [virtual]

Mark the color and views nodes as references.

Reimplemented from vtkMRMLNode.

Reimplemented in vtkMRMLGlyphableVolumeDisplayNode, vtkMRMLNCIMultiVolumeRayCastVolumeRenderingDisplayNode, and vtkMRMLVolumeRenderingDisplayNode.

virtual void vtkMRMLDisplayNode::SetSelectedAmbient ( double  ) [virtual]

Set the selected ambient coef of the display node.

See also:
SelectedAmbient, GetSelectedAmbient()
virtual void vtkMRMLDisplayNode::SetSelectedColor ( double  ,
double  ,
double   
) [virtual]

Set the selected color of the display node.

See also:
SelectedColor, GetSelectedColor()
virtual void vtkMRMLDisplayNode::SetSelectedColor ( double  [3]) [virtual]
virtual void vtkMRMLDisplayNode::SetSelectedSpecular ( double  ) [virtual]

Set the selected specular coef of the display node.

See also:
SelectedSpecular, GetSelectedSpecular()
virtual void vtkMRMLDisplayNode::SetShading ( int  ) [virtual]

Set the shading mode (None, Gouraud, Flat) of the display node.

See also:
Shading, GetShading()
virtual void vtkMRMLDisplayNode::SetSliceIntersectionThickness ( int  ) [virtual]

Set the slice intersection thickness of the display node. In voxels.

See also:
SliceIntersectionThickness, GetSliceIntersectionThickness()
virtual void vtkMRMLDisplayNode::SetSliceIntersectionVisibility ( int  ) [virtual]
virtual void vtkMRMLDisplayNode::SetSpecular ( double  ) [virtual]

Set the specular coef of the display node.

See also:
Specular, GetSpecular()
virtual void vtkMRMLDisplayNode::SetTensorVisibility ( int  ) [virtual]

Set the tensor visibility of the display node.

See also:
TensorVisibility, GetTensorVisibility(), TensorVisibilityOn(), TensorVisibilityOff()
virtual void vtkMRMLDisplayNode::SetTextureImageData ( vtkImageData *  imageData) [protected, virtual]

Internal function to set the texture image data. Called by SetAndObserveTextureImageData().

See also:
TextureImageData, SetAndObserveTextureImageData()
virtual void vtkMRMLDisplayNode::SetVectorVisibility ( int  ) [virtual]

Set the vector visibility of the display node.

See also:
VectorVisibility, GetVectorVisibility(), VectorVisibilityOn(), VectorVisibilityOff()
virtual void vtkMRMLDisplayNode::SetVisibility ( int  ) [virtual]

Set the visibility of the display node.

See also:
Visibility, GetVisibility(), VisibilityOn(), VisibilityOff()
virtual void vtkMRMLDisplayNode::SliceIntersectionVisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::SliceIntersectionVisibilityOn ( ) [virtual]

Set the slice intersection visibility of the display node.

See also:
SliceIntersectionVisibility, SetSliceIntersectionVisibility(), GetSliceIntersectionVisibility(),
virtual void vtkMRMLDisplayNode::TensorVisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::TensorVisibilityOn ( ) [virtual]

Set the tensor visibility of the display node.

See also:
TensorVisibility, SetTensorVisibility(), GetTensorVisibility
virtual void vtkMRMLDisplayNode::UpdateReferenceID ( const char *  oldID,
const char *  newID 
) [virtual]
virtual void vtkMRMLDisplayNode::UpdateReferences ( ) [virtual]
virtual void vtkMRMLDisplayNode::UpdateScene ( vtkMRMLScene scene) [virtual]
virtual void vtkMRMLDisplayNode::VectorVisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::VectorVisibilityOn ( ) [virtual]

Set the vector visibility of the display node.

See also:
VectorVisibility, SetVectorVisibility(), GetVectorVisibility
virtual void vtkMRMLDisplayNode::VisibilityOff ( ) [virtual]
virtual void vtkMRMLDisplayNode::VisibilityOn ( ) [virtual]

Set the visibility of the display node.

See also:
Visibility, SetVisibility(), GetVisibility(),
virtual void vtkMRMLDisplayNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Member Data Documentation

This property controls on which attribute the ActiveScalarName applies. Typically vtkAssignAttribute::POINT_DATA or vtkAssignAttribute::CELL_DATA. Default to vtkAssignAttribute::POINT_DATA

See also:
SetActiveAttributeLocation(), GetActiveAttributeLocation(), ActiveScalarName

Definition at line 459 of file vtkMRMLDisplayNode.h.

Active vtkDataSetAttributes::Scalars field name for the ActiveAttributeLocation array. This is typically used to specify what field array is the color array that needs to be used by the VTK mappers. No active scalar name by default other than the default polydata.

See also:
SetActiveScalarName(), GetActiveScalarName(), ActiveAttributeLocation

Definition at line 453 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Ambient [protected]

Ambient of the surface expressed as a number from 0 to 1. 0. by default.

See also:
SetAmbient(), GetAmbient(), Color, SelectedAmbient, Diffuse, Specular, Power

Definition at line 470 of file vtkMRMLDisplayNode.h.

Indicates whether to use scalar range from polydata or the one specidied by ScalarRange. Auto (1) by default.

See also:
SetAutoScalarRange(), GetAutoScalarRange(), AutoScalarRangeOn(), AutoScalarRangeOff(), ScalarRange

Definition at line 616 of file vtkMRMLDisplayNode.h.

Indicates whether to cull (not render) the backface of the surface. 1 by default.

See also:
SetBackfaceCulling(), GetBackfaceCulling(), BackfaceCullingOn(), BackfaceCullingOff(), FrontfaceCulling, Visibility, Clipping

Definition at line 588 of file vtkMRMLDisplayNode.h.

Specifies whether to clip the surface with the slice planes. 0 by default.

See also:
SetClipping(), GetClipping(), ClippingOn(), ClippingOff() Visibility, EdgeVisibility, SliceIntersectionVisibility

Definition at line 562 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Color[3] [protected]

Model's color in the format [r,g,b]. Gray (0.5, 0.5, 0.5) by default.

See also:
SetColor(), GetColor(), SelectedColor, EdgeColor, Ambient, Diffuse, Specular, Power, ColorNodeID

Definition at line 635 of file vtkMRMLDisplayNode.h.

Cached instance of the color node ID found in the scene. The node is observed and when modified, vtkMRMLDisplayNode fires a ModifiedEvent too.

See also:
GetColorNode(), ProcessMRMLEvents() ColorNodeID

Definition at line 444 of file vtkMRMLDisplayNode.h.

String ID of the color MRML node. The color node LUT or Color transfer function is set to the VTK mappers. Note that anytime the color node is modified, the observing display node fires a Modified event. No color node by default.

See also:
SetColorNodeID(), GetColorNodeID(), ColorNode

Definition at line 439 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Diffuse [protected]

Diffuse of the surface expressed as a number from 0 to 1. 1. by default.

See also:
SetDiffuse(), GetDiffuse(), Color, Ambient, Specular, Power

Definition at line 475 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::EdgeColor[3] [protected]

The property controls the color of primitive edges (if edge visibility is enabled). Black (0,0,0) by default.

See also:
SetEdgeColor(), GetEdgeColor(), EdgeVisibility, Color, SelectedColor

Definition at line 641 of file vtkMRMLDisplayNode.h.

This property controls the visibility of edges. On some renderers it is possible to render the edges of geometric primitives separately from the interior. 0 by default.

See also:
SetEdgeVisibility(), GetEdgeVisibility(), EdgeColor, Visibility, SliceIntersectionVisibility

Definition at line 557 of file vtkMRMLDisplayNode.h.

Indicates whether to cull (not render) the frontface of the surface. 0 by default.

See also:
SetFrontfaceCulling(), GetFrontfaceCulling(), FrontfaceCullingOn(), FrontfaceCullingOff(), BackfaceCulling, Visibility, Clipping

Definition at line 582 of file vtkMRMLDisplayNode.h.

Indicates whether to use interpolate texture. Don't interpolate (0) by default.

See also:
SetInterpolateTexture(), GetInterpolateTexture(), InterpolateTextureOn(), InterpolateTextureOff(), TextureImageData

Definition at line 622 of file vtkMRMLDisplayNode.h.

Set the shading interpolation method for an object. Note that to use an interpolation other than FlatInterpolation, normals must be associated to the polydata (Gouraud and Phong are usually the same). GouraudInterpolation by default.

See also:
SetInterpolation(), GetInterpolation(), Lighting

Definition at line 538 of file vtkMRMLDisplayNode.h.

This property controls the lighting. 1 by default.

See also:
SetLighting(), GetLighting(), Interpolation, Shading

Definition at line 523 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::LineWidth [protected]

Width of a line. The width is expressed in screen units. The default is 1.0.

See also:
SetLineWidth(), GetLineWidth(), PointSize

Definition at line 505 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Opacity [protected]

Opacity of the surface expressed as a number from 0 to 1. Opaque (1.) by default.

See also:
SetOpacity(), GetOpacity(), Color, Visibility, Clipping

Definition at line 465 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::PointSize [protected]

Diameter of a point. The size is expressed in screen units. The default is 1.0.

See also:
SetPointSize(), GetPointSize(), LineWidth

Definition at line 500 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Power [protected]

Power of the surface specularity expressed as a number from 0 to 100. 1. by default.

See also:
SetPower(), GetPower(), Color, Ambient, Diffuse, Specular

Definition at line 485 of file vtkMRMLDisplayNode.h.

Control the surface geometry representation for the object. SurfaceRepresentation by default.

See also:
SetRepresentation(), GetRepresentation(), Interpolation

Definition at line 517 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::ScalarRange[2] [protected]

Range of scalar values to render rather than the single color designated by colorName. [0, 100] by default.

See also:
SetScalarRange(), GetScalarRange(), AutoScalarRange

Definition at line 629 of file vtkMRMLDisplayNode.h.

Indicates whether to render the scalar value associated with each polygon vertex. Hidden (0) by default.

See also:
SetScalarVisibility(), GetScalarVisibility(), ScalarVisibilityOn(), ScalarVisibilityOff(), Visibility, VectorVisibility, TensorVisibility

Definition at line 595 of file vtkMRMLDisplayNode.h.

Node's selected ambient. 0.4 by default.

See also:
SetSelectedAmbient(), GetSelectedAmbient(), SelectedColor, Ambient, SelectedSpecular

Definition at line 490 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::SelectedColor[3] [protected]

Node's selected ambient color (r,g,b). Red (1., 0., 0.) by default.

See also:
SetSelectedColor(), GetSelectedColor(), Color, EdgeColor, SelectedAmbient, SelectedSpecular

Definition at line 646 of file vtkMRMLDisplayNode.h.

Node's selected specular. 0.5 by default.

See also:
SetSelectedSpecular(), GetSelectedSpecular(), SelectedColor, SelectedAmbient, Specular

Definition at line 495 of file vtkMRMLDisplayNode.h.

int vtkMRMLDisplayNode::Shading [protected]

This property controls whether the shading is enabled/disabled. 1 by default.

See also:
SetShading(), GetShading(), Lighting

Definition at line 544 of file vtkMRMLDisplayNode.h.

Specifies how thick to show the intersections with slice planes if slice intersection visibility is on 1 voxel by default.

See also:
SetSliceIntersectionVisibility(), GetSliceIntersectionVisibility(), SliceIntersectionVisibilityOn(), SliceIntersectionVisibilityOff(), Visibility, SliceIntersectionVisibility,

Definition at line 576 of file vtkMRMLDisplayNode.h.

double vtkMRMLDisplayNode::Specular [protected]

Specular of the surface expressed as a number from 0 to 1. 0. by default.

See also:
SetSpecular(), GetSpecular(), Color, Ambient, Diffuse, Power

Definition at line 480 of file vtkMRMLDisplayNode.h.

Indicates whether to render the tensor value associated with each polygon vertex. Hidden (0) by default.

See also:
SetTensorVisibility(), GetTensorVisibility(), TensorVisibilityOn(), TensorVisibilityOff(), Visibility, ScalarVisibility, VectorVisibility

Definition at line 609 of file vtkMRMLDisplayNode.h.

vtkImageData* vtkMRMLDisplayNode::TextureImageData [protected]

Associated ImageData to apply as texture. The image data is observed and when modified, vtkMRMLDisplayNode fires a ModifiedEvent too. No texture (NULL) by default.

See also:
SetAndObserveTextureImageData(), GetTextureImageData() InterpolateTexture

Definition at line 430 of file vtkMRMLDisplayNode.h.

Indicates whether to render the vector value associated with each polygon vertex. Hidden (0) by default.

See also:
SetVectorVisibility(), GetVectorVisibility(), VectorVisibilityOn(), VectorVisibilityOff(), Visibility, ScalarVisibility, TensorVisibility

Definition at line 602 of file vtkMRMLDisplayNode.h.

std::vector< std::string > vtkMRMLDisplayNode::ViewNodeIDs [protected]

List of view node ID's for which the display node should be visible into. If the list is empty, it means the display node should be visible in all the view nodes. The displayable managers are responsible for reading this property. Visible in all views (empty) by default.

See also:
AddViewNodeID(), RemoveViewNodeID(), RemoveAllViewNodeIDs(), GetNumberOfViewNodeIDs(), GetViewNodeIDs(), IsViewNodeIDPresent(), IsDisplayableInView(), vtkMRMLAbstractDisplayableManager

Definition at line 657 of file vtkMRMLDisplayNode.h.

Indicates if the surface is visible. True by default.

See also:
SetVisibility(), GetVisibility(), VisibilityOn(), VisibilityOff() Color, Opacity, Clipping, EdgeVisibility, SliceIntersectionVisibility

Definition at line 550 of file vtkMRMLDisplayNode.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines