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

Method GetComponent

Rendering/Core/vtkGenericVertexAttributeMapping.cxx:147–155  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

145
146//------------------------------------------------------------------------------
147int vtkGenericVertexAttributeMapping::GetComponent(unsigned int index)
148{
149 if (index >= this->Internal->Mappings.size())
150 {
151 vtkErrorMacro("Invalid index " << index);
152 return 0;
153 }
154 return this->Internal->Mappings[index].Component;
155}
156
157//------------------------------------------------------------------------------
158int vtkGenericVertexAttributeMapping::GetTextureUnit(unsigned int index)

Callers 15

PrepareRenderMethod · 0.45
IntegrateMethod · 0.45
IntegrateMethod · 0.45
AddFaceMethod · 0.45
ReadReducedImageMethod · 0.45
PrepareRenderMethod · 0.45
ComputeVolumeOpacityMethod · 0.45
FindDataSetMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

TestRemoveActorsFunction · 0.36