14#ifndef MODELFLATTENREQUEST
15#define MODELFLATTENREQUEST
45 virtual DoneStatus do_task();
54 static void init_type() {
55 AsyncTask::init_type();
57 AsyncTask::get_class_type());
59 virtual TypeHandle get_type()
const {
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
65 static TypeHandle _type_handle;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_orig
Returns the original, unflattened node.
bool is_ready() const
Returns true if this request has completed, false if it is still pending.
PandaNode * get_model() const
Returns the flattened copy of the model.
ModelFlattenRequest(PandaNode *orig)
Create a new ModelFlattenRequest, and add it to the loader via load_async(), to begin an asynchronous...
A basic node of the scene graph or data graph.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...