57 |
|
//IgnoreVisitor will turn on the ignoring flag of the stuntdouble |
58 |
|
class IgnoreVisitor : public BaseVisitor{ |
59 |
|
public: |
60 |
< |
IgnoreVisitor() : BaseVisitor() {visitorName = "IgnoreVisitor";} |
60 |
> |
IgnoreVisitor(SimInfo* info) : BaseVisitor() {this->info = info; visitorName = "IgnoreVisitor";} |
61 |
|
|
62 |
|
virtual void visit(Atom* atom); |
63 |
|
virtual void visit(DirectionalAtom* datom); |
71 |
|
bool isIgnoreType(const std::string& name); |
72 |
|
void internalVisit(StuntDouble* sd); |
73 |
|
std::set<std::string> itList; //ignore type list; |
74 |
+ |
SimInfo* info; |
75 |
|
}; |
76 |
|
|
77 |
|
|
126 |
|
|
127 |
|
protected: |
128 |
|
void internalVisit(StuntDouble* sd); |
129 |
< |
bool isIgnore(StuntDouble* sd); |
129 |
> |
bool isSelected(StuntDouble* sd); |
130 |
|
|
131 |
|
private: |
132 |
|
SimInfo* info; |