TAttrBasedQuadricError

Quadric Error type for use in volume memory-less simplification with volume preservation constraints.

Windows
MacOS
Linux

Inheritance Hierarchy

TQuadricError

TVolPresQuadricError

TAttrBasedQuadricError

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/QuadricError.h

Include

#include "QuadricError.h"

Syntax

template<typename RealType>
class TAttrBasedQuadricError : public 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

Name Description

Public variable

RealType

 

a

Public variable

RealType[3]

 

d

Public variable

FVector3< RealT...

 

grad

Additional planes for the attributes.

Constructors

Name Description

Public function

TAttrBasedQuadricError()

Public function

TAttrBasedQuadricError

(
    const TAttrBasedQuadricError& Aoth...,
    const TAttrBasedQuadricError& Both...
)

Public function

TAttrBasedQuadricError

(
    const FVector3< RealType >& P0,
    const FVector3< RealType >& P1,
    const FVector3< RealType >& P2,
    const FVector3< RealType >& N0,
    const FVector3< RealType >& N1,
    const FVector3< RealType >& N2,
    const FVector3< RealType >& NFace,
    const FVector3< RealType >& Center...,
    RealType AttrWeight
)

Triangle Quadric constructor. Take vertex locations, vertex normals, face normal, and center of face.

Functions

Name Description

Public function

void

 

Add

(
    const TAttrBasedQuadricError& othe...
)

Public function

void

 

Add

(
    RealType w,
    const TAttrBasedQuadricError& othe...
)

Public function Const

void

 

ComputeAttributes

(
    const FVector3< RealType >& point,
    FVector3< RealType >& attr
)

Public function Const

RealType

 

Evaluate

(
    const FVector3< RealType >& point
)

Public function Const

RealType

 

Evaluate

(
    const FVector3< RealType >& point,
    const FVector3< RealType >& attr
)

Public function Const

bool

 

OptimalPoint

(
    FVector3< RealType >& OptPoint,
    RealType minThresh
)

The optimal point not counting volume conservation.

Public function Static

TAttrBasedQu...

 

Zero()

Operators

Name Description

Public function

TAttrBasedQu...

 

operator=

(
    const TAttrBasedQuadricError& othe...
)

Typedefs

Name

Description

BaseClass

BaseStruct

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss