|
Blender V4.3
|
Classes | |
| class | ConstPatchCoordWrapperBuffer |
| class | CpuEvalOutput |
| class | EvalOutputAPI |
| class | FaceVaryingVolatileEval |
| class | GLComputeEvaluator |
| class | GLStencilTableSSBO |
| GL stencil table (Shader Storage buffer) More... | |
| class | GpuEvalOutput |
| class | MeshTopology |
| class | PatchMap |
| An quadtree-based map connecting coarse faces to their sub-patches. More... | |
| class | RawDataWrapperBuffer |
| class | RawDataWrapperVertexBuffer |
| class | StackOrHeapArray |
| class | TopologyRefinerImpl |
| class | VolatileEvalOutput |
Typedefs | |
| typedef StackOrHeapArray< PatchCoord, 32 *32 > | StackOrHeapPatchCoordArray |
Functions | |
| OpenSubdiv::Sdc::SchemeType | getSchemeTypeFromCAPI (OpenSubdiv_SchemeType type) |
| OpenSubdiv::Sdc::Options::FVarLinearInterpolation | getFVarLinearInterpolationFromCAPI (OpenSubdiv_FVarLinearInterpolation linear_interpolation) |
| OpenSubdiv_FVarLinearInterpolation | getCAPIFVarLinearInterpolationFromOSD (OpenSubdiv::Sdc::Options::FVarLinearInterpolation linear_interpolation) |
| OpenSubdiv::Sdc::Options::VtxBoundaryInterpolation | getVtxBoundaryInterpolationFromCAPI (OpenSubdiv_VtxBoundaryInterpolation boundary_interpolation) |
| void | stringSplit (std::vector< std::string > *tokens, const std::string &str, const std::string &separators, bool skip_empty) |
| bool | is_adaptive (const CpuPatchTable *patch_table) |
| bool | is_adaptive (const GLPatchTable *patch_table) |
| static void | buildPatchArraysBufferFromVector (const PatchArrayVector &patch_arrays, OpenSubdiv_Buffer *patch_arrays_buffer) |
| static void | convertPatchCoordsToArray (const OpenSubdiv_PatchCoord *patch_coords, const int num_patch_coords, const PatchMap *patch_map, StackOrHeapPatchCoordArray *array) |
| template<class T > | |
| GLuint | createSSBO (std::vector< T > const &src) |
| static GLuint | compileKernel (BufferDescriptor const &srcDesc, BufferDescriptor const &dstDesc, BufferDescriptor const &duDesc, BufferDescriptor const &dvDesc, BufferDescriptor const &duuDesc, BufferDescriptor const &duvDesc, BufferDescriptor const &dvvDesc, const char *kernelDefine, int workGroupSize) |
| static int | getEffectiveNumEdges (const OpenSubdiv_Converter *converter) |
| static bool | isEqualGeometryCounters (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static bool | isEqualGeometryEdge (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static bool | isEqualGeometryFace (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static bool | isEqualGeometry (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static float | getEffectiveVertexSharpness (const OpenSubdiv_Converter *converter, const int vertex_index) |
| static bool | isEqualVertexTags (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static float | getEffectiveEdgeSharpness (const OpenSubdiv_Converter *converter, const int edge_index) |
| static bool | isEqualEdgeTags (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| static bool | isEqualTags (const MeshTopology &mesh_topology, const OpenSubdiv_Converter *converter) |
| TEST (MeshTopology, TrivialVertexSharpness) | |
| TEST (MeshTopology, TrivialEdgeSharpness) | |
| TEST (MeshTopology, TrivialFaceTopology) | |
| static OpenSubdiv::Sdc::Options | getSDCOptions (OpenSubdiv_Converter *converter) |
| static TopologyRefinerFactoryType::Options | getTopologyRefinerOptions (OpenSubdiv_Converter *converter) |
| static const OpenSubdiv::Far::TopologyRefiner * | getOSDTopologyRefiner (const TopologyRefinerImpl *topology_refiner_impl) |
| static const OpenSubdiv::Far::TopologyLevel & | getOSDTopologyBaseLevel (const TopologyRefinerImpl *topology_refiner_impl) |
| static bool | checkSchemeTypeMatches (const TopologyRefinerImpl *topology_refiner_impl, const OpenSubdiv_Converter *converter) |
| static bool | checkOptionsMatches (const TopologyRefinerImpl *topology_refiner_impl, const OpenSubdiv_Converter *converter) |
| static bool | checkPreliminaryMatches (const TopologyRefinerImpl *topology_refiner_impl, const OpenSubdiv_Converter *converter) |
| static bool | checkSingleUVLayerMatch (const OpenSubdiv::Far::TopologyLevel &base_level, const OpenSubdiv_Converter *converter, const int layer_index) |
| static bool | checkUVLayersMatch (const TopologyRefinerImpl *topology_refiner_impl, const OpenSubdiv_Converter *converter) |
| static bool | checkTopologyAttributesMatch (const TopologyRefinerImpl *topology_refiner_impl, const OpenSubdiv_Converter *converter) |
| typedef StackOrHeapArray<PatchCoord, 32 * 32> blender::opensubdiv::StackOrHeapPatchCoordArray |
Definition at line 124 of file evaluator_impl.cc.
|
static |
Definition at line 16 of file eval_output_gpu.cc.
References OpenSubdiv_Buffer::bind_gpu, OpenSubdiv_Buffer::device_alloc, and OpenSubdiv_Buffer::device_update.
Referenced by blender::opensubdiv::GpuEvalOutput::fillFVarPatchArraysBuffer(), and blender::opensubdiv::GpuEvalOutput::fillPatchArraysBuffer().
|
static |
Definition at line 40 of file topology_refiner_impl_compare.cc.
References OpenSubdiv_Converter::getFVarLinearInterpolation, getFVarLinearInterpolationFromCAPI(), getOSDTopologyRefiner(), and options.
Referenced by checkPreliminaryMatches().
|
static |
Definition at line 55 of file topology_refiner_impl_compare.cc.
References checkOptionsMatches(), and checkSchemeTypeMatches().
Referenced by blender::opensubdiv::TopologyRefinerImpl::isEqualToConverter().
|
static |
Definition at line 32 of file topology_refiner_impl_compare.cc.
References getOSDTopologyRefiner(), OpenSubdiv_Converter::getSchemeType, and getSchemeTypeFromCAPI().
Referenced by checkPreliminaryMatches().
|
static |
Definition at line 69 of file topology_refiner_impl_compare.cc.
References OpenSubdiv_Converter::finishUVLayer, OpenSubdiv_Converter::getFaceCornerUVIndex, and OpenSubdiv_Converter::precalcUVLayer.
Referenced by checkUVLayersMatch().
|
static |
Definition at line 110 of file topology_refiner_impl_compare.cc.
References checkUVLayersMatch().
Referenced by blender::opensubdiv::TopologyRefinerImpl::isEqualToConverter().
|
static |
Definition at line 92 of file topology_refiner_impl_compare.cc.
References checkSingleUVLayerMatch(), OpenSubdiv_Converter::getNumUVLayers, and getOSDTopologyBaseLevel().
Referenced by checkTopologyAttributesMatch().
|
static |
Definition at line 156 of file gl_compute_evaluator.cc.
References datatoc_glsl_compute_kernel_glsl, and NULL.
|
static |
Definition at line 126 of file evaluator_impl.cc.
References array< T, alignment >::data(), blender::opensubdiv::PatchMap::FindPatch(), array< T, alignment >::resize(), and v.
Referenced by blender::opensubdiv::EvalOutputAPI::evaluatePatchesLimit().
Definition at line 44 of file gl_compute_evaluator.cc.
| OpenSubdiv_FVarLinearInterpolation blender::opensubdiv::getCAPIFVarLinearInterpolationFromOSD | ( | OpenSubdiv::Sdc::Options::FVarLinearInterpolation | linear_interpolation | ) |
Definition at line 54 of file type_convert.cc.
References OSD_FVAR_LINEAR_INTERPOLATION_ALL, OSD_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_ONLY, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS1, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS2, and OSD_FVAR_LINEAR_INTERPOLATION_NONE.
|
static |
Definition at line 155 of file mesh_topology_compare.cc.
References OpenSubdiv_Converter::getEdgeSharpness.
Referenced by isEqualEdgeTags().
|
static |
Definition at line 21 of file mesh_topology_compare.cc.
References OpenSubdiv_Converter::getNumEdges.
Referenced by isEqualGeometryCounters(), and isEqualGeometryEdge().
|
static |
Definition at line 120 of file mesh_topology_compare.cc.
References OpenSubdiv_Converter::getVertexSharpness, and OpenSubdiv_Converter::isInfiniteSharpVertex.
Referenced by isEqualVertexTags().
| OpenSubdiv::Sdc::Options::FVarLinearInterpolation blender::opensubdiv::getFVarLinearInterpolationFromCAPI | ( | OpenSubdiv_FVarLinearInterpolation | linear_interpolation | ) |
Definition at line 32 of file type_convert.cc.
References OSD_FVAR_LINEAR_INTERPOLATION_ALL, OSD_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_ONLY, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS1, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS2, and OSD_FVAR_LINEAR_INTERPOLATION_NONE.
Referenced by checkOptionsMatches(), and getSDCOptions().
|
static |
Definition at line 23 of file topology_refiner_impl_compare.cc.
References getOSDTopologyRefiner().
Referenced by checkUVLayersMatch().
|
static |
Definition at line 17 of file topology_refiner_impl_compare.cc.
References blender::opensubdiv::TopologyRefinerImpl::topology_refiner.
Referenced by checkOptionsMatches(), checkSchemeTypeMatches(), and getOSDTopologyBaseLevel().
| OpenSubdiv::Sdc::SchemeType blender::opensubdiv::getSchemeTypeFromCAPI | ( | OpenSubdiv_SchemeType | type | ) |
Definition at line 18 of file type_convert.cc.
References OSD_SCHEME_BILINEAR, OSD_SCHEME_CATMARK, and OSD_SCHEME_LOOP.
Referenced by checkSchemeTypeMatches(), and getTopologyRefinerOptions().
|
static |
Definition at line 304 of file topology_refiner_factory.cc.
References OpenSubdiv_Converter::getFVarLinearInterpolation, getFVarLinearInterpolationFromCAPI(), OpenSubdiv_Converter::getVtxBoundaryInterpolation, getVtxBoundaryInterpolationFromCAPI(), and options.
Referenced by getTopologyRefinerOptions().
|
static |
Definition at line 320 of file topology_refiner_factory.cc.
References OpenSubdiv_Converter::getSchemeType, getSchemeTypeFromCAPI(), and getSDCOptions().
Referenced by blender::opensubdiv::TopologyRefinerImpl::createFromConverter().
| OpenSubdiv::Sdc::Options::VtxBoundaryInterpolation blender::opensubdiv::getVtxBoundaryInterpolationFromCAPI | ( | OpenSubdiv_VtxBoundaryInterpolation | boundary_interpolation | ) |
Definition at line 76 of file type_convert.cc.
References OSD_VTX_BOUNDARY_EDGE_AND_CORNER, OSD_VTX_BOUNDARY_EDGE_ONLY, and OSD_VTX_BOUNDARY_NONE.
Referenced by getSDCOptions().
| bool blender::opensubdiv::is_adaptive | ( | const CpuPatchTable * | patch_table | ) |
Definition at line 10 of file eval_output.cc.
| bool blender::opensubdiv::is_adaptive | ( | const GLPatchTable * | patch_table | ) |
Definition at line 15 of file eval_output.cc.
|
static |
Definition at line 164 of file mesh_topology_compare.cc.
References blender::opensubdiv::MeshTopology::getEdgeSharpness(), OpenSubdiv_Converter::getEdgeVertices, getEffectiveEdgeSharpness(), blender::opensubdiv::MeshTopology::getNumEdges(), and blender::opensubdiv::MeshTopology::isEdgeEqual().
Referenced by isEqualTags().
|
static |
Definition at line 101 of file mesh_topology_compare.cc.
References isEqualGeometryEdge(), and isEqualGeometryFace().
Referenced by blender::opensubdiv::MeshTopology::isEqualToConverter().
|
static |
Definition at line 30 of file mesh_topology_compare.cc.
References getEffectiveNumEdges(), blender::opensubdiv::MeshTopology::getNumEdges(), blender::opensubdiv::MeshTopology::getNumFaces(), OpenSubdiv_Converter::getNumFaces, blender::opensubdiv::MeshTopology::getNumVertices(), and OpenSubdiv_Converter::getNumVertices.
Referenced by blender::opensubdiv::MeshTopology::isEqualToConverter().
|
static |
Definition at line 51 of file mesh_topology_compare.cc.
References getEffectiveNumEdges(), and blender::opensubdiv::MeshTopology::getNumEdges().
Referenced by isEqualGeometry().
|
static |
Definition at line 73 of file mesh_topology_compare.cc.
References OpenSubdiv_Converter::getFaceVertices, blender::opensubdiv::MeshTopology::getNumFaces(), OpenSubdiv_Converter::getNumFaces, blender::opensubdiv::MeshTopology::getNumFaceVertices(), OpenSubdiv_Converter::getNumFaceVertices, and blender::opensubdiv::MeshTopology::isFaceVertexIndicesEqual().
Referenced by isEqualGeometry().
|
static |
Definition at line 194 of file mesh_topology_compare.cc.
References isEqualEdgeTags(), and isEqualVertexTags().
Referenced by blender::opensubdiv::MeshTopology::isEqualToConverter().
|
static |
Definition at line 136 of file mesh_topology_compare.cc.
References getEffectiveVertexSharpness(), blender::opensubdiv::MeshTopology::getNumVertices(), and blender::opensubdiv::MeshTopology::getVertexSharpness().
Referenced by isEqualTags().
| void blender::opensubdiv::stringSplit | ( | std::vector< std::string > * | tokens, |
| const std::string & | str, | ||
| const std::string & | separators, | ||
| bool | skip_empty ) |
Definition at line 9 of file intern/opensubdiv/internal/base/util.cc.
References str.
Referenced by openSubdiv_getVersionHex().
| blender::opensubdiv::TEST | ( | MeshTopology | , |
| TrivialEdgeSharpness | ) |
Definition at line 27 of file mesh_topology_test.cc.
References EXPECT_EQ(), blender::opensubdiv::MeshTopology::finishResizeTopology(), blender::opensubdiv::MeshTopology::getEdgeSharpness(), blender::opensubdiv::MeshTopology::setEdgeSharpness(), blender::opensubdiv::MeshTopology::setEdgeVertexIndices(), blender::opensubdiv::MeshTopology::setNumEdges(), and blender::opensubdiv::MeshTopology::setNumVertices().
| blender::opensubdiv::TEST | ( | MeshTopology | , |
| TrivialFaceTopology | ) |
Definition at line 47 of file mesh_topology_test.cc.
References EXPECT_EQ(), blender::opensubdiv::MeshTopology::finishResizeTopology(), blender::opensubdiv::MeshTopology::getNumFaceVertices(), blender::opensubdiv::MeshTopology::isFaceVertexIndicesEqual(), blender::opensubdiv::MeshTopology::setFaceVertexIndices(), blender::opensubdiv::MeshTopology::setNumFaces(), and blender::opensubdiv::MeshTopology::setNumFaceVertices().
| blender::opensubdiv::TEST | ( | MeshTopology | , |
| TrivialVertexSharpness | ) |
Definition at line 12 of file mesh_topology_test.cc.
References EXPECT_EQ(), blender::opensubdiv::MeshTopology::finishResizeTopology(), blender::opensubdiv::MeshTopology::getVertexSharpness(), blender::opensubdiv::MeshTopology::setNumVertices(), and blender::opensubdiv::MeshTopology::setVertexSharpness().