add vtk Properties
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <iomanip>
|
||||
#include <ostream>
|
||||
#include "Core/Object.h"
|
||||
|
||||
// vtk classes forward declaration //
|
||||
class vtkProp;
|
||||
@@ -41,7 +42,8 @@ class vtkRenderWindowInteractor;
|
||||
namespace uLib {
|
||||
namespace Vtk {
|
||||
|
||||
class Puppet {
|
||||
class Puppet : public uLib::Object {
|
||||
uLibTypeMacro(Puppet, uLib::Object)
|
||||
public:
|
||||
Puppet();
|
||||
~Puppet();
|
||||
@@ -90,6 +92,14 @@ public:
|
||||
|
||||
virtual void ConnectInteractor(class vtkRenderWindowInteractor *interactor);
|
||||
|
||||
// Serialization and Reflection
|
||||
template<class Archive>
|
||||
void serialize(Archive & ar, const unsigned int version);
|
||||
void save_override(Archive::xml_oarchive & ar, const unsigned int version);
|
||||
void save_override(Archive::hrt_oarchive & ar, const unsigned int version);
|
||||
void save_override(Archive::log_archive & ar, const unsigned int version);
|
||||
void save_override(Archive::text_oarchive & ar, const unsigned int version);
|
||||
|
||||
protected:
|
||||
void SetProp(vtkProp *prop);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user