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

Method GetBlockVisibility

Rendering/Core/vtkCompositePolyDataMapper.cxx:1003–1016  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1001
1002//------------------------------------------------------------------------------
1003bool vtkCompositePolyDataMapper::GetBlockVisibility(unsigned int index)
1004{
1005 if (this->CompositeAttributes)
1006 {
1007 auto dataObj =
1008 vtkCompositeDataDisplayAttributes::DataObjectFromIndex(index, this->GetInputDataObject(0, 0));
1009 if (dataObj)
1010 {
1011 return this->CompositeAttributes->GetBlockVisibility(dataObj);
1012 }
1013 }
1014
1015 return true;
1016}
1017
1018//------------------------------------------------------------------------------
1019void vtkCompositePolyDataMapper::RemoveBlockVisibility(unsigned int index)

Callers 10

WriteDataMethod · 0.45
RenderChildrenMethod · 0.45
RenderBlockMethod · 0.45
SetColorAndOpacityFunction · 0.45
BuildRenderValuesMethod · 0.45
BuildRenderValuesMethod · 0.45
RenderChildrenMethod · 0.45
SynchronizeBlockMethod · 0.45

Calls 1

GetInputDataObjectMethod · 0.80

Tested by

no test coverage detected