15 #ifndef __vtkMRMLModelDisplayNode_h    16 #define __vtkMRMLModelDisplayNode_h    23 class vtkAlgorithmOutput;
    24 class vtkAssignAttribute;
    29 class vtkUnstructuredGrid;
    40   void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
    56   virtual void WriteXML(ostream& of, 
int indent) VTK_OVERRIDE;
    65   virtual const 
char* GetNodeTagName() VTK_OVERRIDE {
return "ModelDisplay";}
    70   virtual void SetInputMeshConnection(vtkAlgorithmOutput* meshConnection);
    71   virtual void SetInputPolyDataConnection(vtkAlgorithmOutput* polyDataConnection);
    76   virtual vtkAlgorithmOutput* GetInputMeshConnection();
    77   virtual vtkAlgorithmOutput* GetInputPolyDataConnection();
    81   virtual vtkPointSet* GetInputMesh();
    82   virtual vtkPolyData* GetInputPolyData();
    83   virtual vtkUnstructuredGrid* GetInputUnstructuredGrid();
    92   virtual vtkPointSet* GetOutputMesh();
    93   virtual vtkPolyData* GetOutputPolyData();
    94   virtual vtkUnstructuredGrid* GetOutputUnstructuredGrid();
    99   virtual vtkAlgorithmOutput* GetOutputMeshConnection();
   100   virtual vtkAlgorithmOutput* GetOutputPolyDataConnection(); 
   120   vtkSetMacro(ThresholdEnabled,
bool);
   121   vtkBooleanMacro(ThresholdEnabled,
bool);
   126   vtkGetMacro(ThresholdEnabled,
bool);
   130   void SetThresholdRange(
double min, 
double max);
   131   void SetThresholdRange(
double range[2]);
   135   void GetThresholdRange(
double range[2]);
   136   double GetThresholdMin();
   137   double GetThresholdMax();
   142   vtkGetMacro(SliceDisplayMode, 
int);
   143   vtkSetMacro(SliceDisplayMode, 
int);
   144   void SetSliceDisplayModeToIntersection();
   145   void SetSliceDisplayModeToProjection();
   146   void SetSliceDisplayModeToDistanceEncodedProjection();
   149   static const char* GetSliceDisplayModeAsString(
int id);
   150   static int GetSliceDisplayModeFromString(
const char* name);
   156   virtual void SetAndObserveDistanceEncodedProjectionColorNodeID(
const char *colorNodeID);
   159   virtual const char* GetDistanceEncodedProjectionColorNodeID();
   170                                  void *callData) VTK_OVERRIDE;
   173   virtual void SetInputToMeshPipeline(vtkAlgorithmOutput* meshConnection);
   177   virtual void UpdateAssignedAttribute();
   180   virtual vtkDataArray* GetActiveScalarArray();
   183   virtual void UpdateScalarRange();
 vtkAssignAttribute * AssignAttribute
 
Show full model projected on the slice, colored by distance from slice plane. 
 
virtual void SetScalarRangeFlag(int)
 
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object. 
 
MRML node to represent a display property of 3D surface model. 
 
Show full model projected on the slice (similar to MIP view of images) 
 
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE
 
virtual void SetActiveScalarName(const char *)
 
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual. 
 
vtkThreshold * ThresholdFilter
 
Show model in slice view as intersection with slice. 
 
void operator=(const vtkMRMLDisplayNode &)
 
Abstract MRML node to represent color information. 
 
virtual void SetActiveAttributeLocation(int)
 
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
 
Abstract class that contains graphical display properties for displayable nodes. 
 
Abstract Superclass for all specific types of MRML nodes. 
 
vtkPassThrough * PassThrough
 
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE