Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkStateMachineContainer_h
14 #define mitkStateMachineContainer_h
16 #include "itkObject.h"
18 #include <vtkXMLParser.h>
20 #include "itkObjectFactory.h"
75 void StartElement(
const char *elementName,
const char **atts)
override;
79 void EndElement(
const char *elementName)
override;
85 std::string ReadXMLStringAttribut(std::string name,
const char **atts);
89 bool ReadXMLBooleanAttribut(std::string name,
const char **atts);
101 bool m_StartStateFound;
105 std::string m_Filename;
vtkTypeMacro(StateMachineContainer, vtkXMLParser)
void StartElement(const char *elementName, const char **atts) override
Derived from XMLReader.
bool LoadBehavior(const std::string &fileName, const us::Module *module)
Loads XML resource.
~StateMachineContainer() override
void EndElement(const char *elementName) override
Derived from XMLReader.
StateMachineState::Pointer GetStartState() const
Returns the StartState of the StateMachine.
Find image slices visible on a given plane.
static StateMachineContainer * New()
friend class InteractionStateMachine
std::vector< StateMachineState::Pointer > StateMachineCollectionType
This type holds all states of one statemachine.