------------------------------------------------------------------------------
| 172 | |
| 173 | //------------------------------------------------------------------------------ |
| 174 | vtkViewNode* vtkViewNode::GetFirstAncestorOfType(const char* type) |
| 175 | { |
| 176 | if (!this->Parent) |
| 177 | { |
| 178 | return nullptr; |
| 179 | } |
| 180 | if (this->Parent->IsA(type)) |
| 181 | { |
| 182 | return this->Parent; |
| 183 | } |
| 184 | return this->Parent->GetFirstAncestorOfType(type); |
| 185 | } |
| 186 | |
| 187 | //------------------------------------------------------------------------------ |
| 188 | void vtkViewNode::SetRenderable(vtkObject* obj) |
no test coverage detected