23 #ifndef __vtkMRMLShaderPropertyNode_h 24 #define __vtkMRMLShaderPropertyNode_h 27 #include "vtkSlicerVolumeRenderingModuleMRMLExport.h" 33 class vtkShaderProperty;
47 void PrintSelf(ostream& os, vtkIndent indent)
override;
51 vtkGetObjectMacro(ShaderProperty, vtkShaderProperty);
54 vtkUniforms * GetVertexUniforms();
55 vtkUniforms * GetFragmentUniforms();
56 vtkUniforms * GetGeometryUniforms();
67 void WriteXML(ostream& of,
int indent)
override;
77 void ProcessMRMLEvents ( vtkObject *caller,
unsigned long event,
void *callData)
override;
94 vtkShaderProperty* ShaderProperty{
nullptr};
vtkMRMLShaderPropertyNode volume shader custom code and custom uniform variables defined by users or ...
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
virtual bool GetModifiedSinceRead()
vtkMRMLNode * CreateNodeInstance() override=0
MRMLNode methods.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
MRML node to represent a 3D surface model.
A superclass for other storage nodes.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Storage nodes
vtkIntArray * ObservedEvents
Events observed on the transfer functions.
vtkMRMLCopyContentMacro(vtkMRMLStorableNode)
Abstract Superclass for all specific types of MRML nodes.
void operator=(const vtkMRMLStorableNode &)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void PrintSelf(ostream &os, vtkIndent indent) override