|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationControlPointsNode.h>


Public Types | |
| enum | { ControlPointModifiedEvent = 19010 } |
| enum | { CP_SELECTED = vtkMRMLAnnotationNode::NUM_TEXT_ATTRIBUTE_TYPES, CP_VISIBLE, NUM_CP_ATTRIBUTE_TYPES } |
| enum | NumberingSchemes { SchemeMin = 0, UseID = SchemeMin, UseIndex, UsePrevious, SchemeMax = UsePrevious } |
| flags to determine how the next fiducial added to the list is labelled More... | |
| typedef vtkMRMLAnnotationNode | Superclass |
Public Member Functions | |
| int | AddControlPoint (double newControl[3], int selectedFlag, int visibleFlag) |
| virtual void | Copy (vtkMRMLNode *node) |
| Copy the node's attributes to this object. | |
| void | CreateAnnotationPointDisplayNode () |
| virtual vtkMRMLStorageNode * | CreateDefaultStorageNode () |
| virtual vtkMRMLNode * | CreateNodeInstance () |
| MRMLNode methods. | |
| void | DeleteControlPoint (int id) |
| vtkMRMLAnnotationPointDisplayNode * | GetAnnotationPointDisplayNode () |
| const char * | GetAttributeTypesEnumAsString (int val) |
| virtual const char * | GetClassName () |
| double * | GetControlPointCoordinates (vtkIdType id) |
| void | GetControlPointWorldCoordinates (vtkIdType id, double *point) |
| virtual const char * | GetNodeTagName () |
| Get node XML tag name (like Volume, Model) | |
| virtual int | GetNumberingScheme () |
| const char * | GetNumberingSchemeAsString (int g) |
| const char * | GetNumberingSchemeAsString () |
| Return a string representing the numbering scheme, set it from a string. | |
| int | GetNumberOfControlPoints () |
| virtual void | Initialize (vtkMRMLScene *mrmlScene) |
| virtual int | InvokePendingModifiedEvent () |
| virtual int | IsA (const char *type) |
| virtual void | Modified () |
| virtual void | PrintAnnotationInfo (ostream &os, vtkIndent indent, int titleFlag=1) |
| virtual void | ProcessMRMLEvents (vtkObject *, unsigned long, void *) |
| alternative method to propagate events generated in Display nodes | |
| virtual void | ReadXMLAttributes (const char **atts) |
| virtual void | ResetAnnotations () |
| int | SetControlPoint (int id, double newControl[3], int selectedFlag, int visibleFlag) |
| int | SetControlPoint (int id, double newControl[3]) |
| int | SetControlPointWorldCoordinates (int id, double newControl[3], int selectedFlag, int visibleFlag) |
| int | SetControlPointWorldCoordinates (int id, double newControl[3]) |
| virtual void | SetNumberingScheme (int numberingScheme) |
| Flag determining how to number the next added fiducial. | |
| void | SetNumberingSchemeFromString (const char *schemeString) |
| void | UpdateScene (vtkMRMLScene *scene) |
| virtual void | WriteCLI (std::ostringstream &ss, std::string prefix) |
| virtual void | WriteXML (ostream &of, int indent) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAnnotationControlPointsNode * | New () |
| static vtkMRMLAnnotationControlPointsNode * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| void | CreatePolyData () |
| void | operator= (const vtkMRMLAnnotationControlPointsNode &) |
| void | ResetControlPoints () |
| void | ResetControlPointsAttributesAll () |
| vtkMRMLAnnotationControlPointsNode () | |
| vtkMRMLAnnotationControlPointsNode (const vtkMRMLAnnotationControlPointsNode &) | |
| ~vtkMRMLAnnotationControlPointsNode () | |
Protected Attributes | |
| int | NumberingScheme |
| How the next annotation will be numbered in it's Text field. | |
Definition at line 17 of file vtkMRMLAnnotationControlPointsNode.h.
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
Definition at line 21 of file vtkMRMLAnnotationControlPointsNode.h.
| anonymous enum |
Definition at line 62 of file vtkMRMLAnnotationControlPointsNode.h.
| anonymous enum |
Definition at line 118 of file vtkMRMLAnnotationControlPointsNode.h.
flags to determine how the next fiducial added to the list is labelled
Definition at line 137 of file vtkMRMLAnnotationControlPointsNode.h.
| vtkMRMLAnnotationControlPointsNode::vtkMRMLAnnotationControlPointsNode | ( | ) | [protected] |
| vtkMRMLAnnotationControlPointsNode::~vtkMRMLAnnotationControlPointsNode | ( | ) | [inline, protected] |
Definition at line 160 of file vtkMRMLAnnotationControlPointsNode.h.
| vtkMRMLAnnotationControlPointsNode::vtkMRMLAnnotationControlPointsNode | ( | const vtkMRMLAnnotationControlPointsNode & | ) | [protected] |
| int vtkMRMLAnnotationControlPointsNode::AddControlPoint | ( | double | newControl[3], |
| int | selectedFlag, | ||
| int | visibleFlag | ||
| ) |
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
| virtual void vtkMRMLAnnotationControlPointsNode::Copy | ( | vtkMRMLNode * | node | ) | [inline, virtual] |
Copy the node's attributes to this object.
Description:
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
Definition at line 51 of file vtkMRMLAnnotationControlPointsNode.h.
| void vtkMRMLAnnotationControlPointsNode::CreateAnnotationPointDisplayNode | ( | ) |
| virtual vtkMRMLStorageNode* vtkMRMLAnnotationControlPointsNode::CreateDefaultStorageNode | ( | ) | [virtual] |
Create a storage node for this node type or NULL if it doesn't have one. Null by default. This must be overwritten by subclasses that use storage nodes.
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.
| virtual vtkMRMLNode* vtkMRMLAnnotationControlPointsNode::CreateNodeInstance | ( | ) | [virtual] |
MRMLNode methods.
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| void vtkMRMLAnnotationControlPointsNode::CreatePolyData | ( | ) | [protected] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationLinesNode.
| void vtkMRMLAnnotationControlPointsNode::DeleteControlPoint | ( | int | id | ) |
| vtkMRMLAnnotationPointDisplayNode* vtkMRMLAnnotationControlPointsNode::GetAnnotationPointDisplayNode | ( | ) |
| const char* vtkMRMLAnnotationControlPointsNode::GetAttributeTypesEnumAsString | ( | int | val | ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationLinesNode.
| virtual const char* vtkMRMLAnnotationControlPointsNode::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| double* vtkMRMLAnnotationControlPointsNode::GetControlPointCoordinates | ( | vtkIdType | id | ) |
Return the RAS coordinates of point ID. Try to limit calling this function because it is performance critical. Also, when queried again it resets all former pointers. Copying is therefore necessary.
| void vtkMRMLAnnotationControlPointsNode::GetControlPointWorldCoordinates | ( | vtkIdType | id, |
| double * | point | ||
| ) |
| virtual const char* vtkMRMLAnnotationControlPointsNode::GetNodeTagName | ( | ) | [inline, virtual] |
Get node XML tag name (like Volume, Model)
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
Definition at line 35 of file vtkMRMLAnnotationControlPointsNode.h.
| virtual int vtkMRMLAnnotationControlPointsNode::GetNumberingScheme | ( | ) | [virtual] |
| const char* vtkMRMLAnnotationControlPointsNode::GetNumberingSchemeAsString | ( | ) |
Return a string representing the numbering scheme, set it from a string.
| const char* vtkMRMLAnnotationControlPointsNode::GetNumberingSchemeAsString | ( | int | g | ) |
| int vtkMRMLAnnotationControlPointsNode::GetNumberOfControlPoints | ( | ) |
| virtual void vtkMRMLAnnotationControlPointsNode::Initialize | ( | vtkMRMLScene * | mrmlScene | ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationSplineNode, and vtkMRMLAnnotationStickyNode.
| virtual int vtkMRMLAnnotationControlPointsNode::InvokePendingModifiedEvent | ( | ) | [inline, virtual] |
Invokes any modified events that are 'pending', meaning they were generated while the DisableModifiedEvent flag was nonzero. Returns the old flag state.
Reimplemented from vtkMRMLNode.
Definition at line 81 of file vtkMRMLAnnotationControlPointsNode.h.
| virtual int vtkMRMLAnnotationControlPointsNode::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| static int vtkMRMLAnnotationControlPointsNode::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| virtual void vtkMRMLAnnotationControlPointsNode::Modified | ( | ) | [inline, virtual] |
overrides the vtkObject method so that all changes to the node which would normally generate a ModifiedEvent can be grouped into an 'atomic' operation. Typical usage would be to disable modified events, call a series of Set* operations, and then re-enable modified events and call InvokePendingModifiedEvent to invoke the event (if any of the Set* calls actually changed the values of the instance variables).
Reimplemented from vtkMRMLNode.
Definition at line 67 of file vtkMRMLAnnotationControlPointsNode.h.
| static vtkMRMLAnnotationControlPointsNode* vtkMRMLAnnotationControlPointsNode::New | ( | ) | [static] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| void vtkMRMLAnnotationControlPointsNode::operator= | ( | const vtkMRMLAnnotationControlPointsNode & | ) | [protected] |
| virtual void vtkMRMLAnnotationControlPointsNode::PrintAnnotationInfo | ( | ostream & | os, |
| vtkIndent | indent, | ||
| int | titleFlag = 1 |
||
| ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
| virtual void vtkMRMLAnnotationControlPointsNode::ProcessMRMLEvents | ( | vtkObject * | , |
| unsigned | long, | ||
| void * | |||
| ) | [virtual] |
alternative method to propagate events generated in Display nodes
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
| virtual void vtkMRMLAnnotationControlPointsNode::ReadXMLAttributes | ( | const char ** | atts | ) | [virtual] |
Read node attributes from XML file
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
| virtual void vtkMRMLAnnotationControlPointsNode::ResetAnnotations | ( | ) | [virtual] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationLinesNode.
| void vtkMRMLAnnotationControlPointsNode::ResetControlPoints | ( | ) | [protected] |
| void vtkMRMLAnnotationControlPointsNode::ResetControlPointsAttributesAll | ( | ) | [protected] |
| static vtkMRMLAnnotationControlPointsNode* vtkMRMLAnnotationControlPointsNode::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, vtkMRMLAnnotationSplineNode, vtkMRMLAnnotationStickyNode, and vtkMRMLAnnotationTextNode.
| int vtkMRMLAnnotationControlPointsNode::SetControlPoint | ( | int | id, |
| double | newControl[3] | ||
| ) |
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationROINode, and vtkMRMLAnnotationRulerNode.
| int vtkMRMLAnnotationControlPointsNode::SetControlPoint | ( | int | id, |
| double | newControl[3], | ||
| int | selectedFlag, | ||
| int | visibleFlag | ||
| ) |
Reimplemented in vtkMRMLAnnotationLinesNode.
| int vtkMRMLAnnotationControlPointsNode::SetControlPointWorldCoordinates | ( | int | id, |
| double | newControl[3] | ||
| ) |
| int vtkMRMLAnnotationControlPointsNode::SetControlPointWorldCoordinates | ( | int | id, |
| double | newControl[3], | ||
| int | selectedFlag, | ||
| int | visibleFlag | ||
| ) |
Reimplemented in vtkMRMLAnnotationLinesNode.
| virtual void vtkMRMLAnnotationControlPointsNode::SetNumberingScheme | ( | int | numberingScheme | ) | [virtual] |
Flag determining how to number the next added fiducial.
| void vtkMRMLAnnotationControlPointsNode::SetNumberingSchemeFromString | ( | const char * | schemeString | ) |
| void vtkMRMLAnnotationControlPointsNode::UpdateScene | ( | vtkMRMLScene * | scene | ) | [virtual] |
Finds the storage node and read the data
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
| virtual void vtkMRMLAnnotationControlPointsNode::WriteCLI | ( | std::ostringstream & | ss, |
| std::string | prefix | ||
| ) | [virtual] |
Write this node's information to a string for passing to a CLI, write out the prefix before each datum
| virtual void vtkMRMLAnnotationControlPointsNode::WriteXML | ( | ostream & | of, |
| int | indent | ||
| ) | [virtual] |
Write this node's information to a MRML file in XML format.
Reimplemented from vtkMRMLAnnotationNode.
Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.
int vtkMRMLAnnotationControlPointsNode::NumberingScheme [protected] |
How the next annotation will be numbered in it's Text field.
Definition at line 177 of file vtkMRMLAnnotationControlPointsNode.h.
1.7.4