CNormalizeDistanceNode

class Lib3MF::CNormalizeDistanceNode : public CImplicitNode

Normalized signed distance from referenced function

PImplicitPort GetInputFunctionID()

Retrieves the input for the function id

Returns:

the input port for the function

PImplicitPort GetInputPos()

Retrieves the input for the position

Returns:

the input port for the position (vector)

PImplicitPort GetInputStep()

Retrieves the input for the finite difference step

Returns:

the input port for the finite difference step

void SetScalarOutputName(const std::string &sScalarOutputName)

Sets the name of the referenced scalar output

Parameters:

sScalarOutputName – the name of the scalar output of the referenced function

std::string GetScalarOutputName()

Retrieves the name of the referenced scalar output

Returns:

the name of the scalar output of the referenced function

void SetVectorInputName(const std::string &sVectorInputName)

Sets the name of the referenced vector input

Parameters:

sVectorInputName – the name of the vector input (float3) of the referenced function

std::string GetVectorInputName()

Retrieves the name of the referenced vector input

Returns:

the name of the vector input (float3) of the referenced function

PImplicitPort GetOutputResult()

Retrieves the normalized result output

Returns:

the output port for the normalized distance

typedef std::shared_ptr<CNormalizeDistanceNode> Lib3MF::PNormalizeDistanceNode

Shared pointer to CNormalizeDistanceNode to easily allow reference counting.