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

Method GetTexture

IO/Geometry/vtkGLTFReader.cxx:1031–1040  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1029
1030//------------------------------------------------------------------------------
1031vtkSmartPointer<vtkGLTFTexture> vtkGLTFReader::GetTexture(vtkIdType textureIndex)
1032{
1033 if (textureIndex < 0 || textureIndex >= static_cast<vtkIdType>(this->Textures.size()))
1034 {
1035 vtkErrorMacro("Out of range texture index");
1036 vtkNew<vtkGLTFTexture> t;
1037 return t;
1038 }
1039 return this->Textures[textureIndex];
1040}
1041
1042//------------------------------------------------------------------------------
1043void vtkGLTFReader::SetScene(const std::string& scene)

Callers 15

NeedsTextureExportFunction · 0.45
WriteMeshFunction · 0.45
WriteTextureFunction · 0.45
WriteDataMethod · 0.45
WriteDataMethod · 0.45
WriteActorMethod · 0.45
WriteTextureFunction · 0.45
DrawColoredPolygonMethod · 0.45
ApplyBrushStateToNodeMethod · 0.45
WriteDataObjectMethod · 0.45
WriteAnActorMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 3

AddActorsFunction · 0.36
AddActorsFunction · 0.36
TestImportOBJFunction · 0.36