MCPcopy Create free account
hub / github.com/ImageEngine/cortex / className

Function className

src/IECoreVDB/bindings/IECoreVDBModule.cpp:65–69  ·  view source on GitHub ↗

openvdb/python/pyutil.h

Source from the content-addressed store, hash-verified

63
64// openvdb/python/pyutil.h
65std::string className( boost::python::object obj )
66{
67 std::string s = boost::python::extract<std::string>( obj.attr( "__class__" ).attr( "__name__" ) );
68 return s;
69}
70
71// openvdb/python/pyGrid.h
72boost::python::object getPyObjectFromGrid( const openvdb::GridBase::Ptr &grid )

Callers 1

getGridFromPyObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected