CBeamSet

class Lib3MF::CBeamSet : public CBase
void SetName(const std::string &sName)

Sets a beamset’s name string

Parameters:

sName – new name of the beamset.

std::string GetName()

Retrieves a beamset’s name string

Returns:

returns the name of the beamset.

void SetIdentifier(const std::string &sIdentifier)

Sets a beamset’s identifier string

Parameters:

sIdentifier – new name of the beamset.

std::string GetIdentifier()

Retrieves a beamset’s identifier string

Returns:

returns the identifier of the beamset.

Lib3MF_uint32 GetReferenceCount()

Retrieves the reference count of a beamset

Returns:

returns the reference count

void SetReferences(const CInputVector<Lib3MF_uint32> &ReferencesBuffer)

Sets the references of a beamset

Parameters:

ReferencesBuffer – the new indices of all beams in this beamset

void GetReferences(std::vector<Lib3MF_uint32> &ReferencesBuffer)

Retrieves the references of a beamset

Parameters:

ReferencesBuffer – retrieves the indices of all beams in this beamset

Lib3MF_uint32 GetBallReferenceCount()

Retrieves the ball reference count of a beamset

Returns:

returns the ball reference count

void SetBallReferences(const CInputVector<Lib3MF_uint32> &BallReferencesBuffer)

Sets the ball references of a beamset

Parameters:

BallReferencesBuffer – the new indices of all balls in this beamset

void GetBallReferences(std::vector<Lib3MF_uint32> &BallReferencesBuffer)

Retrieves the ball references of a beamset

Parameters:

BallReferencesBuffer – retrieves the indices of all balls in this beamset

typedef std::shared_ptr<CBeamSet> Lib3MF::PBeamSet

Shared pointer to CBeamSet to easily allow reference counting.