Esempio n. 1
0
bool HesperisIO::LsTransforms(std::vector<std::string > & dst)
{
    HWorld grpWorld;
    HesperisFile::LsNames<HTransform>(dst, &grpWorld);
    grpWorld.close();
    return true;
}
Esempio n. 2
0
bool HesperisIO::LsMeshes(std::vector<std::string > & dst)
{
    HWorld grpWorld;
    HesperisFile::LsNames<HTriangleMeshGroup>(dst, &grpWorld);
    grpWorld.close();
    return true;
}
Esempio n. 3
0
bool HesperisIO::LsCurves(std::vector<std::string > & dst)
{
    HWorld grpWorld;
    HesperisFile::LsNames<HCurveGroup>(dst, &grpWorld);
    grpWorld.close();
    return true;   
}
Esempio n. 4
0
bool HesperisIO::LsCurves(std::vector<std::string > & dst)
{
    HWorld grpWorld;
    LsCurves(dst, &grpWorld);
    grpWorld.close();
    return true;   
}
Esempio n. 5
0
bool HesperisCurveIO::ReadCurves(HesperisFile * file, MObject &target)
{
	MGlobal::displayInfo("opium read curve");
    HWorld grpWorld;
    ReadTransformAnd<HCurveGroup, CurveGroup, HesperisCurveCreator>(&grpWorld, target);
    grpWorld.close();
    return true;
}
Esempio n. 6
0
bool HesperisIO::ReadMeshes(HesperisFile * file, MObject &target)
{
    MGlobal::displayInfo("opium read mesh");
    HWorld grpWorld;
    ReadTransforms(&grpWorld, target);
    // ReadMeshes(&grpWorld, target);
    grpWorld.close();
    return true;
}
Esempio n. 7
0
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();
}