Navigation
API > API/Runtime > API/Runtime/GeometryCore
Inheritance Hierarchy
- TQuadricError
- TVolPresQuadricError
- TAttrBasedQuadricError
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/QuadricError.h |
| Include | #include "QuadricError.h" |
Syntax
template<typename RealType>
class TAttrBasedQuadricError : public UE::Geometry::TVolPresQuadricError< RealType >
Remarks
Quadric Error type for use in volume memory-less simplification with volume preservation constraints. using the normal as three additional attributes to contribute to the quadric error. See: http://hhoppe.com/newqem.pdf
Variables
| Type | Name | Description | |
|---|---|---|---|
| RealType | a | Accumulated area | |
| RealType | attrweight | Weight used to internally scale the attribute/ used to increase or decrease the importance of the normal in computing the optimal position | |
| RealType[3] | d | ||
| TVector< RealType >[3] | grad | Additional planes for the attributes. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TAttrBasedQuadricError
(
const TAttrBasedQuadricError& Aother, |
|||
TAttrBasedQuadricError
(
const TVector< RealType >& P0, |
Triangle Quadric constructor. Take vertex locations, vertex normals, face normal, and center of face. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
RealType w, |
Area Weighted Add | |
| void | ComputeAttributes
(
const TVector< RealType >& point, |
||
| RealType | |||
| RealType | |||
| bool | OptimalPoint
(
UE::Math::TVector< RealType >& OptPoint, |
The optimal point minimizing the quadric error with respect to a volume conserving constraint | |
| TAttrBasedQuadricError | Zero () |
Typedefs
| Name | Description |
|---|---|
| BaseClass | |
| BaseStruct | |
| ScalarType |