SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
This class is used to indicate VTK exists as a consumer of renderable geometry. More...
#include <Backend.h>
Public Types | |
using | format_t = vtkSmartPointer< vtkDataObject > |
![]() | |
using | index_t = std::size_t |
Public Member Functions | |
std::string | name () const override |
As a convenience (for serialization and presentation), each backend should provide a unique name. | |
![]() | |
virtual index_t | index () const |
Index is a compile-time intrinsic of the derived backend. It is used for disambiguation of backends. | |
This class is used to indicate VTK exists as a consumer of renderable geometry.
You may optionally construct the backend with a geometry provider and avoid the cost of dynamic casting each time geometry is requested for an object.