|
Blender
V2.93
|
Functions | |
| int | load (istream &in, Vec3r &v) |
| int | load (istream &in, Polygon3r &p) |
| int | load (istream &in, FrsMaterial &m) |
| static int | load (istream &in, ViewShape *vs) |
| static int | load (istream &in, FEdge *fe) |
| static int | load (istream &in, SVertex *sv) |
| static int | load (istream &in, ViewEdge *ve) |
| static int | load (istream &in, ViewVertex *vv) |
| int | save (ostream &out, const Vec3r &v) |
| int | save (ostream &out, const Polygon3r &p) |
| int | save (ostream &out, const FrsMaterial &m) |
| static int | save (ostream &out, ViewShape *vs) |
| static int | save (ostream &out, FEdge *fe) |
| static int | save (ostream &out, SVertex *sv) |
| static int | save (ostream &out, ViewEdge *ve) |
| static int | save (ostream &out, ViewVertex *vv) |
Variables | |
| static ViewMap * | g_vm |
|
static |
Definition at line 221 of file ViewMapIO.cpp.
References Freestyle::ViewMap::FEdges(), g_vm, Freestyle::FEdge::isSmooth(), load(), READ, READ_IF_NON_NULL, Freestyle::FEdge::setaFace(), Freestyle::FEdgeSharp::setaFrsMaterialIndex(), Freestyle::FEdgeSharp::setbFrsMaterialIndex(), Freestyle::FEdgeSmooth::setFrsMaterialIndex(), Freestyle::FEdge::setId(), Freestyle::FEdge::setNature(), Freestyle::FEdge::setNextEdge(), Freestyle::FEdgeSmooth::setNormal(), Freestyle::FEdgeSharp::setNormalA(), Freestyle::FEdgeSharp::setNormalB(), Freestyle::FEdge::setOccludeeEmpty(), Freestyle::FEdge::setOccludeeIntersection(), Freestyle::FEdge::setPreviousEdge(), Freestyle::FEdge::setVertexA(), Freestyle::FEdge::setVertexB(), Freestyle::FEdge::setViewEdge(), Freestyle::ViewMap::SVertices(), v, and Freestyle::ViewMap::ViewEdges().
|
inline |
Definition at line 108 of file ViewMapIO.cpp.
References READ, Freestyle::FrsMaterial::setAmbient(), Freestyle::FrsMaterial::setDiffuse(), Freestyle::FrsMaterial::setEmission(), Freestyle::FrsMaterial::setShininess(), and Freestyle::FrsMaterial::setSpecular().
|
inline |
Definition at line 84 of file ViewMapIO.cpp.
References load(), READ, Freestyle::Geometry::Polygon< Point >::setId(), Freestyle::Geometry::Polygon< Point >::setVertices(), and v.
|
static |
Definition at line 340 of file ViewMapIO.cpp.
References Freestyle::SVertex::AddFEdge(), Freestyle::SVertex::AddNormal(), Freestyle::ViewMap::FEdges(), g_vm, load(), READ, READ_IF_NON_NULL, Freestyle::SVertex::setId(), Freestyle::SVertex::setPoint2D(), Freestyle::SVertex::setPoint3D(), Freestyle::SVertex::setShape(), Freestyle::SVertex::setViewVertex(), size(), Freestyle::ViewShape::sshape(), v, Freestyle::ViewMap::ViewShapes(), and Freestyle::ViewMap::ViewVertices().
|
inline |
Definition at line 61 of file ViewMapIO.cpp.
References Freestyle::ViewMapIO::Options::FLOAT_VECTORS, Freestyle::ViewMapIO::Options::getFlags(), READ, and v.
Referenced by load(), and Freestyle::ViewMapIO::load().
|
static |
Definition at line 394 of file ViewMapIO.cpp.
References Freestyle::ViewEdge::AddOccluder(), Freestyle::ViewMap::FEdges(), g_vm, Freestyle::ViewMapIO::Options::getFlags(), Freestyle::ViewMapIO::Options::NO_OCCLUDERS, READ, READ_IF_NON_NULL, Freestyle::ViewEdge::setA(), Freestyle::ViewEdge::setaShape(), Freestyle::ViewEdge::setB(), Freestyle::ViewEdge::setFEdgeA(), Freestyle::ViewEdge::setFEdgeB(), Freestyle::ViewEdge::setId(), Freestyle::ViewEdge::setNature(), Freestyle::ViewEdge::setQI(), Freestyle::ViewEdge::setShape(), size(), Freestyle::ViewMap::ViewShapes(), and Freestyle::ViewMap::ViewVertices().
|
static |
Definition at line 144 of file ViewMapIO.cpp.
References Freestyle::SShape::AddChain(), Freestyle::SShape::AddEdge(), Freestyle::ViewShape::AddEdge(), Freestyle::SShape::AddNewVertex(), Freestyle::ViewShape::AddVertex(), Freestyle::ViewMap::FEdges(), g_vm, load(), READ, READ_IF_NON_NULL, Freestyle::SShape::setFrsMaterials(), Freestyle::SShape::setId(), Freestyle::SShape::setImportance(), size(), Freestyle::ViewShape::sshape(), Freestyle::ViewMap::SVertices(), Freestyle::ViewMap::ViewEdges(), and Freestyle::ViewMap::ViewVertices().
|
static |
Definition at line 461 of file ViewMapIO.cpp.
References Freestyle::NonTVertex::AddViewEdge(), g_vm, Freestyle::ViewVertex::getNature(), Freestyle::Nature::NON_T_VERTEX, READ, READ_IF_NON_NULL, Freestyle::TVertex::setBackEdgeA(), Freestyle::TVertex::setBackEdgeB(), Freestyle::TVertex::setBackSVertex(), Freestyle::TVertex::setFrontEdgeA(), Freestyle::TVertex::setFrontEdgeB(), Freestyle::TVertex::setFrontSVertex(), Freestyle::TVertex::setId(), Freestyle::ViewVertex::setNature(), Freestyle::NonTVertex::setSVertex(), size(), Freestyle::ViewMap::SVertices(), Freestyle::Nature::T_VERTEX, and Freestyle::ViewMap::ViewEdges().
|
inline |
Definition at line 589 of file ViewMapIO.cpp.
References Freestyle::FrsMaterial::ambient(), Freestyle::FrsMaterial::diffuse(), Freestyle::FrsMaterial::emission(), Freestyle::FrsMaterial::shininess(), Freestyle::FrsMaterial::specular(), and WRITE.
|
inline |
Definition at line 567 of file ViewMapIO.cpp.
References Freestyle::Geometry::Polygon< Point >::getId(), Freestyle::Geometry::Polygon< Point >::getVertices(), save(), and WRITE.
|
inline |
Definition at line 542 of file ViewMapIO.cpp.
References Freestyle::ViewMapIO::Options::FLOAT_VECTORS, Freestyle::ViewMapIO::Options::getFlags(), v, and WRITE.
Referenced by GPU_offscreen_bind(), save(), and Freestyle::ViewMapIO::save().
|
static |
Definition at line 698 of file ViewMapIO.cpp.
References Freestyle::FEdge::aFace(), Freestyle::FEdgeSharp::aFrsMaterialIndex(), Freestyle::FEdgeSharp::bFrsMaterialIndex(), Freestyle::FEdgeSmooth::frs_materialIndex(), Freestyle::Id::getFirst(), Freestyle::FEdge::getId(), Freestyle::FEdge::getNature(), Freestyle::FEdge::getOccludeeEmpty(), Freestyle::FEdge::getOccludeeIntersection(), Freestyle::Id::getSecond(), Freestyle::FEdge::isSmooth(), Freestyle::FEdge::nextEdge(), Freestyle::FEdgeSmooth::normal(), Freestyle::FEdgeSharp::normalA(), Freestyle::FEdgeSharp::normalB(), Freestyle::FEdge::previousEdge(), save(), Freestyle::FEdge::vertexA(), Freestyle::FEdge::vertexB(), Freestyle::FEdge::viewedge(), WRITE, and WRITE_IF_NON_NULL.
|
static |
Definition at line 784 of file ViewMapIO.cpp.
References Freestyle::SVertex::fedges(), Freestyle::SVertex::fedges_begin(), Freestyle::SVertex::fedges_end(), Freestyle::Id::getFirst(), Freestyle::SVertex::getId(), Freestyle::Id::getSecond(), Freestyle::SVertex::normals(), Freestyle::SVertex::point2D(), Freestyle::SVertex::point3D(), save(), Freestyle::SVertex::shape(), v, Freestyle::SVertex::viewvertex(), WRITE, and WRITE_IF_NON_NULL.
|
static |
Definition at line 837 of file ViewMapIO.cpp.
References Freestyle::ViewEdge::A(), Freestyle::ViewEdge::aShape(), Freestyle::ViewEdge::B(), Freestyle::ViewEdge::fedgeA(), Freestyle::ViewEdge::fedgeB(), Freestyle::Id::getFirst(), Freestyle::ViewMapIO::Options::getFlags(), Freestyle::ViewEdge::getId(), Freestyle::ViewEdge::getNature(), Freestyle::Id::getSecond(), Freestyle::ViewMapIO::Options::NO_OCCLUDERS, Freestyle::ViewEdge::occluders(), Freestyle::ViewEdge::qi(), Freestyle::ViewEdge::shape(), WRITE, and WRITE_IF_NON_NULL.
|
static |
Definition at line 620 of file ViewMapIO.cpp.
References Freestyle::ViewShape::edges(), Freestyle::SShape::frs_material(), Freestyle::SShape::frs_materials(), Freestyle::SShape::getChains(), Freestyle::SShape::getEdgeList(), Freestyle::Id::getFirst(), Freestyle::SShape::getId(), Freestyle::Id::getSecond(), Freestyle::SShape::getVertexList(), i1, Freestyle::SShape::importance(), save(), size(), Freestyle::ViewShape::sshape(), Freestyle::ViewShape::vertices(), WRITE, and WRITE_IF_NON_NULL.
|
static |
Definition at line 892 of file ViewMapIO.cpp.
References Freestyle::TVertex::backEdgeA(), Freestyle::TVertex::backEdgeB(), Freestyle::TVertex::backSVertex(), Freestyle::TVertex::frontEdgeA(), Freestyle::TVertex::frontEdgeB(), Freestyle::TVertex::frontSVertex(), Freestyle::Id::getFirst(), Freestyle::TVertex::getId(), Freestyle::ViewVertex::getNature(), Freestyle::Id::getSecond(), Freestyle::Nature::NON_T_VERTEX, size(), Freestyle::NonTVertex::svertex(), Freestyle::Nature::T_VERTEX, Freestyle::NonTVertex::viewedges(), WRITE, and WRITE_IF_NON_NULL.
|
static |
Definition at line 57 of file ViewMapIO.cpp.
Referenced by Freestyle::ViewMapIO::load(), and load().