bool HesperisIO::LsTransforms(std::vector<std::string > & dst) { HWorld grpWorld; HesperisFile::LsNames<HTransform>(dst, &grpWorld); grpWorld.close(); return true; }
bool HesperisIO::LsMeshes(std::vector<std::string > & dst) { HWorld grpWorld; HesperisFile::LsNames<HTriangleMeshGroup>(dst, &grpWorld); grpWorld.close(); return true; }
bool HesperisIO::LsCurves(std::vector<std::string > & dst) { HWorld grpWorld; HesperisFile::LsNames<HCurveGroup>(dst, &grpWorld); grpWorld.close(); return true; }
bool HesperisIO::LsCurves(std::vector<std::string > & dst) { HWorld grpWorld; LsCurves(dst, &grpWorld); grpWorld.close(); return true; }
bool HesperisCurveIO::ReadCurves(HesperisFile * file, MObject &target) { MGlobal::displayInfo("opium read curve"); HWorld grpWorld; ReadTransformAnd<HCurveGroup, CurveGroup, HesperisCurveCreator>(&grpWorld, target); grpWorld.close(); return true; }
bool HesperisIO::ReadMeshes(HesperisFile * file, MObject &target) { MGlobal::displayInfo("opium read mesh"); HWorld grpWorld; ReadTransforms(&grpWorld, target); // ReadMeshes(&grpWorld, target); grpWorld.close(); return true; }
QuatJulia::QuatJulia(Parameter * param) { m_c = Float4(-0.02,-0.0156,-0.563,-0.4); m_numIter = 10; m_numGrid = 360; m_scaling = 48.f; HObject::FileIO.open(param->outFileName().c_str(), HDocument::oCreate); m_tree = new sdb::HWorldGrid<sdb::HInnerGrid<hdata::TFloat, 4, 256 >, cvx::Sphere >("/grid"); m_tree->setGridSize(m_scaling / 32.f); generate(); m_tree->save(); m_tree->close(); HWorld gworld; gworld.save(); gworld.close(); HObject::FileIO.close(); }