MCPcopy Create free account
hub / github.com/Kitware/VTK / IsDirty

Method IsDirty

Views/Infovis/vtkDendrogramItem.cxx:204–223  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

202
203//------------------------------------------------------------------------------
204bool vtkDendrogramItem::IsDirty()
205{
206 if (this->Tree->GetNumberOfVertices() == 0)
207 {
208 return false;
209 }
210 if (this->MTime > this->DendrogramBuildTime)
211 {
212 return true;
213 }
214 if (this->PrunedTree->GetMTime() > this->DendrogramBuildTime)
215 {
216 return true;
217 }
218 if (this->Tree->GetMTime() > this->DendrogramBuildTime)
219 {
220 return true;
221 }
222 return false;
223}
224
225//------------------------------------------------------------------------------
226void vtkDendrogramItem::RebuildBuffers()

Callers 1

PrepareToPaintMethod · 0.95

Calls 2

GetNumberOfVerticesMethod · 0.80
GetMTimeMethod · 0.45

Tested by

no test coverage detected