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

Method SetOutputWholeExtent

Filters/General/vtkStructuredGridClip.cxx:57–80  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

55
56//------------------------------------------------------------------------------
57void vtkStructuredGridClip::SetOutputWholeExtent(int extent[6], vtkInformation* outInfo)
58{
59 int idx;
60 int modified = 0;
61
62 for (idx = 0; idx < 6; ++idx)
63 {
64 if (this->OutputWholeExtent[idx] != extent[idx])
65 {
66 this->OutputWholeExtent[idx] = extent[idx];
67 modified = 1;
68 }
69 }
70 this->Initialized = 1;
71 if (modified)
72 {
73 this->Modified();
74 if (!outInfo)
75 {
76 outInfo = this->GetExecutive()->GetOutputInformation(0);
77 }
78 outInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), extent, 6);
79 }
80}
81
82//------------------------------------------------------------------------------
83void vtkStructuredGridClip::SetOutputWholeExtent(

Callers 8

RequestInformationMethod · 0.95
testContour3DAllMethod · 0.45
testContour2DAllMethod · 0.45
testSync3dAllMethod · 0.45
ExtractImageDataMethod · 0.45

Calls 4

ModifiedMethod · 0.45
GetOutputInformationMethod · 0.45
GetExecutiveMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected