40 InvisibleState::InvisibleState(
const std::string& sname,
41 const std::string& stitle)
42 : State(sname, stitle)
44 m_Type = kInvisibleState;
47 InvisibleState::InvisibleState() : State() {}
49 InvisibleState::~InvisibleState() {}
51 InvisibleState& InvisibleState::Empty(){
52 return InvisibleState::m_Empty;
59 void InvisibleState::AddFrame(
const RestFrame& frame){
63 if(frame.IsInvisibleFrame() &&
69 void InvisibleState::SetParentJigsaw(Jigsaw& jigsaw){
71 if(jigsaw.IsInvisibleJigsaw())
72 State::SetParentJigsaw(jigsaw);
75 void InvisibleState::SetChildJigsaw(Jigsaw& jigsaw){
77 if(jigsaw.IsInvisibleJigsaw())
78 State::SetChildJigsaw(jigsaw);
81 double InvisibleState::GetMinimumMass()
const {
83 return static_cast<const InvisibleJigsaw&
>(GetChildJigsaw()).GetMinimumMass();
85 return static_cast<const InvisibleRecoFrame&>(m_Frames[0]).GetMinimumMass();
90 InvisibleState InvisibleState::m_Empty;
bool IsEmpty() const
Checks whether this is default (empty) instance of class.
virtual void Clear()
Clears RFBase of all connections to other objects.
abstract base class for all Frame objects
virtual void Clear()
Clears RFBase of all connections to other objects.