Test() { // Create a 'direct' event dispatcher. directDispatcher = std::make_shared<EventDispatcher::DirectDispatcher>(); // Instantiate our member function handler. classWithMyEventMemberHandler = std::make_shared<ClassWithMyEventMemberHandler>(); SetupSubscriptions(); }
FaceObject::FaceObject(boost::shared_ptr<Scene> m) : Object(), m_group(0), m_curvedFaceInstance(0), m_planarFaceInstance(0), m_transform(0), m_curvedDeviceFlags(0), m_planarDeviceFlags(0), m_material(0), m_scene(m), m_faceIds(), m_curvedFaceFlags(), m_planarFaceFlags(), m_facesEnabledBuffer() { SetupSubscriptions(); }
PrimaryRayObject::PrimaryRayObject(boost::shared_ptr<Object> obj) : m_object(obj) { SetupSubscriptions(); }
PrimaryRayObject::PrimaryRayObject() : m_object() { SetupSubscriptions(); }
Plane::Plane(const WorldPoint& normal, const WorldPoint& p) : Object(), m_normal(normal), m_point(p) { SetupSubscriptions(); }
Plane::Plane() : Object(), m_normal(1.0, 0.0, 0.0), m_point(0.0, 0.0, 0.0) { SetupSubscriptions(); }