Template Class PropertyHandle
Defined in File properties.h
Inheritance Relationships
Derived Types
public zmesh::core::EdgePropertyHandle< bool >(Template Class EdgePropertyHandle)public zmesh::core::EdgePropertyHandle< EdgeTopology >(Template Class EdgePropertyHandle)public zmesh::core::FacePropertyHandle< FaceTopology >(Template Class FacePropertyHandle)public zmesh::core::FacePropertyHandle< bool >(Template Class FacePropertyHandle)public zmesh::core::HalfedgePropertyHandle< HalfedgeTopology >(Template Class HalfedgePropertyHandle)public zmesh::core::VertexPropertyHandle< VertexTopology >(Template Class VertexPropertyHandle)public zmesh::core::VertexPropertyHandle< Point >(Template Class VertexPropertyHandle)public zmesh::core::VertexPropertyHandle< bool >(Template Class VertexPropertyHandle)public zmesh::core::EdgePropertyHandle< T >(Template Class EdgePropertyHandle)public zmesh::core::FacePropertyHandle< T >(Template Class FacePropertyHandle)public zmesh::core::HalfedgePropertyHandle< T >(Template Class HalfedgePropertyHandle)public zmesh::core::VertexPropertyHandle< T >(Template Class VertexPropertyHandle)
Class Documentation
-
template<typename T>
class PropertyHandle 属性的Handle 直接把Property返回给用户不安全, 所以封装了一个PropertyHandle, 用户只能通过Handle来操作Property. PropertyHandle只能通过下标访问属性
- 模板参数
T -- 属性的具体类型
Subclassed by zmesh::core::EdgePropertyHandle< bool >, zmesh::core::EdgePropertyHandle< EdgeTopology >, zmesh::core::FacePropertyHandle< FaceTopology >, zmesh::core::FacePropertyHandle< bool >, zmesh::core::HalfedgePropertyHandle< HalfedgeTopology >, zmesh::core::VertexPropertyHandle< VertexTopology >, zmesh::core::VertexPropertyHandle< Point >, zmesh::core::VertexPropertyHandle< bool >, zmesh::core::EdgePropertyHandle< T >, zmesh::core::FacePropertyHandle< T >, zmesh::core::HalfedgePropertyHandle< T >, zmesh::core::VertexPropertyHandle< T >
Public Types
Public Functions
-
inline PropertyHandle(PropertyPtr<T> prop = nullptr)
-
inline bool is_valid() const
-
inline VectorType &vector()
-
inline const VectorType &vector() const
-
inline std::string name()
-
inline const_reference operator[](size_t idx) const
Friends
- friend class PropertyContainer