Documentation
¶
Index ¶
- Constants
- type AbsNode
- type AccessRight
- type AdditionNode
- type ArcCosNode
- type ArcSinNode
- type ArcTan2Node
- type ArcTanNode
- type Attachment
- func (inst Attachment) GetPath() (string, error)
- func (inst Attachment) GetRelationShipType() (string, error)
- func (inst Attachment) GetStreamSize() (uint64, error)
- func (inst Attachment) PackagePart() (PackagePart, error)
- func (inst Attachment) ReadFromBuffer(buffer []uint8) error
- func (inst Attachment) ReadFromCallback(theReadCallback ReadCallbackFunc, streamSize uint64, ...) error
- func (inst Attachment) ReadFromFile(fileName string) error
- func (inst Attachment) SetPath(path string) error
- func (inst Attachment) SetRelationShipType(path string) error
- func (inst Attachment) WriteToBuffer(buffer []uint8) ([]uint8, error)
- func (inst Attachment) WriteToFile(fileName string) error
- type Ball
- type Base
- type BaseMaterialGroup
- func (inst BaseMaterialGroup) AddMaterial(name string, displayColor Color) (uint32, error)
- func (inst BaseMaterialGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
- func (inst BaseMaterialGroup) GetCount() (uint32, error)
- func (inst BaseMaterialGroup) GetDisplayColor(propertyID uint32) (Color, error)
- func (inst BaseMaterialGroup) GetName(propertyID uint32) (string, error)
- func (inst BaseMaterialGroup) RemoveMaterial(propertyID uint32) error
- func (inst BaseMaterialGroup) SetDisplayColor(propertyID uint32, theColor Color) error
- func (inst BaseMaterialGroup) SetName(propertyID uint32, name string) error
- type BaseMaterialGroupIterator
- type Beam
- type BeamLattice
- func (inst BeamLattice) AddBall(ballInfo Ball) (uint32, error)
- func (inst BeamLattice) AddBeam(beamInfo Beam) (uint32, error)
- func (inst BeamLattice) AddBeamSet() (BeamSet, error)
- func (inst BeamLattice) GetBall(index uint32) (Ball, error)
- func (inst BeamLattice) GetBallCount() (uint32, error)
- func (inst BeamLattice) GetBallOptions() (BeamLatticeBallMode, float64, error)
- func (inst BeamLattice) GetBalls(ballInfo []Ball) ([]Ball, error)
- func (inst BeamLattice) GetBeam(index uint32) (Beam, error)
- func (inst BeamLattice) GetBeamCount() (uint32, error)
- func (inst BeamLattice) GetBeamSet(index uint32) (BeamSet, error)
- func (inst BeamLattice) GetBeamSetCount() (uint32, error)
- func (inst BeamLattice) GetBeams(beamInfo []Beam) ([]Beam, error)
- func (inst BeamLattice) GetClipping() (BeamLatticeClipMode, uint32, error)
- func (inst BeamLattice) GetMinLength() (float64, error)
- func (inst BeamLattice) GetRepresentation() (bool, uint32, error)
- func (inst BeamLattice) SetBall(index uint32, ballInfo Ball) error
- func (inst BeamLattice) SetBallOptions(ballMode BeamLatticeBallMode, ballRadius float64) error
- func (inst BeamLattice) SetBalls(ballInfo []Ball) error
- func (inst BeamLattice) SetBeam(index uint32, beamInfo Beam) error
- func (inst BeamLattice) SetBeams(beamInfo []Beam) error
- func (inst BeamLattice) SetClipping(clipMode BeamLatticeClipMode, uniqueResourceID uint32) error
- func (inst BeamLattice) SetMinLength(minLength float64) error
- func (inst BeamLattice) SetRepresentation(uniqueResourceID uint32) error
- type BeamLatticeBallMode
- type BeamLatticeCapMode
- type BeamLatticeClipMode
- type BeamSet
- func (inst BeamSet) GetBallReferenceCount() (uint32, error)
- func (inst BeamSet) GetBallReferences(ballReferences []uint32) ([]uint32, error)
- func (inst BeamSet) GetIdentifier() (string, error)
- func (inst BeamSet) GetName() (string, error)
- func (inst BeamSet) GetReferenceCount() (uint32, error)
- func (inst BeamSet) GetReferences(references []uint32) ([]uint32, error)
- func (inst BeamSet) SetBallReferences(ballReferences []uint32) error
- func (inst BeamSet) SetIdentifier(identifier string) error
- func (inst BeamSet) SetName(name string) error
- func (inst BeamSet) SetReferences(references []uint32) error
- type BlendMethod
- type Box
- type BuildItem
- func (inst BuildItem) GetMetaDataGroup() (MetaDataGroup, error)
- func (inst BuildItem) GetObjectResource() (Object, error)
- func (inst BuildItem) GetObjectResourceID() (uint32, error)
- func (inst BuildItem) GetObjectTransform() (Transform, error)
- func (inst BuildItem) GetOutbox() (Box, error)
- func (inst BuildItem) GetPartNumber() (string, error)
- func (inst BuildItem) GetUUID() (bool, string, error)
- func (inst BuildItem) HasObjectTransform() (bool, error)
- func (inst BuildItem) SetObjectTransform(transform Transform) error
- func (inst BuildItem) SetPartNumber(setPartnumber string) error
- func (inst BuildItem) SetUUID(uUID string) error
- type BuildItemIterator
- type CeilNode
- type ChannelName
- type ClampNode
- type Color
- type ColorGroup
- func (inst ColorGroup) AddColor(theColor Color) (uint32, error)
- func (inst ColorGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
- func (inst ColorGroup) GetColor(propertyID uint32) (Color, error)
- func (inst ColorGroup) GetCount() (uint32, error)
- func (inst ColorGroup) RemoveColor(propertyID uint32) error
- func (inst ColorGroup) SetColor(propertyID uint32, theColor Color) error
- type ColorGroupIterator
- type Component
- func (inst Component) GetObjectResource() (Object, error)
- func (inst Component) GetObjectResourceID() (uint32, error)
- func (inst Component) GetTransform() (Transform, error)
- func (inst Component) GetUUID() (bool, string, error)
- func (inst Component) HasTransform() (bool, error)
- func (inst Component) SetTransform(transform Transform) error
- func (inst Component) SetUUID(uUID string) error
- type ComponentsObject
- type ComponentsObjectIterator
- type ComposeMatrixNode
- func (inst ComposeMatrixNode) GetInputM00() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM01() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM02() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM03() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM10() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM11() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM12() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM13() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM20() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM21() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM22() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM23() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM30() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM31() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM32() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetInputM33() (ImplicitPort, error)
- func (inst ComposeMatrixNode) GetOutputResult() (ImplicitPort, error)
- type ComposeVectorNode
- type CompositeConstituent
- type CompositeMaterials
- func (inst CompositeMaterials) AddComposite(composite []CompositeConstituent) (uint32, error)
- func (inst CompositeMaterials) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
- func (inst CompositeMaterials) GetBaseMaterialGroup() (BaseMaterialGroup, error)
- func (inst CompositeMaterials) GetComposite(propertyID uint32, composite []CompositeConstituent) ([]CompositeConstituent, error)
- func (inst CompositeMaterials) GetCount() (uint32, error)
- func (inst CompositeMaterials) RemoveComposite(propertyID uint32) error
- type CompositeMaterialsIterator
- type CompositionMethod
- type CompositionSpace
- type Compression
- type ConstMatNode
- type ConstVecNode
- type ConstantNode
- type Consumer
- type ContentEncryptionCallbackFunc
- type ContentEncryptionParams
- func (inst ContentEncryptionParams) GetAdditionalAuthenticationData(byteData []uint8) ([]uint8, error)
- func (inst ContentEncryptionParams) GetAuthenticationTag(byteData []uint8) ([]uint8, error)
- func (inst ContentEncryptionParams) GetDescriptor() (uint64, error)
- func (inst ContentEncryptionParams) GetEncryptionAlgorithm() (EncryptionAlgorithm, error)
- func (inst ContentEncryptionParams) GetInitializationVector(byteData []uint8) ([]uint8, error)
- func (inst ContentEncryptionParams) GetKey(byteData []uint8) ([]uint8, error)
- func (inst ContentEncryptionParams) GetKeyUUID() (string, error)
- func (inst ContentEncryptionParams) SetAuthenticationTag(byteData []uint8) error
- type CosNode
- type CoshNode
- type CrossNode
- type DecomposeVectorNode
- type DigestMethod
- type DivisionNode
- type DotNode
- type EncryptionAlgorithm
- type ExpNode
- type FloorNode
- type FmodNode
- type FractNode
- type Function
- func (inst Function) AddInput(identifier string, displayName string, _type ImplicitPortType) (ImplicitPort, error)
- func (inst Function) AddOutput(identifier string, displayName string, _type ImplicitPortType) (ImplicitPort, error)
- func (inst Function) FindInput(identifier string) (ImplicitPort, error)
- func (inst Function) FindOutput(identifier string) (ImplicitPort, error)
- func (inst Function) GetDisplayName() (string, error)
- func (inst Function) GetInputs() (ImplicitPortIterator, error)
- func (inst Function) GetOutputs() (ImplicitPortIterator, error)
- func (inst Function) RemoveInput(input ImplicitPort) error
- func (inst Function) RemoveOutput(output ImplicitPort) error
- func (inst Function) SetDisplayName(displayName string) error
- type FunctionCallNode
- type FunctionFromImage3D
- func (inst FunctionFromImage3D) GetFilter() (TextureFilter, error)
- func (inst FunctionFromImage3D) GetImage3D() (Image3D, error)
- func (inst FunctionFromImage3D) GetOffset() (float64, error)
- func (inst FunctionFromImage3D) GetScale() (float64, error)
- func (inst FunctionFromImage3D) GetTileStyles() (TextureTileStyle, TextureTileStyle, TextureTileStyle, error)
- func (inst FunctionFromImage3D) SetFilter(filter TextureFilter) error
- func (inst FunctionFromImage3D) SetImage3D(image3D Image3D) error
- func (inst FunctionFromImage3D) SetOffset(offset float64) error
- func (inst FunctionFromImage3D) SetScale(scale float64) error
- func (inst FunctionFromImage3D) SetTileStyles(tileStyleU TextureTileStyle, tileStyleV TextureTileStyle, ...) error
- type FunctionIterator
- type FunctionReference
- func (inst FunctionReference) GetChannelName() (string, error)
- func (inst FunctionReference) GetFallBackValue() (float64, error)
- func (inst FunctionReference) GetFunctionResourceID() (uint32, error)
- func (inst FunctionReference) GetMinFeatureSize() (float64, error)
- func (inst FunctionReference) GetTransform() (Transform, error)
- func (inst FunctionReference) SetChannelName(channelName string) error
- func (inst FunctionReference) SetFallBackValue(fallBackValue float64) error
- func (inst FunctionReference) SetFunctionResourceID(uniqueResourceID uint32) error
- func (inst FunctionReference) SetMinFeatureSize(minFeatureSize float64) error
- func (inst FunctionReference) SetTransform(transform Transform) error
- type Image3D
- type Image3DIterator
- type ImageStack
- func (inst ImageStack) CreateEmptySheet(index uint32, path string) (Attachment, error)
- func (inst ImageStack) CreateSheetFromBuffer(index uint32, path string, data []uint8) (Attachment, error)
- func (inst ImageStack) CreateSheetFromFile(index uint32, path string, fileName string) (Attachment, error)
- func (inst ImageStack) GetColumnCount() (uint32, error)
- func (inst ImageStack) GetRowCount() (uint32, error)
- func (inst ImageStack) GetSheet(index uint32) (Attachment, error)
- func (inst ImageStack) GetSheetCount() (uint32, error)
- func (inst ImageStack) SetColumnCount(columnCount uint32) error
- func (inst ImageStack) SetRowCount(rowCount uint32) error
- func (inst ImageStack) SetSheet(index uint32, sheet Attachment) error
- type ImplicitFunction
- func (inst ImplicitFunction) AddAbsNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (AbsNode, error)
- func (inst ImplicitFunction) AddAdditionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (AdditionNode, error)
- func (inst ImplicitFunction) AddArcCosNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (ArcCosNode, error)
- func (inst ImplicitFunction) AddArcSinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (ArcSinNode, error)
- func (inst ImplicitFunction) AddArcTan2Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (ArcTan2Node, error)
- func (inst ImplicitFunction) AddCeilNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (CeilNode, error)
- func (inst ImplicitFunction) AddClampNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (ClampNode, error)
- func (inst ImplicitFunction) AddComposeMatrixNode(identifier string, displayName string, tag string) (ComposeMatrixNode, error)
- func (inst ImplicitFunction) AddComposeVectorNode(identifier string, displayName string, tag string) (ComposeVectorNode, error)
- func (inst ImplicitFunction) AddConstMatNode(identifier string, displayName string, tag string) (ConstMatNode, error)
- func (inst ImplicitFunction) AddConstVecNode(identifier string, displayName string, tag string) (ConstVecNode, error)
- func (inst ImplicitFunction) AddConstantNode(identifier string, displayName string, tag string) (ConstantNode, error)
- func (inst ImplicitFunction) AddCosNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (CosNode, error)
- func (inst ImplicitFunction) AddCoshNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (CoshNode, error)
- func (inst ImplicitFunction) AddCrossNode(identifier string, displayName string, tag string) (CrossNode, error)
- func (inst ImplicitFunction) AddDecomposeVectorNode(identifier string, displayName string, tag string) (DecomposeVectorNode, error)
- func (inst ImplicitFunction) AddDivisionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (DivisionNode, error)
- func (inst ImplicitFunction) AddDotNode(identifier string, displayName string, tag string) (DotNode, error)
- func (inst ImplicitFunction) AddExpNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (ExpNode, error)
- func (inst ImplicitFunction) AddFloorNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (FloorNode, error)
- func (inst ImplicitFunction) AddFmodNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (FmodNode, error)
- func (inst ImplicitFunction) AddFractNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (FractNode, error)
- func (inst ImplicitFunction) AddFunctionCallNode(identifier string, displayName string, tag string) (FunctionCallNode, error)
- func (inst ImplicitFunction) AddInverseNode(identifier string, displayName string, tag string) (InverseNode, error)
- func (inst ImplicitFunction) AddLengthNode(identifier string, displayName string, tag string) (LengthNode, error)
- func (inst ImplicitFunction) AddLink(source ImplicitPort, target ImplicitPort) error
- func (inst ImplicitFunction) AddLinkByNames(source string, target string) error
- func (inst ImplicitFunction) AddLog2Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (Log2Node, error)
- func (inst ImplicitFunction) AddLog10Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (Log10Node, error)
- func (inst ImplicitFunction) AddLogNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (LogNode, error)
- func (inst ImplicitFunction) AddMatVecMultiplicationNode(identifier string, displayName string, tag string) (MatVecMultiplicationNode, error)
- func (inst ImplicitFunction) AddMatrixFromColumnsNode(identifier string, displayName string, tag string) (MatrixFromColumnsNode, error)
- func (inst ImplicitFunction) AddMatrixFromRowsNode(identifier string, displayName string, tag string) (MatrixFromRowsNode, error)
- func (inst ImplicitFunction) AddMaxNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (MaxNode, error)
- func (inst ImplicitFunction) AddMeshNode(identifier string, displayName string, tag string) (MeshNode, error)
- func (inst ImplicitFunction) AddMinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (MinNode, error)
- func (inst ImplicitFunction) AddMultiplicationNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (MultiplicationNode, error)
- func (inst ImplicitFunction) AddNode(nodeType ImplicitNodeType, identifier string, ...) (ImplicitNode, error)
- func (inst ImplicitFunction) AddPowNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (PowNode, error)
- func (inst ImplicitFunction) AddResourceIdNode(identifier string, displayName string, tag string) (ResourceIdNode, error)
- func (inst ImplicitFunction) AddRoundNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (RoundNode, error)
- func (inst ImplicitFunction) AddSelectNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SelectNode, error)
- func (inst ImplicitFunction) AddSignNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SignNode, error)
- func (inst ImplicitFunction) AddSinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SinNode, error)
- func (inst ImplicitFunction) AddSinhNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SinhNode, error)
- func (inst ImplicitFunction) AddSqrtNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SqrtNode, error)
- func (inst ImplicitFunction) AddSubtractionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (SubtractionNode, error)
- func (inst ImplicitFunction) AddTanNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (TanNode, error)
- func (inst ImplicitFunction) AddTanhNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (TanhNode, error)
- func (inst ImplicitFunction) AddTransposeNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, ...) (TransposeNode, error)
- func (inst ImplicitFunction) AddUnsignedMeshNode(identifier string, displayName string, tag string) (UnsignedMeshNode, error)
- func (inst ImplicitFunction) AddVectorFromScalarNode(identifier string, displayName string, tag string) (VectorFromScalarNode, error)
- func (inst ImplicitFunction) Clear() error
- func (inst ImplicitFunction) GetIdentifier() (string, error)
- func (inst ImplicitFunction) GetNodes() (NodeIterator, error)
- func (inst ImplicitFunction) RemoveNode(node ImplicitNode) error
- func (inst ImplicitFunction) SetIdentifier(identifier string) error
- func (inst ImplicitFunction) SortNodesTopologically() error
- type ImplicitNode
- func (inst ImplicitNode) AddInput(identifier string, displayName string) (ImplicitPort, error)
- func (inst ImplicitNode) AddOutput(identifier string, displayName string) (ImplicitPort, error)
- func (inst ImplicitNode) AreTypesValid() (bool, error)
- func (inst ImplicitNode) FindInput(identifier string) (*ImplicitPort, error)
- func (inst ImplicitNode) FindOutput(identifier string) (*ImplicitPort, error)
- func (inst ImplicitNode) GetDisplayName() (string, error)
- func (inst ImplicitNode) GetIdentifier() (string, error)
- func (inst ImplicitNode) GetInputs() (ImplicitPortIterator, error)
- func (inst ImplicitNode) GetNodeType() (ImplicitNodeType, error)
- func (inst ImplicitNode) GetOutputs() (ImplicitPortIterator, error)
- func (inst ImplicitNode) GetTag() (string, error)
- func (inst ImplicitNode) SetDisplayName(displayName string) error
- func (inst ImplicitNode) SetIdentifier(identifier string) error
- func (inst ImplicitNode) SetTag(tag string) error
- type ImplicitNodeConfiguration
- type ImplicitNodeType
- type ImplicitPort
- func (inst ImplicitPort) GetDisplayName() (string, error)
- func (inst ImplicitPort) GetIdentifier() (string, error)
- func (inst ImplicitPort) GetReference() (string, error)
- func (inst ImplicitPort) GetType() (ImplicitPortType, error)
- func (inst ImplicitPort) SetDisplayName(displayName string) error
- func (inst ImplicitPort) SetIdentifier(identifier string) error
- func (inst ImplicitPort) SetReference(reference string) error
- func (inst ImplicitPort) SetType(implicitPortType ImplicitPortType) error
- type ImplicitPortIterator
- type ImplicitPortType
- type InverseNode
- type Iterator
- type KeyStore
- func (inst KeyStore) AddConsumer(consumerID string, keyID string, keyValue string) (Consumer, error)
- func (inst KeyStore) AddResourceData(resourceDataGroup ResourceDataGroup, partPath PackagePart, ...) (ResourceData, error)
- func (inst KeyStore) AddResourceDataGroup() (ResourceDataGroup, error)
- func (inst KeyStore) FindConsumer(consumerID string) (*Consumer, error)
- func (inst KeyStore) FindResourceData(resourcePath PackagePart) (*ResourceData, error)
- func (inst KeyStore) FindResourceDataGroup(partPath PackagePart) (*ResourceDataGroup, error)
- func (inst KeyStore) GetConsumer(consumerIndex uint64) (Consumer, error)
- func (inst KeyStore) GetConsumerCount() (uint64, error)
- func (inst KeyStore) GetResourceData(resourceDataIndex uint64) (ResourceData, error)
- func (inst KeyStore) GetResourceDataCount() (uint64, error)
- func (inst KeyStore) GetResourceDataGroup(resourceDataIndex uint64) (ResourceDataGroup, error)
- func (inst KeyStore) GetResourceDataGroupCount() (uint64, error)
- func (inst KeyStore) GetUUID() (bool, string, error)
- func (inst KeyStore) RemoveConsumer(consumer Consumer) error
- func (inst KeyStore) RemoveResourceData(resourceData ResourceData) error
- func (inst KeyStore) RemoveResourceDataGroup(resourceDataGroup ResourceDataGroup) error
- func (inst KeyStore) SetUUID(uUID string) error
- type KeyWrappingCallbackFunc
- type LengthNode
- type LevelSet
- func (inst LevelSet) GetChannelName() (string, error)
- func (inst LevelSet) GetFallBackValue() (float64, error)
- func (inst LevelSet) GetFunction() (*Function, error)
- func (inst LevelSet) GetMesh() (*MeshObject, error)
- func (inst LevelSet) GetMeshBBoxOnly() (bool, error)
- func (inst LevelSet) GetMinFeatureSize() (float64, error)
- func (inst LevelSet) GetTransform() (Transform, error)
- func (inst LevelSet) GetVolumeData() (*VolumeData, error)
- func (inst LevelSet) SetChannelName(channelName string) error
- func (inst LevelSet) SetFallBackValue(fallBackValue float64) error
- func (inst LevelSet) SetFunction(theFunction Function) error
- func (inst LevelSet) SetMesh(theMesh MeshObject) error
- func (inst LevelSet) SetMeshBBoxOnly(meshBBoxOnly bool) error
- func (inst LevelSet) SetMinFeatureSize(minFeatureSize float64) error
- func (inst LevelSet) SetTransform(transform Transform) error
- func (inst LevelSet) SetVolumeData(theVolumeData VolumeData) error
- type LevelSetIterator
- type Log2Node
- type Log10Node
- type LogNode
- type MatVecMultiplicationNode
- type MaterialMapping
- type Matrix4x4
- type MatrixFromColumnsNode
- func (inst MatrixFromColumnsNode) GetInputA() (ImplicitPort, error)
- func (inst MatrixFromColumnsNode) GetInputB() (ImplicitPort, error)
- func (inst MatrixFromColumnsNode) GetInputC() (ImplicitPort, error)
- func (inst MatrixFromColumnsNode) GetInputD() (ImplicitPort, error)
- func (inst MatrixFromColumnsNode) GetOutputResult() (ImplicitPort, error)
- type MatrixFromRowsNode
- func (inst MatrixFromRowsNode) GetInputA() (ImplicitPort, error)
- func (inst MatrixFromRowsNode) GetInputB() (ImplicitPort, error)
- func (inst MatrixFromRowsNode) GetInputC() (ImplicitPort, error)
- func (inst MatrixFromRowsNode) GetInputD() (ImplicitPort, error)
- func (inst MatrixFromRowsNode) GetOutputResult() (ImplicitPort, error)
- type MaxNode
- type MeshNode
- type MeshObject
- func (inst MeshObject) AddTriangle(indices Triangle) (uint32, error)
- func (inst MeshObject) AddTriangleSet(identifier string, name string) (TriangleSet, error)
- func (inst MeshObject) AddVertex(coordinates Position) (uint32, error)
- func (inst MeshObject) BeamLattice() (BeamLattice, error)
- func (inst MeshObject) ClearAllProperties() error
- func (inst MeshObject) FindTriangleSet(identifier string) (TriangleSet, error)
- func (inst MeshObject) GetAllTriangleProperties(propertiesArray []TriangleProperties) ([]TriangleProperties, error)
- func (inst MeshObject) GetObjectLevelProperty() (uint32, uint32, bool, error)
- func (inst MeshObject) GetTriangle(index uint32) (Triangle, error)
- func (inst MeshObject) GetTriangleCount() (uint32, error)
- func (inst MeshObject) GetTriangleIndices(indices []Triangle) ([]Triangle, error)
- func (inst MeshObject) GetTriangleProperties(index uint32) (TriangleProperties, error)
- func (inst MeshObject) GetTriangleSet(index uint32) (TriangleSet, error)
- func (inst MeshObject) GetTriangleSetCount() (uint32, error)
- func (inst MeshObject) GetVertex(index uint32) (Position, error)
- func (inst MeshObject) GetVertexCount() (uint32, error)
- func (inst MeshObject) GetVertices(vertices []Position) ([]Position, error)
- func (inst MeshObject) GetVolumeData() (*VolumeData, error)
- func (inst MeshObject) HasTriangleSet(identifier string) (bool, error)
- func (inst MeshObject) IsManifoldAndOriented() (bool, error)
- func (inst MeshObject) SetAllTriangleProperties(propertiesArray []TriangleProperties) error
- func (inst MeshObject) SetGeometry(vertices []Position, indices []Triangle) error
- func (inst MeshObject) SetObjectLevelProperty(uniqueResourceID uint32, propertyID uint32) error
- func (inst MeshObject) SetTriangle(index uint32, indices Triangle) error
- func (inst MeshObject) SetTriangleProperties(index uint32, properties TriangleProperties) error
- func (inst MeshObject) SetVertex(index uint32, coordinates Position) error
- func (inst MeshObject) SetVolumeData(theVolumeData VolumeData) error
- type MeshObjectIterator
- type MetaData
- func (inst MetaData) GetKey() (string, error)
- func (inst MetaData) GetMustPreserve() (bool, error)
- func (inst MetaData) GetName() (string, error)
- func (inst MetaData) GetNameSpace() (string, error)
- func (inst MetaData) GetType() (string, error)
- func (inst MetaData) GetValue() (string, error)
- func (inst MetaData) SetMustPreserve(mustPreserve bool) error
- func (inst MetaData) SetName(name string) error
- func (inst MetaData) SetNameSpace(nameSpace string) error
- func (inst MetaData) SetType(_type string) error
- func (inst MetaData) SetValue(value string) error
- type MetaDataGroup
- func (inst MetaDataGroup) AddMetaData(nameSpace string, name string, value string, _type string, mustPreserve bool) (MetaData, error)
- func (inst MetaDataGroup) GetMetaData(index uint32) (MetaData, error)
- func (inst MetaDataGroup) GetMetaDataByKey(nameSpace string, name string) (MetaData, error)
- func (inst MetaDataGroup) GetMetaDataCount() (uint32, error)
- func (inst MetaDataGroup) RemoveMetaData(theMetaData MetaData) error
- func (inst MetaDataGroup) RemoveMetaDataByIndex(index uint32) error
- type MgfAlgorithm
- type MinNode
- type ModNode
- type Model
- func (inst Model) AddAttachment(uRI string, relationShipType string) (Attachment, error)
- func (inst Model) AddBaseMaterialGroup() (BaseMaterialGroup, error)
- func (inst Model) AddBuildItem(object Object, transform Transform) (BuildItem, error)
- func (inst Model) AddColorGroup() (ColorGroup, error)
- func (inst Model) AddComponentsObject() (ComponentsObject, error)
- func (inst Model) AddCompositeMaterials(baseMaterialGroupInstance BaseMaterialGroup) (CompositeMaterials, error)
- func (inst Model) AddCustomContentType(extension string, contentType string) error
- func (inst Model) AddFunctionFromImage3D(image3DInstance Image3D) (FunctionFromImage3D, error)
- func (inst Model) AddImageStack(columnCount uint32, rowCount uint32, sheetCount uint32) (ImageStack, error)
- func (inst Model) AddImplicitFunction() (ImplicitFunction, error)
- func (inst Model) AddLevelSet() (LevelSet, error)
- func (inst Model) AddMeshObject() (MeshObject, error)
- func (inst Model) AddMultiPropertyGroup() (MultiPropertyGroup, error)
- func (inst Model) AddSliceStack(zBottom float64) (SliceStack, error)
- func (inst Model) AddTexture2DFromAttachment(textureAttachment Attachment) (Texture2D, error)
- func (inst Model) AddTexture2DGroup(texture2DInstance Texture2D) (Texture2DGroup, error)
- func (inst Model) AddVolumeData() (VolumeData, error)
- func (inst Model) CreatePackageThumbnailAttachment() (Attachment, error)
- func (inst Model) FindAttachment(uRI string) (Attachment, error)
- func (inst Model) FindOrCreatePackagePart(absolutePath string) (PackagePart, error)
- func (inst Model) GetAttachment(index uint32) (Attachment, error)
- func (inst Model) GetAttachmentCount() (uint32, error)
- func (inst Model) GetBaseMaterialGroupByID(uniqueResourceID uint32) (BaseMaterialGroup, error)
- func (inst Model) GetBaseMaterialGroups() (BaseMaterialGroupIterator, error)
- func (inst Model) GetBuildItems() (BuildItemIterator, error)
- func (inst Model) GetBuildUUID() (bool, string, error)
- func (inst Model) GetColorGroupByID(uniqueResourceID uint32) (ColorGroup, error)
- func (inst Model) GetColorGroups() (ColorGroupIterator, error)
- func (inst Model) GetComponentsObjectByID(uniqueResourceID uint32) (ComponentsObject, error)
- func (inst Model) GetComponentsObjects() (ComponentsObjectIterator, error)
- func (inst Model) GetCompositeMaterials() (CompositeMaterialsIterator, error)
- func (inst Model) GetCompositeMaterialsByID(uniqueResourceID uint32) (CompositeMaterials, error)
- func (inst Model) GetFunctions() (FunctionIterator, error)
- func (inst Model) GetImage3Ds() (Image3DIterator, error)
- func (inst Model) GetImageStackByID(uniqueResourceID uint32) (ImageStack, error)
- func (inst Model) GetKeyStore() (KeyStore, error)
- func (inst Model) GetLanguage() (string, error)
- func (inst Model) GetLevelSetByID(uniqueResourceID uint32) (LevelSet, error)
- func (inst Model) GetLevelSets() (LevelSetIterator, error)
- func (inst Model) GetMeshObjectByID(uniqueResourceID uint32) (MeshObject, error)
- func (inst Model) GetMeshObjects() (MeshObjectIterator, error)
- func (inst Model) GetMetaDataGroup() (MetaDataGroup, error)
- func (inst Model) GetMultiPropertyGroupByID(uniqueResourceID uint32) (MultiPropertyGroup, error)
- func (inst Model) GetMultiPropertyGroups() (MultiPropertyGroupIterator, error)
- func (inst Model) GetObjects() (ObjectIterator, error)
- func (inst Model) GetOutbox() (Box, error)
- func (inst Model) GetPackageThumbnailAttachment() (*Attachment, error)
- func (inst Model) GetPropertyTypeByID(uniqueResourceID uint32) (PropertyType, error)
- func (inst Model) GetResourceByID(uniqueResourceID uint32) (Resource, error)
- func (inst Model) GetResources() (ResourceIterator, error)
- func (inst Model) GetSliceStackByID(uniqueResourceID uint32) (SliceStack, error)
- func (inst Model) GetSliceStacks() (SliceStackIterator, error)
- func (inst Model) GetTexture2DByID(uniqueResourceID uint32) (Texture2D, error)
- func (inst Model) GetTexture2DGroupByID(uniqueResourceID uint32) (Texture2DGroup, error)
- func (inst Model) GetTexture2DGroups() (Texture2DGroupIterator, error)
- func (inst Model) GetTexture2Ds() (Texture2DIterator, error)
- func (inst Model) GetUnit() (ModelUnit, error)
- func (inst Model) HasPackageThumbnailAttachment() (bool, error)
- func (inst Model) MergeFromModel(modelInstance Model) error
- func (inst Model) MergeToModel() (Model, error)
- func (inst Model) QueryReader(readerClass string) (Reader, error)
- func (inst Model) QueryWriter(writerClass string) (Writer, error)
- func (inst Model) RemoveAttachment(attachmentInstance Attachment) error
- func (inst Model) RemoveBuildItem(buildItemInstance BuildItem) error
- func (inst Model) RemoveCustomContentType(extension string) error
- func (inst Model) RemovePackageThumbnailAttachment() error
- func (inst Model) RemoveResource(resource Resource) error
- func (inst Model) RootModelPart() (PackagePart, error)
- func (inst Model) SetBuildUUID(uUID string) error
- func (inst Model) SetLanguage(language string) error
- func (inst Model) SetRandomNumberCallback(theCallback RandomNumberCallbackFunc, userData uintptr) error
- func (inst Model) SetUnit(unit ModelUnit) error
- type ModelUnit
- type MultiPropertyGroup
- func (inst MultiPropertyGroup) AddLayer(theLayer MultiPropertyLayer) (uint32, error)
- func (inst MultiPropertyGroup) AddMultiProperty(propertyIDs []uint32) (uint32, error)
- func (inst MultiPropertyGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
- func (inst MultiPropertyGroup) GetCount() (uint32, error)
- func (inst MultiPropertyGroup) GetLayer(layerIndex uint32) (MultiPropertyLayer, error)
- func (inst MultiPropertyGroup) GetLayerCount() (uint32, error)
- func (inst MultiPropertyGroup) GetMultiProperty(propertyID uint32, propertyIDs []uint32) ([]uint32, error)
- func (inst MultiPropertyGroup) RemoveLayer(layerIndex uint32) error
- func (inst MultiPropertyGroup) RemoveMultiProperty(propertyID uint32) error
- func (inst MultiPropertyGroup) SetMultiProperty(propertyID uint32, propertyIDs []uint32) error
- type MultiPropertyGroupIterator
- type MultiPropertyLayer
- type MultiplicationNode
- type NodeIterator
- type Object
- func (inst Object) AssignSliceStack(sliceStackInstance SliceStack) error
- func (inst Object) ClearSliceStack() error
- func (inst Object) ClearThumbnailAttachment() error
- func (inst Object) GetMetaDataGroup() (MetaDataGroup, error)
- func (inst Object) GetName() (string, error)
- func (inst Object) GetOutbox() (Box, error)
- func (inst Object) GetPartNumber() (string, error)
- func (inst Object) GetSliceStack() (SliceStack, error)
- func (inst Object) GetSlicesMeshResolution() (SlicesMeshResolution, error)
- func (inst Object) GetThumbnailAttachment() (*Attachment, error)
- func (inst Object) GetType() (ObjectType, error)
- func (inst Object) GetUUID() (bool, string, error)
- func (inst Object) HasSlices(recursive bool) (bool, error)
- func (inst Object) IsComponentsObject() (bool, error)
- func (inst Object) IsLevelSetObject() (bool, error)
- func (inst Object) IsMeshObject() (bool, error)
- func (inst Object) IsValid() (bool, error)
- func (inst Object) SetAttachmentAsThumbnail(attachment Attachment) error
- func (inst Object) SetName(name string) error
- func (inst Object) SetPartNumber(partNumber string) error
- func (inst Object) SetSlicesMeshResolution(meshResolution SlicesMeshResolution) error
- func (inst Object) SetType(objectType ObjectType) error
- func (inst Object) SetUUID(uUID string) error
- type ObjectIterator
- type ObjectType
- type OneInputNode
- type PackagePart
- type Position
- type Position2D
- type PowNode
- type ProgressCallbackFunc
- type ProgressIdentifier
- type PropertyType
- type RandomNumberCallbackFunc
- type ReadCallbackFunc
- type Reader
- func (inst Reader) AddKeyWrappingCallback(consumerID string, theCallback KeyWrappingCallbackFunc, userData uintptr) error
- func (inst Reader) AddRelationToRead(relationShipType string) error
- func (inst Reader) GetStrictModeActive() (bool, error)
- func (inst Reader) GetWarning(index uint32) (uint32, string, error)
- func (inst Reader) GetWarningCount() (uint32, error)
- func (inst Reader) ReadFromBuffer(buffer []uint8) error
- func (inst Reader) ReadFromCallback(theReadCallback ReadCallbackFunc, streamSize uint64, ...) error
- func (inst Reader) ReadFromFile(filename string) error
- func (inst Reader) RemoveRelationToRead(relationShipType string) error
- func (inst Reader) SetContentEncryptionCallback(theCallback ContentEncryptionCallbackFunc, userData uintptr) error
- func (inst Reader) SetProgressCallback(progressCallback ProgressCallbackFunc, userData uintptr) error
- func (inst Reader) SetStrictModeActive(strictModeActive bool) error
- type Resource
- type ResourceData
- type ResourceDataGroup
- func (inst ResourceDataGroup) AddAccessRight(consumer Consumer, wrappingAlgorithm WrappingAlgorithm, ...) (AccessRight, error)
- func (inst ResourceDataGroup) FindAccessRightByConsumer(consumer Consumer) (*AccessRight, error)
- func (inst ResourceDataGroup) GetKeyUUID() (string, error)
- func (inst ResourceDataGroup) RemoveAccessRight(consumer Consumer) error
- type ResourceIdNode
- type ResourceIterator
- type RoundNode
- type SeekCallbackFunc
- type SelectNode
- type SignNode
- type SinNode
- type SinhNode
- type Slice
- func (inst Slice) AddPolygon(indices []uint32) (uint64, error)
- func (inst Slice) GetPolygonCount() (uint64, error)
- func (inst Slice) GetPolygonIndexCount(index uint64) (uint64, error)
- func (inst Slice) GetPolygonIndices(index uint64, indices []uint32) ([]uint32, error)
- func (inst Slice) GetVertexCount() (uint64, error)
- func (inst Slice) GetVertices(vertices []Position2D) ([]Position2D, error)
- func (inst Slice) GetZTop() (float64, error)
- func (inst Slice) SetPolygonIndices(index uint64, indices []uint32) error
- func (inst Slice) SetVertices(vertices []Position2D) error
- type SliceStack
- func (inst SliceStack) AddSlice(zTop float64) (Slice, error)
- func (inst SliceStack) AddSliceStackReference(theSliceStack SliceStack) error
- func (inst SliceStack) CollapseSliceReferences() error
- func (inst SliceStack) GetBottomZ() (float64, error)
- func (inst SliceStack) GetOwnPath() (string, error)
- func (inst SliceStack) GetSlice(sliceIndex uint64) (Slice, error)
- func (inst SliceStack) GetSliceCount() (uint64, error)
- func (inst SliceStack) GetSliceRefCount() (uint64, error)
- func (inst SliceStack) GetSliceStackReference(sliceRefIndex uint64) (SliceStack, error)
- func (inst SliceStack) SetOwnPath(path string) error
- type SliceStackIterator
- type SlicesMeshResolution
- type SqrtNode
- type SubtractionNode
- type TanNode
- type TanhNode
- type Tex2Coord
- type Texture2D
- func (inst Texture2D) GetAttachment() (Attachment, error)
- func (inst Texture2D) GetContentType() (TextureType, error)
- func (inst Texture2D) GetFilter() (TextureFilter, error)
- func (inst Texture2D) GetTileStyleUV() (TextureTileStyle, TextureTileStyle, error)
- func (inst Texture2D) SetAttachment(attachment Attachment) error
- func (inst Texture2D) SetContentType(contentType TextureType) error
- func (inst Texture2D) SetFilter(filter TextureFilter) error
- func (inst Texture2D) SetTileStyleUV(tileStyleU TextureTileStyle, tileStyleV TextureTileStyle) error
- type Texture2DGroup
- func (inst Texture2DGroup) AddTex2Coord(uVCoordinate Tex2Coord) (uint32, error)
- func (inst Texture2DGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
- func (inst Texture2DGroup) GetCount() (uint32, error)
- func (inst Texture2DGroup) GetTex2Coord(propertyID uint32) (Tex2Coord, error)
- func (inst Texture2DGroup) GetTexture2D() (Texture2D, error)
- func (inst Texture2DGroup) RemoveTex2Coord(propertyID uint32) error
- type Texture2DGroupIterator
- type Texture2DIterator
- type TextureFilter
- type TextureTileStyle
- type TextureType
- type Transform
- type TransposeNode
- type Triangle
- type TriangleProperties
- type TriangleSet
- func (inst TriangleSet) AddTriangle(triangleIndex uint32) error
- func (inst TriangleSet) AddTriangleList(triangleIndices []uint32) error
- func (inst TriangleSet) Clear() error
- func (inst TriangleSet) DeleteSet() error
- func (inst TriangleSet) Duplicate(identifier string) (TriangleSet, error)
- func (inst TriangleSet) GetIdentifier() (string, error)
- func (inst TriangleSet) GetName() (string, error)
- func (inst TriangleSet) GetTriangleList(triangleIndices []uint32) ([]uint32, error)
- func (inst TriangleSet) Merge(otherTriangleSet TriangleSet, deleteOther bool) error
- func (inst TriangleSet) RemoveTriangle(triangleIndex uint32) error
- func (inst TriangleSet) SetIdentifier(identifier string) error
- func (inst TriangleSet) SetName(name string) error
- func (inst TriangleSet) SetTriangleList(triangleIndices []uint32) error
- type TwoInputNode
- type UnsignedMeshNode
- type Vector
- type VectorFromScalarNode
- type VolumeData
- func (inst VolumeData) AddPropertyFromFunction(name string, theFunction Function) (VolumeDataProperty, error)
- func (inst VolumeData) CreateNewColor(theFunction Function) (VolumeDataColor, error)
- func (inst VolumeData) CreateNewComposite() (VolumeDataComposite, error)
- func (inst VolumeData) GetColor() (*VolumeDataColor, error)
- func (inst VolumeData) GetComposite() (*VolumeDataComposite, error)
- func (inst VolumeData) GetProperty(index uint32) (VolumeDataProperty, error)
- func (inst VolumeData) GetPropertyCount() (uint32, error)
- func (inst VolumeData) RemoveColor() error
- func (inst VolumeData) RemoveComposite() error
- func (inst VolumeData) RemoveProperty(index uint32) error
- type VolumeDataColor
- type VolumeDataComposite
- func (inst VolumeDataComposite) AddMaterialMapping(transform Transform) (MaterialMapping, error)
- func (inst VolumeDataComposite) GetBaseMaterialGroup() (BaseMaterialGroup, error)
- func (inst VolumeDataComposite) GetMaterialMapping(index uint32) (MaterialMapping, error)
- func (inst VolumeDataComposite) GetMaterialMappingCount() (uint32, error)
- func (inst VolumeDataComposite) RemoveMaterialMapping(index uint32) error
- func (inst VolumeDataComposite) SetBaseMaterialGroup(baseMaterialGroupInstance BaseMaterialGroup) error
- type VolumeDataProperty
- type WrappedError
- type Wrapper
- func (wrapper Wrapper) Acquire(instance Base) error
- func (wrapper Wrapper) CheckBinaryVersion() error
- func (wrapper Wrapper) ColorToFloatRGBA(theColor Color) (float32, float32, float32, float32, error)
- func (wrapper Wrapper) ColorToRGBA(theColor Color) (uint8, uint8, uint8, uint8, error)
- func (wrapper Wrapper) CreateModel() (Model, error)
- func (wrapper Wrapper) FloatRGBAToColor(red float32, green float32, blue float32, alpha float32) (Color, error)
- func (wrapper Wrapper) GetBuildInformation() (bool, string, error)
- func (wrapper Wrapper) GetIdentityTransform() (Transform, error)
- func (wrapper Wrapper) GetLastError(instance Base) (string, bool, error)
- func (wrapper Wrapper) GetLibraryVersion() (uint32, uint32, uint32, error)
- func (wrapper Wrapper) GetPrereleaseInformation() (bool, string, error)
- func (wrapper Wrapper) GetScaleTransform(factorX float32, factorY float32, factorZ float32) (Transform, error)
- func (wrapper Wrapper) GetSpecificationVersion(specificationURL string) (bool, uint32, uint32, uint32, error)
- func (wrapper Wrapper) GetSymbolLookupMethod() (uintptr, error)
- func (wrapper Wrapper) GetTranslationTransform(vectorX float32, vectorY float32, vectorZ float32) (Transform, error)
- func (wrapper Wrapper) GetUniformScaleTransform(factor float32) (Transform, error)
- func (wrapper Wrapper) NewAbsNode(r ref) AbsNode
- func (wrapper Wrapper) NewAccessRight(r ref) AccessRight
- func (wrapper Wrapper) NewAdditionNode(r ref) AdditionNode
- func (wrapper Wrapper) NewArcCosNode(r ref) ArcCosNode
- func (wrapper Wrapper) NewArcSinNode(r ref) ArcSinNode
- func (wrapper Wrapper) NewArcTan2Node(r ref) ArcTan2Node
- func (wrapper Wrapper) NewArcTanNode(r ref) ArcTanNode
- func (wrapper Wrapper) NewAttachment(r ref) Attachment
- func (wrapper Wrapper) NewBase(r ref) Base
- func (wrapper Wrapper) NewBaseMaterialGroup(r ref) BaseMaterialGroup
- func (wrapper Wrapper) NewBaseMaterialGroupIterator(r ref) BaseMaterialGroupIterator
- func (wrapper Wrapper) NewBeamLattice(r ref) BeamLattice
- func (wrapper Wrapper) NewBeamSet(r ref) BeamSet
- func (wrapper Wrapper) NewBuildItem(r ref) BuildItem
- func (wrapper Wrapper) NewBuildItemIterator(r ref) BuildItemIterator
- func (wrapper Wrapper) NewCeilNode(r ref) CeilNode
- func (wrapper Wrapper) NewClampNode(r ref) ClampNode
- func (wrapper Wrapper) NewColorGroup(r ref) ColorGroup
- func (wrapper Wrapper) NewColorGroupIterator(r ref) ColorGroupIterator
- func (wrapper Wrapper) NewComponent(r ref) Component
- func (wrapper Wrapper) NewComponentsObject(r ref) ComponentsObject
- func (wrapper Wrapper) NewComponentsObjectIterator(r ref) ComponentsObjectIterator
- func (wrapper Wrapper) NewComposeMatrixNode(r ref) ComposeMatrixNode
- func (wrapper Wrapper) NewComposeVectorNode(r ref) ComposeVectorNode
- func (wrapper Wrapper) NewCompositeMaterials(r ref) CompositeMaterials
- func (wrapper Wrapper) NewCompositeMaterialsIterator(r ref) CompositeMaterialsIterator
- func (wrapper Wrapper) NewConstMatNode(r ref) ConstMatNode
- func (wrapper Wrapper) NewConstVecNode(r ref) ConstVecNode
- func (wrapper Wrapper) NewConstantNode(r ref) ConstantNode
- func (wrapper Wrapper) NewConsumer(r ref) Consumer
- func (wrapper Wrapper) NewContentEncryptionParams(r ref) ContentEncryptionParams
- func (wrapper Wrapper) NewCosNode(r ref) CosNode
- func (wrapper Wrapper) NewCoshNode(r ref) CoshNode
- func (wrapper Wrapper) NewCrossNode(r ref) CrossNode
- func (wrapper Wrapper) NewDecomposeVectorNode(r ref) DecomposeVectorNode
- func (wrapper Wrapper) NewDivisionNode(r ref) DivisionNode
- func (wrapper Wrapper) NewDotNode(r ref) DotNode
- func (wrapper Wrapper) NewExpNode(r ref) ExpNode
- func (wrapper Wrapper) NewFloorNode(r ref) FloorNode
- func (wrapper Wrapper) NewFmodNode(r ref) FmodNode
- func (wrapper Wrapper) NewFractNode(r ref) FractNode
- func (wrapper Wrapper) NewFunction(r ref) Function
- func (wrapper Wrapper) NewFunctionCallNode(r ref) FunctionCallNode
- func (wrapper Wrapper) NewFunctionFromImage3D(r ref) FunctionFromImage3D
- func (wrapper Wrapper) NewFunctionIterator(r ref) FunctionIterator
- func (wrapper Wrapper) NewFunctionReference(r ref) FunctionReference
- func (wrapper Wrapper) NewImage3D(r ref) Image3D
- func (wrapper Wrapper) NewImage3DIterator(r ref) Image3DIterator
- func (wrapper Wrapper) NewImageStack(r ref) ImageStack
- func (wrapper Wrapper) NewImplicitFunction(r ref) ImplicitFunction
- func (wrapper Wrapper) NewImplicitNode(r ref) ImplicitNode
- func (wrapper Wrapper) NewImplicitPort(r ref) ImplicitPort
- func (wrapper Wrapper) NewImplicitPortIterator(r ref) ImplicitPortIterator
- func (wrapper Wrapper) NewInverseNode(r ref) InverseNode
- func (wrapper Wrapper) NewIterator(r ref) Iterator
- func (wrapper Wrapper) NewKeyStore(r ref) KeyStore
- func (wrapper Wrapper) NewLengthNode(r ref) LengthNode
- func (wrapper Wrapper) NewLevelSet(r ref) LevelSet
- func (wrapper Wrapper) NewLevelSetIterator(r ref) LevelSetIterator
- func (wrapper Wrapper) NewLog2Node(r ref) Log2Node
- func (wrapper Wrapper) NewLog10Node(r ref) Log10Node
- func (wrapper Wrapper) NewLogNode(r ref) LogNode
- func (wrapper Wrapper) NewMatVecMultiplicationNode(r ref) MatVecMultiplicationNode
- func (wrapper Wrapper) NewMaterialMapping(r ref) MaterialMapping
- func (wrapper Wrapper) NewMatrixFromColumnsNode(r ref) MatrixFromColumnsNode
- func (wrapper Wrapper) NewMatrixFromRowsNode(r ref) MatrixFromRowsNode
- func (wrapper Wrapper) NewMaxNode(r ref) MaxNode
- func (wrapper Wrapper) NewMeshNode(r ref) MeshNode
- func (wrapper Wrapper) NewMeshObject(r ref) MeshObject
- func (wrapper Wrapper) NewMeshObjectIterator(r ref) MeshObjectIterator
- func (wrapper Wrapper) NewMetaData(r ref) MetaData
- func (wrapper Wrapper) NewMetaDataGroup(r ref) MetaDataGroup
- func (wrapper Wrapper) NewMinNode(r ref) MinNode
- func (wrapper Wrapper) NewModNode(r ref) ModNode
- func (wrapper Wrapper) NewModel(r ref) Model
- func (wrapper Wrapper) NewMultiPropertyGroup(r ref) MultiPropertyGroup
- func (wrapper Wrapper) NewMultiPropertyGroupIterator(r ref) MultiPropertyGroupIterator
- func (wrapper Wrapper) NewMultiplicationNode(r ref) MultiplicationNode
- func (wrapper Wrapper) NewNodeIterator(r ref) NodeIterator
- func (wrapper Wrapper) NewObject(r ref) Object
- func (wrapper Wrapper) NewObjectIterator(r ref) ObjectIterator
- func (wrapper Wrapper) NewOneInputNode(r ref) OneInputNode
- func (wrapper Wrapper) NewPackagePart(r ref) PackagePart
- func (wrapper Wrapper) NewPowNode(r ref) PowNode
- func (wrapper Wrapper) NewReader(r ref) Reader
- func (wrapper Wrapper) NewResource(r ref) Resource
- func (wrapper Wrapper) NewResourceData(r ref) ResourceData
- func (wrapper Wrapper) NewResourceDataGroup(r ref) ResourceDataGroup
- func (wrapper Wrapper) NewResourceIdNode(r ref) ResourceIdNode
- func (wrapper Wrapper) NewResourceIterator(r ref) ResourceIterator
- func (wrapper Wrapper) NewRoundNode(r ref) RoundNode
- func (wrapper Wrapper) NewSelectNode(r ref) SelectNode
- func (wrapper Wrapper) NewSignNode(r ref) SignNode
- func (wrapper Wrapper) NewSinNode(r ref) SinNode
- func (wrapper Wrapper) NewSinhNode(r ref) SinhNode
- func (wrapper Wrapper) NewSlice(r ref) Slice
- func (wrapper Wrapper) NewSliceStack(r ref) SliceStack
- func (wrapper Wrapper) NewSliceStackIterator(r ref) SliceStackIterator
- func (wrapper Wrapper) NewSqrtNode(r ref) SqrtNode
- func (wrapper Wrapper) NewSubtractionNode(r ref) SubtractionNode
- func (wrapper Wrapper) NewTanNode(r ref) TanNode
- func (wrapper Wrapper) NewTanhNode(r ref) TanhNode
- func (wrapper Wrapper) NewTexture2D(r ref) Texture2D
- func (wrapper Wrapper) NewTexture2DGroup(r ref) Texture2DGroup
- func (wrapper Wrapper) NewTexture2DGroupIterator(r ref) Texture2DGroupIterator
- func (wrapper Wrapper) NewTexture2DIterator(r ref) Texture2DIterator
- func (wrapper Wrapper) NewTransposeNode(r ref) TransposeNode
- func (wrapper Wrapper) NewTriangleSet(r ref) TriangleSet
- func (wrapper Wrapper) NewTwoInputNode(r ref) TwoInputNode
- func (wrapper Wrapper) NewUnsignedMeshNode(r ref) UnsignedMeshNode
- func (wrapper Wrapper) NewVectorFromScalarNode(r ref) VectorFromScalarNode
- func (wrapper Wrapper) NewVolumeData(r ref) VolumeData
- func (wrapper Wrapper) NewVolumeDataColor(r ref) VolumeDataColor
- func (wrapper Wrapper) NewVolumeDataComposite(r ref) VolumeDataComposite
- func (wrapper Wrapper) NewVolumeDataProperty(r ref) VolumeDataProperty
- func (wrapper Wrapper) NewWriter(r ref) Writer
- func (wrapper Wrapper) RGBAToColor(red uint8, green uint8, blue uint8, alpha uint8) (Color, error)
- func (wrapper Wrapper) Release(instance Base) error
- func (wrapper Wrapper) RetrieveProgressMessage(theProgressIdentifier ProgressIdentifier) (string, error)
- func (wrapper Wrapper) SetJournal(journalPath string) error
- type WrappingAlgorithm
- type WriteCallbackFunc
- type Writer
- func (inst Writer) AddKeyWrappingCallback(consumerID string, theCallback KeyWrappingCallbackFunc, userData uintptr) error
- func (inst Writer) GetDecimalPrecision() (uint32, error)
- func (inst Writer) GetStreamSize() (uint64, error)
- func (inst Writer) GetStrictModeActive() (bool, error)
- func (inst Writer) GetWarning(index uint32) (uint32, string, error)
- func (inst Writer) GetWarningCount() (uint32, error)
- func (inst Writer) SetContentEncryptionCallback(theCallback ContentEncryptionCallbackFunc, userData uintptr) error
- func (inst Writer) SetDecimalPrecision(decimalPrecision uint32) error
- func (inst Writer) SetProgressCallback(progressCallback ProgressCallbackFunc, userData uintptr) error
- func (inst Writer) SetStrictModeActive(strictModeActive bool) error
- func (inst Writer) WriteToBuffer(buffer []uint8) ([]uint8, error)
- func (inst Writer) WriteToCallback(theWriteCallback WriteCallbackFunc, theSeekCallback SeekCallbackFunc, ...) error
- func (inst Writer) WriteToFile(filename string) error
Constants ¶
const ( PropertyType_NoPropertyType = 0 PropertyType_BaseMaterial = 1 PropertyType_TexCoord = 2 PropertyType_Colors = 3 PropertyType_Composite = 4 PropertyType_Multi = 5 )
const ( SlicesMeshResolution_Fullres = 0 SlicesMeshResolution_Lowres = 1 )
const ( ModelUnit_MicroMeter = 0 ModelUnit_MilliMeter = 1 ModelUnit_CentiMeter = 2 ModelUnit_Inch = 3 ModelUnit_Foot = 4 ModelUnit_Meter = 5 )
const ( ObjectType_Other = 0 ObjectType_Model = 1 ObjectType_Support = 2 ObjectType_SolidSupport = 3 )
const ( TextureType_Unknown = 0 TextureType_PNG = 1 TextureType_JPEG = 2 )
const ( TextureTileStyle_Wrap = 0 TextureTileStyle_Mirror = 1 TextureTileStyle_Clamp = 2 TextureTileStyle_NoTileStyle = 3 )
const ( TextureFilter_Auto = 0 TextureFilter_Linear = 1 TextureFilter_Nearest = 2 )
const ( BeamLatticeCapMode_Sphere = 0 BeamLatticeCapMode_HemiSphere = 1 BeamLatticeCapMode_Butt = 2 )
const ( BeamLatticeClipMode_NoClipMode = 0 BeamLatticeClipMode_Inside = 1 BeamLatticeClipMode_Outside = 2 )
const ( BeamLatticeBallMode_BeamLatticeBallModeNone = 0 BeamLatticeBallMode_Mixed = 1 BeamLatticeBallMode_All = 2 )
const ( ProgressIdentifier_QUERYCANCELED = 0 ProgressIdentifier_DONE = 1 ProgressIdentifier_CLEANUP = 2 ProgressIdentifier_READSTREAM = 3 ProgressIdentifier_EXTRACTOPCPACKAGE = 4 ProgressIdentifier_READNONROOTMODELS = 5 ProgressIdentifier_READROOTMODEL = 6 ProgressIdentifier_READRESOURCES = 7 ProgressIdentifier_READMESH = 8 ProgressIdentifier_READSLICES = 9 ProgressIdentifier_READBUILD = 10 ProgressIdentifier_READCUSTOMATTACHMENT = 11 ProgressIdentifier_READTEXTURETACHMENTS = 12 ProgressIdentifier_CREATEOPCPACKAGE = 13 ProgressIdentifier_WRITEMODELSTOSTREAM = 14 ProgressIdentifier_WRITEROOTMODEL = 15 ProgressIdentifier_WRITENONROOTMODELS = 16 ProgressIdentifier_WRITEATTACHMENTS = 17 ProgressIdentifier_WRITECONTENTTYPES = 18 ProgressIdentifier_WRITENOBJECTS = 19 ProgressIdentifier_WRITENODES = 20 ProgressIdentifier_WRITETRIANGLES = 21 ProgressIdentifier_WRITESLICES = 22 ProgressIdentifier_WRITEKEYSTORE = 23 )
const ( BlendMethod_NoBlendMethod = 0 BlendMethod_Mix = 1 BlendMethod_Multiply = 2 )
const ( ChannelName_Red = 0 ChannelName_Green = 1 ChannelName_Blue = 2 ChannelName_Alpha = 3 )
const ( CompositionMethod_WeightedSum = 0 CompositionMethod_Multiply = 1 CompositionMethod_Min = 2 CompositionMethod_Max = 3 CompositionMethod_Mask = 4 )
const ( CompositionSpace_Raw = 0 CompositionSpace_LinearColor = 1 )
const ( ImplicitNodeType_Addition = 0 ImplicitNodeType_Subtraction = 1 ImplicitNodeType_Multiplication = 2 ImplicitNodeType_Division = 3 ImplicitNodeType_Constant = 4 ImplicitNodeType_ConstVec = 5 ImplicitNodeType_ConstMat = 6 ImplicitNodeType_ComposeVector = 7 ImplicitNodeType_DecomposeVector = 8 ImplicitNodeType_ComposeMatrix = 9 ImplicitNodeType_MatrixFromColumns = 10 ImplicitNodeType_MatrixFromRows = 11 ImplicitNodeType_Dot = 12 ImplicitNodeType_Cross = 13 ImplicitNodeType_MatVecMultiplication = 14 ImplicitNodeType_Transpose = 15 ImplicitNodeType_Inverse = 16 ImplicitNodeType_Sinus = 17 ImplicitNodeType_Cosinus = 18 ImplicitNodeType_Tan = 19 ImplicitNodeType_ArcSin = 20 ImplicitNodeType_ArcCos = 21 ImplicitNodeType_ArcTan = 22 ImplicitNodeType_ArcTan2 = 23 ImplicitNodeType_Min = 24 ImplicitNodeType_Max = 25 ImplicitNodeType_Abs = 26 ImplicitNodeType_Fmod = 27 ImplicitNodeType_Pow = 28 ImplicitNodeType_Sqrt = 29 ImplicitNodeType_Exp = 30 ImplicitNodeType_Log = 31 ImplicitNodeType_Log2 = 32 ImplicitNodeType_Log10 = 33 ImplicitNodeType_Select = 34 ImplicitNodeType_Clamp = 35 ImplicitNodeType_Sinh = 36 ImplicitNodeType_Cosh = 37 ImplicitNodeType_Tanh = 38 ImplicitNodeType_Round = 39 ImplicitNodeType_Ceil = 40 ImplicitNodeType_Floor = 41 ImplicitNodeType_Sign = 42 ImplicitNodeType_Fract = 43 ImplicitNodeType_FunctionCall = 44 ImplicitNodeType_Mesh = 45 ImplicitNodeType_Length = 46 ImplicitNodeType_ConstResourceID = 47 ImplicitNodeType_VectorFromScalar = 48 ImplicitNodeType_UnsignedMesh = 49 ImplicitNodeType_Mod = 50 )
const ( ImplicitPortType_Scalar = 0 ImplicitPortType_Vector = 1 ImplicitPortType_Matrix = 2 ImplicitPortType_ResourceID = 3 )
const ( ImplicitNodeConfiguration_Default = 0 ImplicitNodeConfiguration_ScalarToScalar = 1 ImplicitNodeConfiguration_VectorToVector = 2 ImplicitNodeConfiguration_MatrixToMatrix = 3 )
const ( MgfAlgorithm_MGF1_SHA1 = 160 MgfAlgorithm_MGF1_SHA224 = 224 MgfAlgorithm_MGF1_SHA256 = 256 MgfAlgorithm_MGF1_SHA384 = 384 MgfAlgorithm_MGF1_SHA512 = 512 )
const ( DigestMethod_SHA1 = 160 DigestMethod_SHA256 = 256 )
const ( Compression_NoCompression = 0 Compression_Deflate = 1 )
const (
EncryptionAlgorithm_AES256_GCM = 1
)
const LIB3MF_ERROR_ATTACHMENTNOTFOUND = 121
const LIB3MF_ERROR_BEAMLATTICE_INVALID_OBJECTTYPE = 2000
const LIB3MF_ERROR_BUFFERTOOSMALL = 4
const LIB3MF_ERROR_CALCULATIONABORTED = 10
const LIB3MF_ERROR_COULDNOTFINDLIBRARYEXPORT = 7
const LIB3MF_ERROR_COULDNOTFINDTRIANGLESET = 144
const LIB3MF_ERROR_COULDNOTLOADLIBRARY = 6
const LIB3MF_ERROR_ELEMENTCOUNTEXCEEDSLIMIT = 141
const LIB3MF_ERROR_FORBIDDENCYCLICREFERENCE = 130
const LIB3MF_ERROR_GENERICEXCEPTION = 5
const LIB3MF_ERROR_GRAPHISCYCLIC = 4001
const LIB3MF_ERROR_INCOMPATIBLEBINARYVERSION = 8
const LIB3MF_ERROR_INCOMPATIBLEPORTTYPES = 4000
const LIB3MF_ERROR_INPUTNOTSET = 4002
const LIB3MF_ERROR_INVALIDATTACHMENTSTREAM = 131
const LIB3MF_ERROR_INVALIDBASEMATERIALGROUP = 111
const LIB3MF_ERROR_INVALIDBUILDITEM = 110
const LIB3MF_ERROR_INVALIDCAST = 3
const LIB3MF_ERROR_INVALIDCOLORGROUP = 114
const LIB3MF_ERROR_INVALIDCOMPONENT = 109
const LIB3MF_ERROR_INVALIDCOMPONENTSOBJECT = 108
const LIB3MF_ERROR_INVALIDCOMPOSITEMATERIALS = 116
const LIB3MF_ERROR_INVALIDKEYSIZE = 3005
const LIB3MF_ERROR_INVALIDKEYSTORE = 3000
const LIB3MF_ERROR_INVALIDKEYSTORECONSUMER = 3001
const LIB3MF_ERROR_INVALIDLEVELSET = 143
const LIB3MF_ERROR_INVALIDMESHOBJECT = 107
const LIB3MF_ERROR_INVALIDMODEL = 105
const LIB3MF_ERROR_INVALIDMODELRESOURCE = 103
const LIB3MF_ERROR_INVALIDMULTIPROPERTYGROUP = 117
const LIB3MF_ERROR_INVALIDNODECONFIGURATION = 4003
const LIB3MF_ERROR_INVALIDOBJECT = 106
const LIB3MF_ERROR_INVALIDPARAM = 2
const LIB3MF_ERROR_INVALIDPROPERTYCOUNT = 132
const LIB3MF_ERROR_INVALIDRESOURCE = 142
const LIB3MF_ERROR_INVALIDRESOURCEINDEX = 120
const LIB3MF_ERROR_INVALIDSLICESTACKRESOURCE = 112
const LIB3MF_ERROR_INVALIDTEXTURE2DGROUP = 115
const LIB3MF_ERROR_INVALIDTEXTURERESOURCE = 113
const LIB3MF_ERROR_INVALIDTRIANGLESETINDEX = 145
const LIB3MF_ERROR_ITERATORINVALIDINDEX = 102
const LIB3MF_ERROR_KEYSTORECONSUMERNOTFOUND = 3002
const LIB3MF_ERROR_KEYSTORERESOURCEDATANOTFOUND = 3003
const LIB3MF_ERROR_NOTIMPLEMENTED = 1
Error constants for Lib3MF.
const LIB3MF_ERROR_READERCLASSUNKNOWN = 100
const LIB3MF_ERROR_RESOURCENOTFOUND = 104
const LIB3MF_ERROR_SECURECONTEXTNOTREGISTERED = 3004
const LIB3MF_ERROR_SHOULDNOTBECALLED = 11
const LIB3MF_ERROR_UNKOWNPROGRESSIDENTIFIER = 140
const LIB3MF_ERROR_WRITERCLASSUNKNOWN = 101
const (
WrappingAlgorithm_RSA_OAEP = 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbsNode ¶ added in v2.4.0
type AbsNode struct {
OneInputNode
}
AbsNode represents a Lib3MF class.
type AccessRight ¶
type AccessRight struct {
Base
}
AccessRight represents a Lib3MF class.
func (AccessRight) GetConsumer ¶
func (inst AccessRight) GetConsumer() (Consumer, error)
GetConsumer gets the consumer associated with this access right.
func (AccessRight) GetDigestMethod ¶
func (inst AccessRight) GetDigestMethod() (DigestMethod, error)
GetDigestMethod gets the digest method assoicated.
func (AccessRight) GetMgfAlgorithm ¶
func (inst AccessRight) GetMgfAlgorithm() (MgfAlgorithm, error)
GetMgfAlgorithm gets the associated mask generation function algorithm.
func (AccessRight) GetWrappingAlgorithm ¶
func (inst AccessRight) GetWrappingAlgorithm() (WrappingAlgorithm, error)
GetWrappingAlgorithm gets the associated encryption algorithm.
type AdditionNode ¶ added in v2.4.0
type AdditionNode struct {
TwoInputNode
}
AdditionNode represents a Lib3MF class.
type ArcCosNode ¶ added in v2.4.0
type ArcCosNode struct {
OneInputNode
}
ArcCosNode represents a Lib3MF class.
type ArcSinNode ¶ added in v2.4.0
type ArcSinNode struct {
OneInputNode
}
ArcSinNode represents a Lib3MF class.
type ArcTan2Node ¶ added in v2.4.0
type ArcTan2Node struct {
TwoInputNode
}
ArcTan2Node represents a Lib3MF class.
type ArcTanNode ¶ added in v2.4.0
type ArcTanNode struct {
OneInputNode
}
ArcTanNode represents a Lib3MF class.
type Attachment ¶
type Attachment struct {
Base
}
Attachment represents a Lib3MF class.
func (Attachment) GetPath ¶
func (inst Attachment) GetPath() (string, error)
GetPath retrieves an attachment's package path. This function will be removed in a later release.
func (Attachment) GetRelationShipType ¶
func (inst Attachment) GetRelationShipType() (string, error)
GetRelationShipType retrieves an attachment's relationship type.
func (Attachment) GetStreamSize ¶
func (inst Attachment) GetStreamSize() (uint64, error)
GetStreamSize retrieves the size of the attachment stream.
func (Attachment) PackagePart ¶
func (inst Attachment) PackagePart() (PackagePart, error)
PackagePart returns the PackagePart that is this attachment.
func (Attachment) ReadFromBuffer ¶
func (inst Attachment) ReadFromBuffer(buffer []uint8) error
ReadFromBuffer reads an attachment from a memory buffer. This buffer is immediatly read (in contrast to the ReadFromCallback and ReadFromFile-methods).
func (Attachment) ReadFromCallback ¶
func (inst Attachment) ReadFromCallback(theReadCallback ReadCallbackFunc, streamSize uint64, theSeekCallback SeekCallbackFunc, userData uintptr) error
ReadFromCallback reads an attachment from the data provided by a callback function. This callback function is only invoked when this attachment is being written as part of the 3MF package, or via the WriteToFile or WriteToBuffer-methods.
func (Attachment) ReadFromFile ¶
func (inst Attachment) ReadFromFile(fileName string) error
ReadFromFile reads an attachment from a file. The path of this file is only read when this attachment is being written as part of the 3MF package, or via the WriteToFile or WriteToBuffer-methods.
func (Attachment) SetPath ¶
func (inst Attachment) SetPath(path string) error
SetPath sets an attachment's package path. This function will be removed in a later release.
func (Attachment) SetRelationShipType ¶
func (inst Attachment) SetRelationShipType(path string) error
SetRelationShipType sets an attachment's relationship type.
func (Attachment) WriteToBuffer ¶
func (inst Attachment) WriteToBuffer(buffer []uint8) ([]uint8, error)
WriteToBuffer writes out the attachment into a buffer.
func (Attachment) WriteToFile ¶
func (inst Attachment) WriteToFile(fileName string) error
WriteToFile writes out the attachment as file.
type Base ¶
type Base struct {
Ref ref // identifies a C value, see ref type
// contains filtered or unexported fields
}
Base represents a Lib3MF class.
func (Base) ClassTypeId ¶
ClassTypeId get Class Type Id.
type BaseMaterialGroup ¶
type BaseMaterialGroup struct {
Resource
}
BaseMaterialGroup represents a Lib3MF class.
func (BaseMaterialGroup) AddMaterial ¶
func (inst BaseMaterialGroup) AddMaterial(name string, displayColor Color) (uint32, error)
AddMaterial adds a new material to the material group.
func (BaseMaterialGroup) GetAllPropertyIDs ¶
func (inst BaseMaterialGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
GetAllPropertyIDs returns all the PropertyIDs of all materials in this group.
func (BaseMaterialGroup) GetCount ¶
func (inst BaseMaterialGroup) GetCount() (uint32, error)
GetCount retrieves the count of base materials in the material group.
func (BaseMaterialGroup) GetDisplayColor ¶
func (inst BaseMaterialGroup) GetDisplayColor(propertyID uint32) (Color, error)
GetDisplayColor returns a base material's display color.
func (BaseMaterialGroup) GetName ¶
func (inst BaseMaterialGroup) GetName(propertyID uint32) (string, error)
GetName returns the base material's name.
func (BaseMaterialGroup) RemoveMaterial ¶
func (inst BaseMaterialGroup) RemoveMaterial(propertyID uint32) error
RemoveMaterial removes a material from the material group.
func (BaseMaterialGroup) SetDisplayColor ¶
func (inst BaseMaterialGroup) SetDisplayColor(propertyID uint32, theColor Color) error
SetDisplayColor sets a base material's display color.
type BaseMaterialGroupIterator ¶
type BaseMaterialGroupIterator struct {
ResourceIterator
}
BaseMaterialGroupIterator represents a Lib3MF class.
func (BaseMaterialGroupIterator) GetCurrentBaseMaterialGroup ¶
func (inst BaseMaterialGroupIterator) GetCurrentBaseMaterialGroup() (BaseMaterialGroup, error)
GetCurrentBaseMaterialGroup returns the MaterialGroup the iterator points at.
type Beam ¶
type Beam struct {
Indices [2]uint32
Radii [2]float64
CapModes [2]BeamLatticeCapMode
}
Beam represents a Lib3MF struct.
type BeamLattice ¶
type BeamLattice struct {
Base
}
BeamLattice represents a Lib3MF class.
func (BeamLattice) AddBall ¶
func (inst BeamLattice) AddBall(ballInfo Ball) (uint32, error)
AddBall adds a single ball to a mesh object.
func (BeamLattice) AddBeam ¶
func (inst BeamLattice) AddBeam(beamInfo Beam) (uint32, error)
AddBeam adds a single beam to a mesh object.
func (BeamLattice) AddBeamSet ¶
func (inst BeamLattice) AddBeamSet() (BeamSet, error)
AddBeamSet adds an empty beamset to a mesh object.
func (BeamLattice) GetBall ¶
func (inst BeamLattice) GetBall(index uint32) (Ball, error)
GetBall returns index and radius of a single ball of a mesh object.
func (BeamLattice) GetBallCount ¶
func (inst BeamLattice) GetBallCount() (uint32, error)
GetBallCount returns the ball count of a mesh object.
func (BeamLattice) GetBallOptions ¶
func (inst BeamLattice) GetBallOptions() (BeamLatticeBallMode, float64, error)
GetBallOptions returns the ball mode and the default ball radius for the beamlattice of this mesh.
func (BeamLattice) GetBalls ¶
func (inst BeamLattice) GetBalls(ballInfo []Ball) ([]Ball, error)
GetBalls obtains all ball indices and radii of a mesh object.
func (BeamLattice) GetBeam ¶
func (inst BeamLattice) GetBeam(index uint32) (Beam, error)
GetBeam returns indices, radii and capmodes of a single beam of a mesh object.
func (BeamLattice) GetBeamCount ¶
func (inst BeamLattice) GetBeamCount() (uint32, error)
GetBeamCount returns the beam count of a mesh object.
func (BeamLattice) GetBeamSet ¶
func (inst BeamLattice) GetBeamSet(index uint32) (BeamSet, error)
GetBeamSet returns a beamset of a mesh object.
func (BeamLattice) GetBeamSetCount ¶
func (inst BeamLattice) GetBeamSetCount() (uint32, error)
GetBeamSetCount returns the number of beamsets of a mesh object.
func (BeamLattice) GetBeams ¶
func (inst BeamLattice) GetBeams(beamInfo []Beam) ([]Beam, error)
GetBeams obtains all beam indices, radii and capmodes of a mesh object.
func (BeamLattice) GetClipping ¶
func (inst BeamLattice) GetClipping() (BeamLatticeClipMode, uint32, error)
GetClipping returns the clipping mode and the clipping-mesh for the beamlattice of this mesh.
func (BeamLattice) GetMinLength ¶
func (inst BeamLattice) GetMinLength() (float64, error)
GetMinLength returns the minimal length of beams for the beamlattice.
func (BeamLattice) GetRepresentation ¶
func (inst BeamLattice) GetRepresentation() (bool, uint32, error)
GetRepresentation returns the representation-mesh for the beamlattice of this mesh.
func (BeamLattice) SetBall ¶
func (inst BeamLattice) SetBall(index uint32, ballInfo Ball) error
SetBall sets the index and radius of a single ball of a mesh object.
func (BeamLattice) SetBallOptions ¶
func (inst BeamLattice) SetBallOptions(ballMode BeamLatticeBallMode, ballRadius float64) error
SetBallOptions sets the ball mode and thedefault ball radius for the beamlattice.
func (BeamLattice) SetBalls ¶
func (inst BeamLattice) SetBalls(ballInfo []Ball) error
SetBalls sets all ball indices and radii of a mesh object.
func (BeamLattice) SetBeam ¶
func (inst BeamLattice) SetBeam(index uint32, beamInfo Beam) error
SetBeam sets the indices, radii and capmodes of a single beam of a mesh object.
func (BeamLattice) SetBeams ¶
func (inst BeamLattice) SetBeams(beamInfo []Beam) error
SetBeams sets all beam indices, radii and capmodes of a mesh object.
func (BeamLattice) SetClipping ¶
func (inst BeamLattice) SetClipping(clipMode BeamLatticeClipMode, uniqueResourceID uint32) error
SetClipping sets the clipping mode and the clipping-mesh for the beamlattice of this mesh.
func (BeamLattice) SetMinLength ¶
func (inst BeamLattice) SetMinLength(minLength float64) error
SetMinLength sets the minimal length of beams for the beamlattice.
func (BeamLattice) SetRepresentation ¶
func (inst BeamLattice) SetRepresentation(uniqueResourceID uint32) error
SetRepresentation sets the representation-mesh for the beamlattice of this mesh.
type BeamLatticeBallMode ¶
type BeamLatticeBallMode int
BeamLatticeBallMode represents a Lib3MF enum.
type BeamLatticeClipMode ¶
type BeamLatticeClipMode int
BeamLatticeClipMode represents a Lib3MF enum.
type BeamSet ¶
type BeamSet struct {
Base
}
BeamSet represents a Lib3MF class.
func (BeamSet) GetBallReferenceCount ¶
GetBallReferenceCount retrieves the ball reference count of a beamset.
func (BeamSet) GetBallReferences ¶
GetBallReferences retrieves the ball references of a beamset.
func (BeamSet) GetIdentifier ¶
GetIdentifier retrieves a beamset's identifier string.
func (BeamSet) GetReferenceCount ¶
GetReferenceCount retrieves the reference count of a beamset.
func (BeamSet) GetReferences ¶
GetReferences retrieves the references of a beamset.
func (BeamSet) SetBallReferences ¶
SetBallReferences sets the ball references of a beamset.
func (BeamSet) SetIdentifier ¶
SetIdentifier sets a beamset's identifier string.
func (BeamSet) SetReferences ¶
SetReferences sets the references of a beamset.
type BuildItem ¶
type BuildItem struct {
Base
}
BuildItem represents a Lib3MF class.
func (BuildItem) GetMetaDataGroup ¶
func (inst BuildItem) GetMetaDataGroup() (MetaDataGroup, error)
GetMetaDataGroup returns the metadatagroup of this build item.
func (BuildItem) GetObjectResource ¶
GetObjectResource retrieves the object resource associated to a build item.
func (BuildItem) GetObjectResourceID ¶
GetObjectResourceID retrieves the object UniqueResourceID associated to a build item.
func (BuildItem) GetObjectTransform ¶
GetObjectTransform retrieves a build item's transformation matrix.
func (BuildItem) GetPartNumber ¶
GetPartNumber retrieves a build item's part number string.
func (BuildItem) GetUUID ¶
GetUUID returns, whether a build item has a UUID and, if true, the build item's UUID.
func (BuildItem) HasObjectTransform ¶
HasObjectTransform checks, if a build item has a non-identity transformation matrix.
func (BuildItem) SetObjectTransform ¶
SetObjectTransform sets a build item's transformation matrix.
func (BuildItem) SetPartNumber ¶
SetPartNumber sets a build item's part number string.
type BuildItemIterator ¶
type BuildItemIterator struct {
Base
}
BuildItemIterator represents a Lib3MF class.
func (BuildItemIterator) Clone ¶
func (inst BuildItemIterator) Clone() (BuildItemIterator, error)
Clone creates a new build item iterator with the same build item list.
func (BuildItemIterator) Count ¶
func (inst BuildItemIterator) Count() (uint64, error)
Count returns the number of build items the iterator captures.
func (BuildItemIterator) GetCurrent ¶
func (inst BuildItemIterator) GetCurrent() (BuildItem, error)
GetCurrent returns the build item the iterator points at.
func (BuildItemIterator) MoveNext ¶
func (inst BuildItemIterator) MoveNext() (bool, error)
MoveNext iterates to the next build item in the list.
func (BuildItemIterator) MovePrevious ¶
func (inst BuildItemIterator) MovePrevious() (bool, error)
MovePrevious iterates to the previous build item in the list.
type CeilNode ¶ added in v2.4.0
type CeilNode struct {
OneInputNode
}
CeilNode represents a Lib3MF class.
type ClampNode ¶ added in v2.4.0
type ClampNode struct {
OneInputNode
}
ClampNode represents a Lib3MF class.
func (ClampNode) GetInputMax ¶ added in v2.4.0
func (inst ClampNode) GetInputMax() (ImplicitPort, error)
GetInputMax retrieves the input for the upper limit.
func (ClampNode) GetInputMin ¶ added in v2.4.0
func (inst ClampNode) GetInputMin() (ImplicitPort, error)
GetInputMin retrieves the input for the lower limit.
type ColorGroup ¶
type ColorGroup struct {
Resource
}
ColorGroup represents a Lib3MF class.
func (ColorGroup) AddColor ¶
func (inst ColorGroup) AddColor(theColor Color) (uint32, error)
AddColor adds a new value.
func (ColorGroup) GetAllPropertyIDs ¶
func (inst ColorGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
GetAllPropertyIDs returns all the PropertyIDs of all colors within this group.
func (ColorGroup) GetColor ¶
func (inst ColorGroup) GetColor(propertyID uint32) (Color, error)
GetColor sets a color value.
func (ColorGroup) GetCount ¶
func (inst ColorGroup) GetCount() (uint32, error)
GetCount retrieves the count of base materials in this Color Group.
func (ColorGroup) RemoveColor ¶
func (inst ColorGroup) RemoveColor(propertyID uint32) error
RemoveColor removes a color from the color group.
type ColorGroupIterator ¶
type ColorGroupIterator struct {
ResourceIterator
}
ColorGroupIterator represents a Lib3MF class.
func (ColorGroupIterator) GetCurrentColorGroup ¶
func (inst ColorGroupIterator) GetCurrentColorGroup() (ColorGroup, error)
GetCurrentColorGroup returns the ColorGroup the iterator points at.
type Component ¶
type Component struct {
Base
}
Component represents a Lib3MF class.
func (Component) GetObjectResource ¶
GetObjectResource returns the Resource Instance of the component.
func (Component) GetObjectResourceID ¶
GetObjectResourceID returns the UniqueResourceID of the component.
func (Component) GetTransform ¶
GetTransform returns the transformation matrix of the component.
func (Component) GetUUID ¶
GetUUID returns, whether a component has a UUID and, if true, the component's UUID.
func (Component) HasTransform ¶
HasTransform returns, if the component has a different transformation than the identity matrix.
func (Component) SetTransform ¶
SetTransform sets the transformation matrix of the component.
type ComponentsObject ¶
type ComponentsObject struct {
Object
}
ComponentsObject represents a Lib3MF class.
func (ComponentsObject) AddComponent ¶
func (inst ComponentsObject) AddComponent(objectResource Object, transform Transform) (Component, error)
AddComponent adds a new component to a components object.
func (ComponentsObject) GetComponent ¶
func (inst ComponentsObject) GetComponent(index uint32) (Component, error)
GetComponent retrieves a component from a component object.
func (ComponentsObject) GetComponentCount ¶
func (inst ComponentsObject) GetComponentCount() (uint32, error)
GetComponentCount retrieves a component count of a component object.
type ComponentsObjectIterator ¶
type ComponentsObjectIterator struct {
ResourceIterator
}
ComponentsObjectIterator represents a Lib3MF class.
func (ComponentsObjectIterator) GetCurrentComponentsObject ¶
func (inst ComponentsObjectIterator) GetCurrentComponentsObject() (ComponentsObject, error)
GetCurrentComponentsObject returns the ComponentsObject the iterator points at.
type ComposeMatrixNode ¶ added in v2.4.0
type ComposeMatrixNode struct {
ImplicitNode
}
ComposeMatrixNode represents a Lib3MF class.
func (ComposeMatrixNode) GetInputM00 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM00() (ImplicitPort, error)
GetInputM00 retrieves the input for the element 0 0.
func (ComposeMatrixNode) GetInputM01 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM01() (ImplicitPort, error)
GetInputM01 retrieves the input for the element 0 1.
func (ComposeMatrixNode) GetInputM02 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM02() (ImplicitPort, error)
GetInputM02 retrieves the input for the element 0 2.
func (ComposeMatrixNode) GetInputM03 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM03() (ImplicitPort, error)
GetInputM03 retrieves the input for the element 0 3.
func (ComposeMatrixNode) GetInputM10 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM10() (ImplicitPort, error)
GetInputM10 retrieves the input for the element 1 0.
func (ComposeMatrixNode) GetInputM11 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM11() (ImplicitPort, error)
GetInputM11 retrieves the input for the element 1 1.
func (ComposeMatrixNode) GetInputM12 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM12() (ImplicitPort, error)
GetInputM12 retrieves the input for the element 1 2.
func (ComposeMatrixNode) GetInputM13 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM13() (ImplicitPort, error)
GetInputM13 retrieves the input for the element 1 3.
func (ComposeMatrixNode) GetInputM20 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM20() (ImplicitPort, error)
GetInputM20 retrieves the input for the element 2 0.
func (ComposeMatrixNode) GetInputM21 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM21() (ImplicitPort, error)
GetInputM21 retrieves the input for the element 2 1.
func (ComposeMatrixNode) GetInputM22 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM22() (ImplicitPort, error)
GetInputM22 retrieves the input for the element 2 2.
func (ComposeMatrixNode) GetInputM23 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM23() (ImplicitPort, error)
GetInputM23 retrieves the input for the element 2 3.
func (ComposeMatrixNode) GetInputM30 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM30() (ImplicitPort, error)
GetInputM30 retrieves the input for the element 3 0.
func (ComposeMatrixNode) GetInputM31 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM31() (ImplicitPort, error)
GetInputM31 retrieves the input for the element 3 1.
func (ComposeMatrixNode) GetInputM32 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM32() (ImplicitPort, error)
GetInputM32 retrieves the input for the element 3 2.
func (ComposeMatrixNode) GetInputM33 ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetInputM33() (ImplicitPort, error)
GetInputM33 retrieves the input for the element 3 3.
func (ComposeMatrixNode) GetOutputResult ¶ added in v2.4.0
func (inst ComposeMatrixNode) GetOutputResult() (ImplicitPort, error)
GetOutputResult retrieves the output.
type ComposeVectorNode ¶ added in v2.4.0
type ComposeVectorNode struct {
ImplicitNode
}
ComposeVectorNode represents a Lib3MF class.
func (ComposeVectorNode) GetInputX ¶ added in v2.4.0
func (inst ComposeVectorNode) GetInputX() (ImplicitPort, error)
GetInputX retrieves the input for the x component.
func (ComposeVectorNode) GetInputY ¶ added in v2.4.0
func (inst ComposeVectorNode) GetInputY() (ImplicitPort, error)
GetInputY retrieves the input for the y component.
func (ComposeVectorNode) GetInputZ ¶ added in v2.4.0
func (inst ComposeVectorNode) GetInputZ() (ImplicitPort, error)
GetInputZ retrieves the input for the z component.
func (ComposeVectorNode) GetOutputResult ¶ added in v2.4.0
func (inst ComposeVectorNode) GetOutputResult() (ImplicitPort, error)
GetOutputResult retrieves the output.
type CompositeConstituent ¶
CompositeConstituent represents a Lib3MF struct.
type CompositeMaterials ¶
type CompositeMaterials struct {
Resource
}
CompositeMaterials represents a Lib3MF class.
func (CompositeMaterials) AddComposite ¶
func (inst CompositeMaterials) AddComposite(composite []CompositeConstituent) (uint32, error)
AddComposite adds a new Composite-Mixing Values to the CompositeMaterials.
func (CompositeMaterials) GetAllPropertyIDs ¶
func (inst CompositeMaterials) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
GetAllPropertyIDs returns all the PropertyIDs of all Composite-Mixing Values in this CompositeMaterials.
func (CompositeMaterials) GetBaseMaterialGroup ¶
func (inst CompositeMaterials) GetBaseMaterialGroup() (BaseMaterialGroup, error)
GetBaseMaterialGroup obtains the BaseMaterialGroup instance of this CompositeMaterials.
func (CompositeMaterials) GetComposite ¶
func (inst CompositeMaterials) GetComposite(propertyID uint32, composite []CompositeConstituent) ([]CompositeConstituent, error)
GetComposite obtains a Composite-Maxing Ratio of this CompositeMaterials.
func (CompositeMaterials) GetCount ¶
func (inst CompositeMaterials) GetCount() (uint32, error)
GetCount retrieves the count of Composite-s in the CompositeMaterials.
func (CompositeMaterials) RemoveComposite ¶
func (inst CompositeMaterials) RemoveComposite(propertyID uint32) error
RemoveComposite removes a Composite-Maxing Ratio from the CompositeMaterials.
type CompositeMaterialsIterator ¶
type CompositeMaterialsIterator struct {
ResourceIterator
}
CompositeMaterialsIterator represents a Lib3MF class.
func (CompositeMaterialsIterator) GetCurrentCompositeMaterials ¶
func (inst CompositeMaterialsIterator) GetCurrentCompositeMaterials() (CompositeMaterials, error)
GetCurrentCompositeMaterials returns the CompositeMaterials the iterator points at.
type CompositionMethod ¶ added in v2.4.0
type CompositionMethod int
CompositionMethod represents a Lib3MF enum.
type CompositionSpace ¶ added in v2.4.0
type CompositionSpace int
CompositionSpace represents a Lib3MF enum.
type ConstMatNode ¶ added in v2.4.0
type ConstMatNode struct {
ImplicitNode
}
ConstMatNode represents a Lib3MF class.
func (ConstMatNode) GetMatrix ¶ added in v2.4.0
func (inst ConstMatNode) GetMatrix() (Matrix4x4, error)
GetMatrix retrieves the matrix value of the node.
func (ConstMatNode) GetOutputMatrix ¶ added in v2.4.0
func (inst ConstMatNode) GetOutputMatrix() (ImplicitPort, error)
GetOutputMatrix retrieves the output.
func (ConstMatNode) SetMatrix ¶ added in v2.4.0
func (inst ConstMatNode) SetMatrix(value Matrix4x4) error
SetMatrix sets the matrix value of the node.
type ConstVecNode ¶ added in v2.4.0
type ConstVecNode struct {
ImplicitNode
}
ConstVecNode represents a Lib3MF class.
func (ConstVecNode) GetOutputVector ¶ added in v2.4.0
func (inst ConstVecNode) GetOutputVector() (ImplicitPort, error)
GetOutputVector retrieves the output.
func (ConstVecNode) GetVector ¶ added in v2.4.0
func (inst ConstVecNode) GetVector() (Vector, error)
GetVector retrieves the vector value of the node.
func (ConstVecNode) SetVector ¶ added in v2.4.0
func (inst ConstVecNode) SetVector(value Vector) error
SetVector sets the vector value of the node.
type ConstantNode ¶ added in v2.4.0
type ConstantNode struct {
ImplicitNode
}
ConstantNode represents a Lib3MF class.
func (ConstantNode) GetConstant ¶ added in v2.4.0
func (inst ConstantNode) GetConstant() (float64, error)
GetConstant retrieves the constant value of the node.
func (ConstantNode) GetOutputValue ¶ added in v2.4.0
func (inst ConstantNode) GetOutputValue() (ImplicitPort, error)
GetOutputValue retrieves the output.
func (ConstantNode) SetConstant ¶ added in v2.4.0
func (inst ConstantNode) SetConstant(value float64) error
SetConstant sets the constant value of the node.
type Consumer ¶
type Consumer struct {
Base
}
Consumer represents a Lib3MF class.
func (Consumer) GetConsumerID ¶
GetConsumerID gets the consumerid.
func (Consumer) GetKeyValue ¶
GetKeyValue gets the keyvalue associated with this consumer.
type ContentEncryptionCallbackFunc ¶
type ContentEncryptionCallbackFunc = func(cEKParams ContentEncryptionParams, input []uint8, output []uint8, userData uintptr, status *uint64)
ContentEncryptionCallbackFunc a callback to encrypt/decrypt content called on each resource encrypted. This might be called several times depending on content size. If Input is not available(either null or size is 0), clients must return the result of authenticated tag generation/validation.
type ContentEncryptionParams ¶
type ContentEncryptionParams struct {
Base
}
ContentEncryptionParams represents a Lib3MF class.
func (ContentEncryptionParams) GetAdditionalAuthenticationData ¶
func (inst ContentEncryptionParams) GetAdditionalAuthenticationData(byteData []uint8) ([]uint8, error)
GetAdditionalAuthenticationData a handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value.
func (ContentEncryptionParams) GetAuthenticationTag ¶
func (inst ContentEncryptionParams) GetAuthenticationTag(byteData []uint8) ([]uint8, error)
GetAuthenticationTag a handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value.
func (ContentEncryptionParams) GetDescriptor ¶
func (inst ContentEncryptionParams) GetDescriptor() (uint64, error)
GetDescriptor a handler descriptor that uniquely identifies the context of the resource. Each resource will be assigned a different value.
func (ContentEncryptionParams) GetEncryptionAlgorithm ¶
func (inst ContentEncryptionParams) GetEncryptionAlgorithm() (EncryptionAlgorithm, error)
GetEncryptionAlgorithm returns the encryption method to be used in this encryption process.
func (ContentEncryptionParams) GetInitializationVector ¶
func (inst ContentEncryptionParams) GetInitializationVector(byteData []uint8) ([]uint8, error)
GetInitializationVector gets the IV data.
func (ContentEncryptionParams) GetKey ¶
func (inst ContentEncryptionParams) GetKey(byteData []uint8) ([]uint8, error)
GetKey gets the key for the resource associated.
func (ContentEncryptionParams) GetKeyUUID ¶
func (inst ContentEncryptionParams) GetKeyUUID() (string, error)
GetKeyUUID gets the resourcedatagroup keyuuid.
func (ContentEncryptionParams) SetAuthenticationTag ¶
func (inst ContentEncryptionParams) SetAuthenticationTag(byteData []uint8) error
SetAuthenticationTag sets the authentication tag.
type CosNode ¶ added in v2.4.0
type CosNode struct {
OneInputNode
}
CosNode represents a Lib3MF class.
type CoshNode ¶ added in v2.4.0
type CoshNode struct {
OneInputNode
}
CoshNode represents a Lib3MF class.
type CrossNode ¶ added in v2.4.0
type CrossNode struct {
TwoInputNode
}
CrossNode represents a Lib3MF class.
type DecomposeVectorNode ¶ added in v2.4.0
type DecomposeVectorNode struct {
ImplicitNode
}
DecomposeVectorNode represents a Lib3MF class.
func (DecomposeVectorNode) GetInputA ¶ added in v2.4.0
func (inst DecomposeVectorNode) GetInputA() (ImplicitPort, error)
GetInputA retrieves the input.
func (DecomposeVectorNode) GetOutputX ¶ added in v2.4.0
func (inst DecomposeVectorNode) GetOutputX() (ImplicitPort, error)
GetOutputX retrieves the output for the x component.
func (DecomposeVectorNode) GetOutputY ¶ added in v2.4.0
func (inst DecomposeVectorNode) GetOutputY() (ImplicitPort, error)
GetOutputY retrieves the output for the y component.
func (DecomposeVectorNode) GetOutputZ ¶ added in v2.4.0
func (inst DecomposeVectorNode) GetOutputZ() (ImplicitPort, error)
GetOutputZ retrieves the output for the z component.
type DivisionNode ¶ added in v2.4.0
type DivisionNode struct {
TwoInputNode
}
DivisionNode represents a Lib3MF class.
type DotNode ¶ added in v2.4.0
type DotNode struct {
TwoInputNode
}
DotNode represents a Lib3MF class.
type EncryptionAlgorithm ¶
type EncryptionAlgorithm int
EncryptionAlgorithm represents a Lib3MF enum.
type ExpNode ¶ added in v2.4.0
type ExpNode struct {
OneInputNode
}
ExpNode represents a Lib3MF class.
type FloorNode ¶ added in v2.4.0
type FloorNode struct {
OneInputNode
}
FloorNode represents a Lib3MF class.
type FmodNode ¶ added in v2.4.0
type FmodNode struct {
TwoInputNode
}
FmodNode represents a Lib3MF class.
type FractNode ¶ added in v2.4.0
type FractNode struct {
OneInputNode
}
FractNode represents a Lib3MF class.
type Function ¶ added in v2.4.0
type Function struct {
Resource
}
Function represents a Lib3MF class.
func (Function) AddInput ¶ added in v2.4.0
func (inst Function) AddInput(identifier string, displayName string, _type ImplicitPortType) (ImplicitPort, error)
AddInput add an input.
func (Function) AddOutput ¶ added in v2.4.0
func (inst Function) AddOutput(identifier string, displayName string, _type ImplicitPortType) (ImplicitPort, error)
AddOutput add an output.
func (Function) FindInput ¶ added in v2.4.0
func (inst Function) FindInput(identifier string) (ImplicitPort, error)
FindInput retrieves an input.
func (Function) FindOutput ¶ added in v2.4.0
func (inst Function) FindOutput(identifier string) (ImplicitPort, error)
FindOutput retrieves an output.
func (Function) GetDisplayName ¶ added in v2.4.0
GetDisplayName retrieves the display name of the function.
func (Function) GetInputs ¶ added in v2.4.0
func (inst Function) GetInputs() (ImplicitPortIterator, error)
GetInputs retrieves the inputs.
func (Function) GetOutputs ¶ added in v2.4.0
func (inst Function) GetOutputs() (ImplicitPortIterator, error)
GetOutputs retrieves the outputs.
func (Function) RemoveInput ¶ added in v2.4.0
func (inst Function) RemoveInput(input ImplicitPort) error
RemoveInput removes an input.
func (Function) RemoveOutput ¶ added in v2.4.0
func (inst Function) RemoveOutput(output ImplicitPort) error
RemoveOutput removes an output.
func (Function) SetDisplayName ¶ added in v2.4.0
SetDisplayName sets the display name of the function.
type FunctionCallNode ¶ added in v2.4.0
type FunctionCallNode struct {
ImplicitNode
}
FunctionCallNode represents a Lib3MF class.
func (FunctionCallNode) GetInputFunctionID ¶ added in v2.4.0
func (inst FunctionCallNode) GetInputFunctionID() (ImplicitPort, error)
GetInputFunctionID retrieves the input for the function id.
type FunctionFromImage3D ¶ added in v2.4.0
type FunctionFromImage3D struct {
Function
}
FunctionFromImage3D represents a Lib3MF class.
func (FunctionFromImage3D) GetFilter ¶ added in v2.4.0
func (inst FunctionFromImage3D) GetFilter() (TextureFilter, error)
GetFilter returns the texture filter of the selector.
func (FunctionFromImage3D) GetImage3D ¶ added in v2.4.0
func (inst FunctionFromImage3D) GetImage3D() (Image3D, error)
GetImage3D returns the selected 3D image.
func (FunctionFromImage3D) GetOffset ¶ added in v2.4.0
func (inst FunctionFromImage3D) GetOffset() (float64, error)
GetOffset returns the offset value for the pixel values in the Image3D.
func (FunctionFromImage3D) GetScale ¶ added in v2.4.0
func (inst FunctionFromImage3D) GetScale() (float64, error)
GetScale returns the scale value for the pixel values in the Image3D.
func (FunctionFromImage3D) GetTileStyles ¶ added in v2.4.0
func (inst FunctionFromImage3D) GetTileStyles() (TextureTileStyle, TextureTileStyle, TextureTileStyle, error)
GetTileStyles retrieves the tile styles of the selector.
func (FunctionFromImage3D) SetFilter ¶ added in v2.4.0
func (inst FunctionFromImage3D) SetFilter(filter TextureFilter) error
SetFilter sets the texture filter of the selector.
func (FunctionFromImage3D) SetImage3D ¶ added in v2.4.0
func (inst FunctionFromImage3D) SetImage3D(image3D Image3D) error
SetImage3D sets the 3D image of the selector.
func (FunctionFromImage3D) SetOffset ¶ added in v2.4.0
func (inst FunctionFromImage3D) SetOffset(offset float64) error
SetOffset sets the offset value for the pixel values in the Image3D.
func (FunctionFromImage3D) SetScale ¶ added in v2.4.0
func (inst FunctionFromImage3D) SetScale(scale float64) error
SetScale sets the scale value for the pixel values in the Image3D.
func (FunctionFromImage3D) SetTileStyles ¶ added in v2.4.0
func (inst FunctionFromImage3D) SetTileStyles(tileStyleU TextureTileStyle, tileStyleV TextureTileStyle, tileStyleW TextureTileStyle) error
SetTileStyles sets the tile styles of the selector.
type FunctionIterator ¶ added in v2.4.0
type FunctionIterator struct {
ResourceIterator
}
FunctionIterator represents a Lib3MF class.
func (FunctionIterator) GetCurrentFunction ¶ added in v2.4.0
func (inst FunctionIterator) GetCurrentFunction() (Function, error)
GetCurrentFunction returns the Function the iterator points at.
type FunctionReference ¶ added in v2.4.0
type FunctionReference struct {
Base
}
FunctionReference represents a Lib3MF class.
func (FunctionReference) GetChannelName ¶ added in v2.4.0
func (inst FunctionReference) GetChannelName() (string, error)
GetChannelName returns the name of the function output channel to use.
func (FunctionReference) GetFallBackValue ¶ added in v2.4.0
func (inst FunctionReference) GetFallBackValue() (float64, error)
GetFallBackValue returns the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
func (FunctionReference) GetFunctionResourceID ¶ added in v2.4.0
func (inst FunctionReference) GetFunctionResourceID() (uint32, error)
GetFunctionResourceID returns the UniqueResourceID of the Function. Only functions with a 'pos'-input are allowed.
func (FunctionReference) GetMinFeatureSize ¶ added in v2.4.0
func (inst FunctionReference) GetMinFeatureSize() (float64, error)
GetMinFeatureSize returns the minimal feature size as a hint for the function evaluator.
func (FunctionReference) GetTransform ¶ added in v2.4.0
func (inst FunctionReference) GetTransform() (Transform, error)
GetTransform returns the transformation matrix into the coordinate system of the referenced Function.
func (FunctionReference) SetChannelName ¶ added in v2.4.0
func (inst FunctionReference) SetChannelName(channelName string) error
SetChannelName sets the name of the function output channel to use.
func (FunctionReference) SetFallBackValue ¶ added in v2.4.0
func (inst FunctionReference) SetFallBackValue(fallBackValue float64) error
SetFallBackValue sets the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
func (FunctionReference) SetFunctionResourceID ¶ added in v2.4.0
func (inst FunctionReference) SetFunctionResourceID(uniqueResourceID uint32) error
SetFunctionResourceID sets the UniqueResourceID to refer to.
func (FunctionReference) SetMinFeatureSize ¶ added in v2.4.0
func (inst FunctionReference) SetMinFeatureSize(minFeatureSize float64) error
SetMinFeatureSize sets the minimal feature size as a hint for the function evaluator.
func (FunctionReference) SetTransform ¶ added in v2.4.0
func (inst FunctionReference) SetTransform(transform Transform) error
SetTransform sets the transformation matrix into the coordinate system of the referenced Function.
type Image3D ¶ added in v2.4.0
type Image3D struct {
Resource
}
Image3D represents a Lib3MF class.
func (Image3D) IsImageStack ¶ added in v2.4.0
IsImageStack retrieves, if this Image3D is a ImageStack.
type Image3DIterator ¶ added in v2.4.0
type Image3DIterator struct {
ResourceIterator
}
Image3DIterator represents a Lib3MF class.
func (Image3DIterator) GetCurrentImage3D ¶ added in v2.4.0
func (inst Image3DIterator) GetCurrentImage3D() (Image3D, error)
GetCurrentImage3D returns the Image3D the iterator points at.
type ImageStack ¶ added in v2.4.0
type ImageStack struct {
Image3D
}
ImageStack represents a Lib3MF class.
func (ImageStack) CreateEmptySheet ¶ added in v2.4.0
func (inst ImageStack) CreateEmptySheet(index uint32, path string) (Attachment, error)
CreateEmptySheet creates a new sheet attachment with empty data.
func (ImageStack) CreateSheetFromBuffer ¶ added in v2.4.0
func (inst ImageStack) CreateSheetFromBuffer(index uint32, path string, data []uint8) (Attachment, error)
CreateSheetFromBuffer creates a new sheet attachment from a memory buffer.
func (ImageStack) CreateSheetFromFile ¶ added in v2.4.0
func (inst ImageStack) CreateSheetFromFile(index uint32, path string, fileName string) (Attachment, error)
CreateSheetFromFile creates a new sheet attachment from a file on disk.
func (ImageStack) GetColumnCount ¶ added in v2.4.0
func (inst ImageStack) GetColumnCount() (uint32, error)
GetColumnCount retrieves the number of columns in each image of this image3d.
func (ImageStack) GetRowCount ¶ added in v2.4.0
func (inst ImageStack) GetRowCount() (uint32, error)
GetRowCount retrieves the number of rows in each image of this image3d.
func (ImageStack) GetSheet ¶ added in v2.4.0
func (inst ImageStack) GetSheet(index uint32) (Attachment, error)
GetSheet retrieves a sheet of the stack. Raises an error if sheet is not set.
func (ImageStack) GetSheetCount ¶ added in v2.4.0
func (inst ImageStack) GetSheetCount() (uint32, error)
GetSheetCount retrieves the number of images in the stack.
func (ImageStack) SetColumnCount ¶ added in v2.4.0
func (inst ImageStack) SetColumnCount(columnCount uint32) error
SetColumnCount sets the number of columns in each image of this image3d.
func (ImageStack) SetRowCount ¶ added in v2.4.0
func (inst ImageStack) SetRowCount(rowCount uint32) error
SetRowCount sets the number of rows in each image of this image3d.
func (ImageStack) SetSheet ¶ added in v2.4.0
func (inst ImageStack) SetSheet(index uint32, sheet Attachment) error
SetSheet sets a sheet to an existing attachment.
type ImplicitFunction ¶ added in v2.4.0
type ImplicitFunction struct {
Function
}
ImplicitFunction represents a Lib3MF class.
func (ImplicitFunction) AddAbsNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddAbsNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (AbsNode, error)
AddAbsNode add a AbsNode.
func (ImplicitFunction) AddAdditionNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddAdditionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (AdditionNode, error)
AddAdditionNode add an AdditionNode.
func (ImplicitFunction) AddArcCosNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddArcCosNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ArcCosNode, error)
AddArcCosNode add a ArcCosNode.
func (ImplicitFunction) AddArcSinNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddArcSinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ArcSinNode, error)
AddArcSinNode add a ArcSinNode.
func (ImplicitFunction) AddArcTan2Node ¶ added in v2.4.0
func (inst ImplicitFunction) AddArcTan2Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ArcTan2Node, error)
AddArcTan2Node add a ArcTan2Node.
func (ImplicitFunction) AddCeilNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddCeilNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (CeilNode, error)
AddCeilNode add a CeilNode.
func (ImplicitFunction) AddClampNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddClampNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ClampNode, error)
AddClampNode add a ClampNode.
func (ImplicitFunction) AddComposeMatrixNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddComposeMatrixNode(identifier string, displayName string, tag string) (ComposeMatrixNode, error)
AddComposeMatrixNode add a ComposeMatrixNode.
func (ImplicitFunction) AddComposeVectorNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddComposeVectorNode(identifier string, displayName string, tag string) (ComposeVectorNode, error)
AddComposeVectorNode add a ComposeVectorNode.
func (ImplicitFunction) AddConstMatNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddConstMatNode(identifier string, displayName string, tag string) (ConstMatNode, error)
AddConstMatNode add a ConstMatNode.
func (ImplicitFunction) AddConstVecNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddConstVecNode(identifier string, displayName string, tag string) (ConstVecNode, error)
AddConstVecNode add a ConstVecNode.
func (ImplicitFunction) AddConstantNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddConstantNode(identifier string, displayName string, tag string) (ConstantNode, error)
AddConstantNode add a ConstantNode.
func (ImplicitFunction) AddCosNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddCosNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (CosNode, error)
AddCosNode add a CosNode.
func (ImplicitFunction) AddCoshNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddCoshNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (CoshNode, error)
AddCoshNode add a CoshNode.
func (ImplicitFunction) AddCrossNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddCrossNode(identifier string, displayName string, tag string) (CrossNode, error)
AddCrossNode add a CrossNode.
func (ImplicitFunction) AddDecomposeVectorNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddDecomposeVectorNode(identifier string, displayName string, tag string) (DecomposeVectorNode, error)
AddDecomposeVectorNode add a DecomposeVectorNode.
func (ImplicitFunction) AddDivisionNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddDivisionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (DivisionNode, error)
AddDivisionNode add a DivisionNode.
func (ImplicitFunction) AddDotNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddDotNode(identifier string, displayName string, tag string) (DotNode, error)
AddDotNode add a DotNode.
func (ImplicitFunction) AddExpNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddExpNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ExpNode, error)
AddExpNode add a ExpNode.
func (ImplicitFunction) AddFloorNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddFloorNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (FloorNode, error)
AddFloorNode add a FloorNode.
func (ImplicitFunction) AddFmodNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddFmodNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (FmodNode, error)
AddFmodNode add a FmodNode.
func (ImplicitFunction) AddFractNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddFractNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (FractNode, error)
AddFractNode add a FractNode.
func (ImplicitFunction) AddFunctionCallNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddFunctionCallNode(identifier string, displayName string, tag string) (FunctionCallNode, error)
AddFunctionCallNode add a FunctionCallNode.
func (ImplicitFunction) AddInverseNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddInverseNode(identifier string, displayName string, tag string) (InverseNode, error)
AddInverseNode add a InverseNode.
func (ImplicitFunction) AddLengthNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddLengthNode(identifier string, displayName string, tag string) (LengthNode, error)
AddLengthNode add a LengthNode.
func (ImplicitFunction) AddLink ¶ added in v2.4.0
func (inst ImplicitFunction) AddLink(source ImplicitPort, target ImplicitPort) error
AddLink add a link.
func (ImplicitFunction) AddLinkByNames ¶ added in v2.4.0
func (inst ImplicitFunction) AddLinkByNames(source string, target string) error
AddLinkByNames add a link.
func (ImplicitFunction) AddLog2Node ¶ added in v2.4.0
func (inst ImplicitFunction) AddLog2Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (Log2Node, error)
AddLog2Node add a Log2Node.
func (ImplicitFunction) AddLog10Node ¶ added in v2.4.0
func (inst ImplicitFunction) AddLog10Node(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (Log10Node, error)
AddLog10Node add a Log10Node.
func (ImplicitFunction) AddLogNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddLogNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (LogNode, error)
AddLogNode add a LogNode.
func (ImplicitFunction) AddMatVecMultiplicationNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMatVecMultiplicationNode(identifier string, displayName string, tag string) (MatVecMultiplicationNode, error)
AddMatVecMultiplicationNode add a MatVecMultiplicationNode.
func (ImplicitFunction) AddMatrixFromColumnsNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMatrixFromColumnsNode(identifier string, displayName string, tag string) (MatrixFromColumnsNode, error)
AddMatrixFromColumnsNode add a MatrixFromColumnsNode.
func (ImplicitFunction) AddMatrixFromRowsNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMatrixFromRowsNode(identifier string, displayName string, tag string) (MatrixFromRowsNode, error)
AddMatrixFromRowsNode add a MatrixFromRowsNode.
func (ImplicitFunction) AddMaxNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMaxNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (MaxNode, error)
AddMaxNode add a MaxNode.
func (ImplicitFunction) AddMeshNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMeshNode(identifier string, displayName string, tag string) (MeshNode, error)
AddMeshNode add a MeshNode.
func (ImplicitFunction) AddMinNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (MinNode, error)
AddMinNode add a MinNode.
func (ImplicitFunction) AddMultiplicationNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddMultiplicationNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (MultiplicationNode, error)
AddMultiplicationNode add a MultiplicationNode.
func (ImplicitFunction) AddNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddNode(nodeType ImplicitNodeType, identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (ImplicitNode, error)
AddNode add a node.
func (ImplicitFunction) AddPowNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddPowNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (PowNode, error)
AddPowNode add a PowNode.
func (ImplicitFunction) AddResourceIdNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddResourceIdNode(identifier string, displayName string, tag string) (ResourceIdNode, error)
AddResourceIdNode add a ResourceIdNode.
func (ImplicitFunction) AddRoundNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddRoundNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (RoundNode, error)
AddRoundNode add a RoundNode.
func (ImplicitFunction) AddSelectNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSelectNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SelectNode, error)
AddSelectNode add a SelectNode.
func (ImplicitFunction) AddSignNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSignNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SignNode, error)
AddSignNode add a SignNode.
func (ImplicitFunction) AddSinNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSinNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SinNode, error)
AddSinNode add a SinNode.
func (ImplicitFunction) AddSinhNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSinhNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SinhNode, error)
AddSinhNode add a SinhNode.
func (ImplicitFunction) AddSqrtNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSqrtNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SqrtNode, error)
AddSqrtNode add a SqrtNode.
func (ImplicitFunction) AddSubtractionNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddSubtractionNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (SubtractionNode, error)
AddSubtractionNode add a SubtractionNode.
func (ImplicitFunction) AddTanNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddTanNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (TanNode, error)
AddTanNode add a TanNode.
func (ImplicitFunction) AddTanhNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddTanhNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (TanhNode, error)
AddTanhNode add a TanhNode.
func (ImplicitFunction) AddTransposeNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddTransposeNode(identifier string, configuration ImplicitNodeConfiguration, displayName string, tag string) (TransposeNode, error)
AddTransposeNode add a TransposeNode.
func (ImplicitFunction) AddUnsignedMeshNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddUnsignedMeshNode(identifier string, displayName string, tag string) (UnsignedMeshNode, error)
AddUnsignedMeshNode add a UnsignedMeshNode.
func (ImplicitFunction) AddVectorFromScalarNode ¶ added in v2.4.0
func (inst ImplicitFunction) AddVectorFromScalarNode(identifier string, displayName string, tag string) (VectorFromScalarNode, error)
AddVectorFromScalarNode add a VectorFromScalar.
func (ImplicitFunction) Clear ¶ added in v2.4.0
func (inst ImplicitFunction) Clear() error
Clear clears the function.
func (ImplicitFunction) GetIdentifier ¶ added in v2.4.0
func (inst ImplicitFunction) GetIdentifier() (string, error)
GetIdentifier retrieves the identifier of the function.
func (ImplicitFunction) GetNodes ¶ added in v2.4.0
func (inst ImplicitFunction) GetNodes() (NodeIterator, error)
GetNodes retrieves the nodes.
func (ImplicitFunction) RemoveNode ¶ added in v2.4.0
func (inst ImplicitFunction) RemoveNode(node ImplicitNode) error
RemoveNode removes a node.
func (ImplicitFunction) SetIdentifier ¶ added in v2.4.0
func (inst ImplicitFunction) SetIdentifier(identifier string) error
SetIdentifier sets the identifier of the function.
func (ImplicitFunction) SortNodesTopologically ¶ added in v2.4.0
func (inst ImplicitFunction) SortNodesTopologically() error
SortNodesTopologically sorts the nodes topologically.
type ImplicitNode ¶ added in v2.4.0
type ImplicitNode struct {
Base
}
ImplicitNode represents a Lib3MF class.
func (ImplicitNode) AddInput ¶ added in v2.4.0
func (inst ImplicitNode) AddInput(identifier string, displayName string) (ImplicitPort, error)
AddInput add an input.
func (ImplicitNode) AddOutput ¶ added in v2.4.0
func (inst ImplicitNode) AddOutput(identifier string, displayName string) (ImplicitPort, error)
AddOutput add an output.
func (ImplicitNode) AreTypesValid ¶ added in v2.4.0
func (inst ImplicitNode) AreTypesValid() (bool, error)
AreTypesValid checks if the types of the input and output ports are valid for the node type.
func (ImplicitNode) FindInput ¶ added in v2.4.0
func (inst ImplicitNode) FindInput(identifier string) (*ImplicitPort, error)
FindInput retrieves an input.
func (ImplicitNode) FindOutput ¶ added in v2.4.0
func (inst ImplicitNode) FindOutput(identifier string) (*ImplicitPort, error)
FindOutput retrieves an output.
func (ImplicitNode) GetDisplayName ¶ added in v2.4.0
func (inst ImplicitNode) GetDisplayName() (string, error)
GetDisplayName retrieves the display name of the node.
func (ImplicitNode) GetIdentifier ¶ added in v2.4.0
func (inst ImplicitNode) GetIdentifier() (string, error)
GetIdentifier retrieves the identifier of the node.
func (ImplicitNode) GetInputs ¶ added in v2.4.0
func (inst ImplicitNode) GetInputs() (ImplicitPortIterator, error)
GetInputs retrieves the inputs.
func (ImplicitNode) GetNodeType ¶ added in v2.4.0
func (inst ImplicitNode) GetNodeType() (ImplicitNodeType, error)
GetNodeType retrieves the type of the node.
func (ImplicitNode) GetOutputs ¶ added in v2.4.0
func (inst ImplicitNode) GetOutputs() (ImplicitPortIterator, error)
GetOutputs retrieves the outputs.
func (ImplicitNode) GetTag ¶ added in v2.4.0
func (inst ImplicitNode) GetTag() (string, error)
GetTag retrieves the tag of the node.
func (ImplicitNode) SetDisplayName ¶ added in v2.4.0
func (inst ImplicitNode) SetDisplayName(displayName string) error
SetDisplayName sets the display name of the node.
func (ImplicitNode) SetIdentifier ¶ added in v2.4.0
func (inst ImplicitNode) SetIdentifier(identifier string) error
SetIdentifier sets the identifier of the node.
func (ImplicitNode) SetTag ¶ added in v2.4.0
func (inst ImplicitNode) SetTag(tag string) error
SetTag sets the tag of the node.
type ImplicitNodeConfiguration ¶ added in v2.4.0
type ImplicitNodeConfiguration int
ImplicitNodeConfiguration represents a Lib3MF enum.
type ImplicitNodeType ¶ added in v2.4.0
type ImplicitNodeType int
ImplicitNodeType represents a Lib3MF enum.
type ImplicitPort ¶ added in v2.4.0
type ImplicitPort struct {
Base
}
ImplicitPort represents a Lib3MF class.
func (ImplicitPort) GetDisplayName ¶ added in v2.4.0
func (inst ImplicitPort) GetDisplayName() (string, error)
GetDisplayName retrieves the display name of the port.
func (ImplicitPort) GetIdentifier ¶ added in v2.4.0
func (inst ImplicitPort) GetIdentifier() (string, error)
GetIdentifier retrieves the identifier of the port.
func (ImplicitPort) GetReference ¶ added in v2.4.0
func (inst ImplicitPort) GetReference() (string, error)
GetReference retrieves the reference of the port, only used for input ports.
func (ImplicitPort) GetType ¶ added in v2.4.0
func (inst ImplicitPort) GetType() (ImplicitPortType, error)
GetType retrieves the type of the port.
func (ImplicitPort) SetDisplayName ¶ added in v2.4.0
func (inst ImplicitPort) SetDisplayName(displayName string) error
SetDisplayName sets the display name of the port.
func (ImplicitPort) SetIdentifier ¶ added in v2.4.0
func (inst ImplicitPort) SetIdentifier(identifier string) error
SetIdentifier sets the identifier of the port.
func (ImplicitPort) SetReference ¶ added in v2.4.0
func (inst ImplicitPort) SetReference(reference string) error
SetReference sets the reference of the port, only used for input ports.
func (ImplicitPort) SetType ¶ added in v2.4.0
func (inst ImplicitPort) SetType(implicitPortType ImplicitPortType) error
SetType sets the type of the port.
type ImplicitPortIterator ¶ added in v2.4.0
type ImplicitPortIterator struct {
Iterator
}
ImplicitPortIterator represents a Lib3MF class.
func (ImplicitPortIterator) GetCurrent ¶ added in v2.4.0
func (inst ImplicitPortIterator) GetCurrent() (ImplicitPort, error)
GetCurrent returns the current element.
type ImplicitPortType ¶ added in v2.4.0
type ImplicitPortType int
ImplicitPortType represents a Lib3MF enum.
type InverseNode ¶ added in v2.4.0
type InverseNode struct {
OneInputNode
}
InverseNode represents a Lib3MF class.
type Iterator ¶ added in v2.4.0
type Iterator struct {
Base
}
Iterator represents a Lib3MF class.
func (Iterator) MovePrevious ¶ added in v2.4.0
MovePrevious iterates to the previous item in the list.
type KeyStore ¶
type KeyStore struct {
Base
}
KeyStore represents a Lib3MF class.
func (KeyStore) AddConsumer ¶
func (inst KeyStore) AddConsumer(consumerID string, keyID string, keyValue string) (Consumer, error)
AddConsumer adds a consumer to the keystore.
func (KeyStore) AddResourceData ¶
func (inst KeyStore) AddResourceData(resourceDataGroup ResourceDataGroup, partPath PackagePart, algorithm EncryptionAlgorithm, compression Compression, additionalAuthenticationData []uint8) (ResourceData, error)
AddResourceData add resourcedata to resourcedatagroup element.
func (KeyStore) AddResourceDataGroup ¶
func (inst KeyStore) AddResourceDataGroup() (ResourceDataGroup, error)
AddResourceDataGroup adds a resource data group into the keystore.
func (KeyStore) FindConsumer ¶
FindConsumer finds a consumer by ID.
func (KeyStore) FindResourceData ¶
func (inst KeyStore) FindResourceData(resourcePath PackagePart) (*ResourceData, error)
FindResourceData finds a resource data on this resource group.
func (KeyStore) FindResourceDataGroup ¶
func (inst KeyStore) FindResourceDataGroup(partPath PackagePart) (*ResourceDataGroup, error)
FindResourceDataGroup finds a resource data group that contains a particular resourcedata.
func (KeyStore) GetConsumer ¶
GetConsumer get a consumer from the keystore.
func (KeyStore) GetConsumerCount ¶
GetConsumerCount gets the number of consumers in the keystore.
func (KeyStore) GetResourceData ¶
func (inst KeyStore) GetResourceData(resourceDataIndex uint64) (ResourceData, error)
GetResourceData gets a resource data.
func (KeyStore) GetResourceDataCount ¶
GetResourceDataCount gets the number of resource data in the keysore.
func (KeyStore) GetResourceDataGroup ¶
func (inst KeyStore) GetResourceDataGroup(resourceDataIndex uint64) (ResourceDataGroup, error)
GetResourceDataGroup gets a resource data group.
func (KeyStore) GetResourceDataGroupCount ¶
GetResourceDataGroupCount gets the number of resource data group in the keysore.
func (KeyStore) RemoveConsumer ¶
RemoveConsumer removes a consumer from the keystore.
func (KeyStore) RemoveResourceData ¶
func (inst KeyStore) RemoveResourceData(resourceData ResourceData) error
RemoveResourceData removes a resource data.
func (KeyStore) RemoveResourceDataGroup ¶
func (inst KeyStore) RemoveResourceDataGroup(resourceDataGroup ResourceDataGroup) error
RemoveResourceDataGroup removes a resource data group.
type KeyWrappingCallbackFunc ¶
type KeyWrappingCallbackFunc = func(kEKParams AccessRight, inBuffer []uint8, outBuffer []uint8, userData uintptr, status *uint64)
KeyWrappingCallbackFunc a callback used to wrap (encrypt) the content key available in keystore resource group.
type LengthNode ¶ added in v2.4.0
type LengthNode struct {
OneInputNode
}
LengthNode represents a Lib3MF class.
type LevelSet ¶ added in v2.4.0
type LevelSet struct {
Object
}
LevelSet represents a Lib3MF class.
func (LevelSet) GetChannelName ¶ added in v2.4.0
GetChannelName returns the name of the function output channel to use.
func (LevelSet) GetFallBackValue ¶ added in v2.4.0
GetFallBackValue returns the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
func (LevelSet) GetFunction ¶ added in v2.4.0
GetFunction returns the function that is used as boundary shape.
func (LevelSet) GetMesh ¶ added in v2.4.0
func (inst LevelSet) GetMesh() (*MeshObject, error)
GetMesh returns the mesh that is used as evaluation domain.
func (LevelSet) GetMeshBBoxOnly ¶ added in v2.4.0
GetMeshBBoxOnly if set only the bounding box of the mesh is intersected with the boundary.
func (LevelSet) GetMinFeatureSize ¶ added in v2.4.0
GetMinFeatureSize returns the minimal feature size as a hint for the function evaluator.
func (LevelSet) GetTransform ¶ added in v2.4.0
GetTransform returns the transformation matrix into the coordinate system of the referenced Function.
func (LevelSet) GetVolumeData ¶ added in v2.4.0
func (inst LevelSet) GetVolumeData() (*VolumeData, error)
GetVolumeData retrieves the VolumeData this Object.
func (LevelSet) SetChannelName ¶ added in v2.4.0
SetChannelName sets the name of the function output channel to use.
func (LevelSet) SetFallBackValue ¶ added in v2.4.0
SetFallBackValue sets the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
func (LevelSet) SetFunction ¶ added in v2.4.0
SetFunction sets the function to use as boundary shape.
func (LevelSet) SetMesh ¶ added in v2.4.0
func (inst LevelSet) SetMesh(theMesh MeshObject) error
SetMesh sets the mesh to use as evaluation domain.
func (LevelSet) SetMeshBBoxOnly ¶ added in v2.4.0
SetMeshBBoxOnly if set only the bounding box of the mesh is intersected with the boundary.
func (LevelSet) SetMinFeatureSize ¶ added in v2.4.0
SetMinFeatureSize sets the minimal feature size as a hint for the function evaluator.
func (LevelSet) SetTransform ¶ added in v2.4.0
SetTransform sets the transformation matrix into the coordinate system of the referenced Function.
func (LevelSet) SetVolumeData ¶ added in v2.4.0
func (inst LevelSet) SetVolumeData(theVolumeData VolumeData) error
SetVolumeData sets the VolumeData of this LevelSet.
type LevelSetIterator ¶ added in v2.4.0
type LevelSetIterator struct {
ResourceIterator
}
LevelSetIterator represents a Lib3MF class.
func (LevelSetIterator) GetCurrentLevelSet ¶ added in v2.4.0
func (inst LevelSetIterator) GetCurrentLevelSet() (LevelSet, error)
GetCurrentLevelSet returns the LevelSet the iterator points at.
type Log2Node ¶ added in v2.4.0
type Log2Node struct {
OneInputNode
}
Log2Node represents a Lib3MF class.
type Log10Node ¶ added in v2.4.0
type Log10Node struct {
OneInputNode
}
Log10Node represents a Lib3MF class.
type LogNode ¶ added in v2.4.0
type LogNode struct {
OneInputNode
}
LogNode represents a Lib3MF class.
type MatVecMultiplicationNode ¶ added in v2.4.0
type MatVecMultiplicationNode struct {
TwoInputNode
}
MatVecMultiplicationNode represents a Lib3MF class.
type MaterialMapping ¶ added in v2.4.0
type MaterialMapping struct {
FunctionReference
}
MaterialMapping represents a Lib3MF class.
type Matrix4x4 ¶ added in v2.4.0
type Matrix4x4 struct {
Field [4][4]float64
}
Matrix4x4 represents a Lib3MF struct.
type MatrixFromColumnsNode ¶ added in v2.4.0
type MatrixFromColumnsNode struct {
ImplicitNode
}
MatrixFromColumnsNode represents a Lib3MF class.
func (MatrixFromColumnsNode) GetInputA ¶ added in v2.4.0
func (inst MatrixFromColumnsNode) GetInputA() (ImplicitPort, error)
GetInputA retrieves the input for the first column.
func (MatrixFromColumnsNode) GetInputB ¶ added in v2.4.0
func (inst MatrixFromColumnsNode) GetInputB() (ImplicitPort, error)
GetInputB retrieves the input for the second column.
func (MatrixFromColumnsNode) GetInputC ¶ added in v2.4.0
func (inst MatrixFromColumnsNode) GetInputC() (ImplicitPort, error)
GetInputC retrieves the input for the third column.
func (MatrixFromColumnsNode) GetInputD ¶ added in v2.4.0
func (inst MatrixFromColumnsNode) GetInputD() (ImplicitPort, error)
GetInputD retrieves the input for the fourth column.
func (MatrixFromColumnsNode) GetOutputResult ¶ added in v2.4.0
func (inst MatrixFromColumnsNode) GetOutputResult() (ImplicitPort, error)
GetOutputResult retrieves the output.
type MatrixFromRowsNode ¶ added in v2.4.0
type MatrixFromRowsNode struct {
ImplicitNode
}
MatrixFromRowsNode represents a Lib3MF class.
func (MatrixFromRowsNode) GetInputA ¶ added in v2.4.0
func (inst MatrixFromRowsNode) GetInputA() (ImplicitPort, error)
GetInputA retrieves the input for the first row.
func (MatrixFromRowsNode) GetInputB ¶ added in v2.4.0
func (inst MatrixFromRowsNode) GetInputB() (ImplicitPort, error)
GetInputB retrieves the input for the second row.
func (MatrixFromRowsNode) GetInputC ¶ added in v2.4.0
func (inst MatrixFromRowsNode) GetInputC() (ImplicitPort, error)
GetInputC retrieves the input for the third row.
func (MatrixFromRowsNode) GetInputD ¶ added in v2.4.0
func (inst MatrixFromRowsNode) GetInputD() (ImplicitPort, error)
GetInputD retrieves the input for the fourth row.
func (MatrixFromRowsNode) GetOutputResult ¶ added in v2.4.0
func (inst MatrixFromRowsNode) GetOutputResult() (ImplicitPort, error)
GetOutputResult retrieves the output.
type MaxNode ¶ added in v2.4.0
type MaxNode struct {
TwoInputNode
}
MaxNode represents a Lib3MF class.
type MeshNode ¶ added in v2.4.0
type MeshNode struct {
ImplicitNode
}
MeshNode represents a Lib3MF class.
func (MeshNode) GetInputMesh ¶ added in v2.4.0
func (inst MeshNode) GetInputMesh() (ImplicitPort, error)
GetInputMesh retrieves the input for the model resource id of the mesh.
func (MeshNode) GetInputPos ¶ added in v2.4.0
func (inst MeshNode) GetInputPos() (ImplicitPort, error)
GetInputPos retrieves the input for the position.
func (MeshNode) GetOutputDistance ¶ added in v2.4.0
func (inst MeshNode) GetOutputDistance() (ImplicitPort, error)
GetOutputDistance retrieves the output.
type MeshObject ¶
type MeshObject struct {
Object
}
MeshObject represents a Lib3MF class.
func (MeshObject) AddTriangle ¶
func (inst MeshObject) AddTriangle(indices Triangle) (uint32, error)
AddTriangle adds a single triangle to a mesh object.
func (MeshObject) AddTriangleSet ¶ added in v2.4.0
func (inst MeshObject) AddTriangleSet(identifier string, name string) (TriangleSet, error)
AddTriangleSet adds a new triangle set.
func (MeshObject) AddVertex ¶
func (inst MeshObject) AddVertex(coordinates Position) (uint32, error)
AddVertex adds a single vertex to a mesh object.
func (MeshObject) BeamLattice ¶
func (inst MeshObject) BeamLattice() (BeamLattice, error)
BeamLattice retrieves the BeamLattice within this MeshObject.
func (MeshObject) ClearAllProperties ¶
func (inst MeshObject) ClearAllProperties() error
ClearAllProperties clears all properties of this mesh object (triangle and object-level).
func (MeshObject) FindTriangleSet ¶ added in v2.4.0
func (inst MeshObject) FindTriangleSet(identifier string) (TriangleSet, error)
FindTriangleSet finds a new triangle set by identifier. Fails if not existing.
func (MeshObject) GetAllTriangleProperties ¶
func (inst MeshObject) GetAllTriangleProperties(propertiesArray []TriangleProperties) ([]TriangleProperties, error)
GetAllTriangleProperties gets the properties of all triangles of a mesh object.
func (MeshObject) GetObjectLevelProperty ¶
func (inst MeshObject) GetObjectLevelProperty() (uint32, uint32, bool, error)
GetObjectLevelProperty gets the property at the object-level of the mesh object.
func (MeshObject) GetTriangle ¶
func (inst MeshObject) GetTriangle(index uint32) (Triangle, error)
GetTriangle returns indices of a single triangle of a mesh object.
func (MeshObject) GetTriangleCount ¶
func (inst MeshObject) GetTriangleCount() (uint32, error)
GetTriangleCount returns the triangle count of a mesh object.
func (MeshObject) GetTriangleIndices ¶
func (inst MeshObject) GetTriangleIndices(indices []Triangle) ([]Triangle, error)
GetTriangleIndices get all triangles of a mesh object.
func (MeshObject) GetTriangleProperties ¶
func (inst MeshObject) GetTriangleProperties(index uint32) (TriangleProperties, error)
GetTriangleProperties gets the properties of a single triangle of a mesh object.
func (MeshObject) GetTriangleSet ¶ added in v2.4.0
func (inst MeshObject) GetTriangleSet(index uint32) (TriangleSet, error)
GetTriangleSet returns a specific triangle set by index.
func (MeshObject) GetTriangleSetCount ¶ added in v2.4.0
func (inst MeshObject) GetTriangleSetCount() (uint32, error)
GetTriangleSetCount returns number of triangle sets.
func (MeshObject) GetVertex ¶
func (inst MeshObject) GetVertex(index uint32) (Position, error)
GetVertex returns the vertex count of a mesh object.
func (MeshObject) GetVertexCount ¶
func (inst MeshObject) GetVertexCount() (uint32, error)
GetVertexCount returns the vertex count of a mesh object.
func (MeshObject) GetVertices ¶
func (inst MeshObject) GetVertices(vertices []Position) ([]Position, error)
GetVertices obtains all vertex positions of a mesh object.
func (MeshObject) GetVolumeData ¶ added in v2.4.0
func (inst MeshObject) GetVolumeData() (*VolumeData, error)
GetVolumeData retrieves the VolumeData of this MeshObject.
func (MeshObject) HasTriangleSet ¶ added in v2.4.0
func (inst MeshObject) HasTriangleSet(identifier string) (bool, error)
HasTriangleSet checks if a triangle set exists.
func (MeshObject) IsManifoldAndOriented ¶
func (inst MeshObject) IsManifoldAndOriented() (bool, error)
IsManifoldAndOriented retrieves, if an object describes a topologically oriented and manifold mesh, according to the core spec.
func (MeshObject) SetAllTriangleProperties ¶
func (inst MeshObject) SetAllTriangleProperties(propertiesArray []TriangleProperties) error
SetAllTriangleProperties sets the properties of all triangles of a mesh object. Sets the object level property to the first entry of the passed triangle properties, if not yet specified.
func (MeshObject) SetGeometry ¶
func (inst MeshObject) SetGeometry(vertices []Position, indices []Triangle) error
SetGeometry set all triangles of a mesh object.
func (MeshObject) SetObjectLevelProperty ¶
func (inst MeshObject) SetObjectLevelProperty(uniqueResourceID uint32, propertyID uint32) error
SetObjectLevelProperty sets the property at the object-level of the mesh object.
func (MeshObject) SetTriangle ¶
func (inst MeshObject) SetTriangle(index uint32, indices Triangle) error
SetTriangle sets the indices of a single triangle of a mesh object.
func (MeshObject) SetTriangleProperties ¶
func (inst MeshObject) SetTriangleProperties(index uint32, properties TriangleProperties) error
SetTriangleProperties sets the properties of a single triangle of a mesh object.
func (MeshObject) SetVertex ¶
func (inst MeshObject) SetVertex(index uint32, coordinates Position) error
SetVertex sets the coordinates of a single vertex of a mesh object.
func (MeshObject) SetVolumeData ¶ added in v2.4.0
func (inst MeshObject) SetVolumeData(theVolumeData VolumeData) error
SetVolumeData sets the VolumeData of this MeshObject.
type MeshObjectIterator ¶
type MeshObjectIterator struct {
ResourceIterator
}
MeshObjectIterator represents a Lib3MF class.
func (MeshObjectIterator) GetCurrentMeshObject ¶
func (inst MeshObjectIterator) GetCurrentMeshObject() (MeshObject, error)
GetCurrentMeshObject returns the MeshObject the iterator points at.
type MetaData ¶
type MetaData struct {
Base
}
MetaData represents a Lib3MF class.
func (MetaData) GetMustPreserve ¶
GetMustPreserve returns, whether a metadata must be preserved.
func (MetaData) GetNameSpace ¶
GetNameSpace returns the namespace URL of the metadata.
func (MetaData) SetMustPreserve ¶
SetMustPreserve sets whether a metadata must be preserved.
func (MetaData) SetNameSpace ¶
SetNameSpace sets a new namespace URL of the metadata.
type MetaDataGroup ¶
type MetaDataGroup struct {
Base
}
MetaDataGroup represents a Lib3MF class.
func (MetaDataGroup) AddMetaData ¶
func (inst MetaDataGroup) AddMetaData(nameSpace string, name string, value string, _type string, mustPreserve bool) (MetaData, error)
AddMetaData adds a new metadata to this metadatagroup.
func (MetaDataGroup) GetMetaData ¶
func (inst MetaDataGroup) GetMetaData(index uint32) (MetaData, error)
GetMetaData returns a metadata value within this metadatagroup.
func (MetaDataGroup) GetMetaDataByKey ¶
func (inst MetaDataGroup) GetMetaDataByKey(nameSpace string, name string) (MetaData, error)
GetMetaDataByKey returns a metadata value within this metadatagroup.
func (MetaDataGroup) GetMetaDataCount ¶
func (inst MetaDataGroup) GetMetaDataCount() (uint32, error)
GetMetaDataCount returns the number of metadata in this metadatagroup.
func (MetaDataGroup) RemoveMetaData ¶
func (inst MetaDataGroup) RemoveMetaData(theMetaData MetaData) error
RemoveMetaData removes metadata from the model.
func (MetaDataGroup) RemoveMetaDataByIndex ¶
func (inst MetaDataGroup) RemoveMetaDataByIndex(index uint32) error
RemoveMetaDataByIndex removes metadata by index from the model.
type MinNode ¶ added in v2.4.0
type MinNode struct {
TwoInputNode
}
MinNode represents a Lib3MF class.
type ModNode ¶ added in v2.4.0
type ModNode struct {
TwoInputNode
}
ModNode represents a Lib3MF class.
type Model ¶
type Model struct {
Base
}
Model represents a Lib3MF class.
func (Model) AddAttachment ¶
func (inst Model) AddAttachment(uRI string, relationShipType string) (Attachment, error)
AddAttachment adds an attachment stream to the model. The OPC part will be related to the model stream with a certain relationship type.
func (Model) AddBaseMaterialGroup ¶
func (inst Model) AddBaseMaterialGroup() (BaseMaterialGroup, error)
AddBaseMaterialGroup adds an empty BaseMaterialGroup resource to the model.
func (Model) AddBuildItem ¶
AddBuildItem adds a build item to the model.
func (Model) AddColorGroup ¶
func (inst Model) AddColorGroup() (ColorGroup, error)
AddColorGroup adds an empty ColorGroup resource to the model.
func (Model) AddComponentsObject ¶
func (inst Model) AddComponentsObject() (ComponentsObject, error)
AddComponentsObject adds an empty component object to the model.
func (Model) AddCompositeMaterials ¶
func (inst Model) AddCompositeMaterials(baseMaterialGroupInstance BaseMaterialGroup) (CompositeMaterials, error)
AddCompositeMaterials adds an empty CompositeMaterials resource to the model.
func (Model) AddCustomContentType ¶
AddCustomContentType adds a new Content Type to the model.
func (Model) AddFunctionFromImage3D ¶ added in v2.4.0
func (inst Model) AddFunctionFromImage3D(image3DInstance Image3D) (FunctionFromImage3D, error)
AddFunctionFromImage3D adds a function defined by an image3d to the model.
func (Model) AddImageStack ¶ added in v2.4.0
func (inst Model) AddImageStack(columnCount uint32, rowCount uint32, sheetCount uint32) (ImageStack, error)
AddImageStack creates a new 3D Image Resource.
func (Model) AddImplicitFunction ¶ added in v2.4.0
func (inst Model) AddImplicitFunction() (ImplicitFunction, error)
AddImplicitFunction adds a function described by nodes to the model.
func (Model) AddLevelSet ¶ added in v2.4.0
AddLevelSet adds an empty boundary shape object to the model.
func (Model) AddMeshObject ¶
func (inst Model) AddMeshObject() (MeshObject, error)
AddMeshObject adds an empty mesh object to the model.
func (Model) AddMultiPropertyGroup ¶
func (inst Model) AddMultiPropertyGroup() (MultiPropertyGroup, error)
AddMultiPropertyGroup adds an empty MultiPropertyGroup resource to the model.
func (Model) AddSliceStack ¶
func (inst Model) AddSliceStack(zBottom float64) (SliceStack, error)
AddSliceStack creates a new model slicestack by its id.
func (Model) AddTexture2DFromAttachment ¶
func (inst Model) AddTexture2DFromAttachment(textureAttachment Attachment) (Texture2D, error)
AddTexture2DFromAttachment adds a texture2d resource to the model. Its path is given by that of an existing attachment.
func (Model) AddTexture2DGroup ¶
func (inst Model) AddTexture2DGroup(texture2DInstance Texture2D) (Texture2DGroup, error)
AddTexture2DGroup adds an empty Texture2DGroup resource to the model.
func (Model) AddVolumeData ¶ added in v2.4.0
func (inst Model) AddVolumeData() (VolumeData, error)
AddVolumeData adds a volume data resource to the model.
func (Model) CreatePackageThumbnailAttachment ¶
func (inst Model) CreatePackageThumbnailAttachment() (Attachment, error)
CreatePackageThumbnailAttachment create a new or the existing package thumbnail for the OPC package.
func (Model) FindAttachment ¶
func (inst Model) FindAttachment(uRI string) (Attachment, error)
FindAttachment retrieves an attachment stream object from the model.
func (Model) FindOrCreatePackagePart ¶
func (inst Model) FindOrCreatePackagePart(absolutePath string) (PackagePart, error)
FindOrCreatePackagePart returns a new PackagePart for use within the OPC package.
func (Model) GetAttachment ¶
func (inst Model) GetAttachment(index uint32) (Attachment, error)
GetAttachment retrieves an attachment stream object from the model..
func (Model) GetAttachmentCount ¶
GetAttachmentCount retrieves the number of attachments of the model.
func (Model) GetBaseMaterialGroupByID ¶
func (inst Model) GetBaseMaterialGroupByID(uniqueResourceID uint32) (BaseMaterialGroup, error)
GetBaseMaterialGroupByID finds a model base material group by its UniqueResourceID.
func (Model) GetBaseMaterialGroups ¶
func (inst Model) GetBaseMaterialGroups() (BaseMaterialGroupIterator, error)
GetBaseMaterialGroups creates a BaseMaterialGroupIterator instance with all base material resources.
func (Model) GetBuildItems ¶
func (inst Model) GetBuildItems() (BuildItemIterator, error)
GetBuildItems creates a build item iterator instance with all build items.
func (Model) GetBuildUUID ¶
GetBuildUUID returns, whether a build has a UUID and, if true, the build's UUID.
func (Model) GetColorGroupByID ¶
func (inst Model) GetColorGroupByID(uniqueResourceID uint32) (ColorGroup, error)
GetColorGroupByID finds a model color group by its UniqueResourceID.
func (Model) GetColorGroups ¶
func (inst Model) GetColorGroups() (ColorGroupIterator, error)
GetColorGroups creates a ColorGroupIterator instance with all ColorGroup resources.
func (Model) GetComponentsObjectByID ¶
func (inst Model) GetComponentsObjectByID(uniqueResourceID uint32) (ComponentsObject, error)
GetComponentsObjectByID finds a components object by its UniqueResourceID.
func (Model) GetComponentsObjects ¶
func (inst Model) GetComponentsObjects() (ComponentsObjectIterator, error)
GetComponentsObjects creates a resource iterator instance with all components object resources.
func (Model) GetCompositeMaterials ¶
func (inst Model) GetCompositeMaterials() (CompositeMaterialsIterator, error)
GetCompositeMaterials creates a CompositeMaterialsIterator instance with all CompositeMaterials resources.
func (Model) GetCompositeMaterialsByID ¶
func (inst Model) GetCompositeMaterialsByID(uniqueResourceID uint32) (CompositeMaterials, error)
GetCompositeMaterialsByID finds a model CompositeMaterials by its UniqueResourceID.
func (Model) GetFunctions ¶ added in v2.4.0
func (inst Model) GetFunctions() (FunctionIterator, error)
GetFunctions creates a resource iterator for all functions.
func (Model) GetImage3Ds ¶ added in v2.4.0
func (inst Model) GetImage3Ds() (Image3DIterator, error)
GetImage3Ds creates a resource iterator instance with all image3d resources.
func (Model) GetImageStackByID ¶ added in v2.4.0
func (inst Model) GetImageStackByID(uniqueResourceID uint32) (ImageStack, error)
GetImageStackByID finds an ImageStack object by its UniqueResourceID.
func (Model) GetKeyStore ¶
GetKeyStore gets the keystore associated with this model.
func (Model) GetLanguage ¶
GetLanguage retrieves the language of a model.
func (Model) GetLevelSetByID ¶ added in v2.4.0
GetLevelSetByID finds a level set object by its UniqueResourceID.
func (Model) GetLevelSets ¶ added in v2.4.0
func (inst Model) GetLevelSets() (LevelSetIterator, error)
GetLevelSets creates a resource iterator instance with all boundary shape resources.
func (Model) GetMeshObjectByID ¶
func (inst Model) GetMeshObjectByID(uniqueResourceID uint32) (MeshObject, error)
GetMeshObjectByID finds a mesh object by its UniqueResourceID.
func (Model) GetMeshObjects ¶
func (inst Model) GetMeshObjects() (MeshObjectIterator, error)
GetMeshObjects creates a resource iterator instance with all mesh object resources.
func (Model) GetMetaDataGroup ¶
func (inst Model) GetMetaDataGroup() (MetaDataGroup, error)
GetMetaDataGroup returns the metadata of the model as MetaDataGroup.
func (Model) GetMultiPropertyGroupByID ¶
func (inst Model) GetMultiPropertyGroupByID(uniqueResourceID uint32) (MultiPropertyGroup, error)
GetMultiPropertyGroupByID finds a model MultiPropertyGroup by its UniqueResourceID.
func (Model) GetMultiPropertyGroups ¶
func (inst Model) GetMultiPropertyGroups() (MultiPropertyGroupIterator, error)
GetMultiPropertyGroups creates a MultiPropertyGroupsIterator instance with all MultiPropertyGroup resources.
func (Model) GetObjects ¶
func (inst Model) GetObjects() (ObjectIterator, error)
GetObjects creates a resource iterator instance with all object resources.
func (Model) GetPackageThumbnailAttachment ¶
func (inst Model) GetPackageThumbnailAttachment() (*Attachment, error)
GetPackageThumbnailAttachment get the attachment to the OPC package containing the package thumbnail.
func (Model) GetPropertyTypeByID ¶
func (inst Model) GetPropertyTypeByID(uniqueResourceID uint32) (PropertyType, error)
GetPropertyTypeByID returns a Property's type.
func (Model) GetResourceByID ¶
GetResourceByID finds a model resource by its UniqueResourceID.
func (Model) GetResources ¶
func (inst Model) GetResources() (ResourceIterator, error)
GetResources creates a resource iterator instance with all resources.
func (Model) GetSliceStackByID ¶
func (inst Model) GetSliceStackByID(uniqueResourceID uint32) (SliceStack, error)
GetSliceStackByID finds a model slicestack by its UniqueResourceID.
func (Model) GetSliceStacks ¶
func (inst Model) GetSliceStacks() (SliceStackIterator, error)
GetSliceStacks creates a resource iterator instance with all slice stack resources.
func (Model) GetTexture2DByID ¶
GetTexture2DByID finds a model texture by its UniqueResourceID.
func (Model) GetTexture2DGroupByID ¶
func (inst Model) GetTexture2DGroupByID(uniqueResourceID uint32) (Texture2DGroup, error)
GetTexture2DGroupByID finds a model texture2d group by its UniqueResourceID.
func (Model) GetTexture2DGroups ¶
func (inst Model) GetTexture2DGroups() (Texture2DGroupIterator, error)
GetTexture2DGroups creates a Texture2DGroupIterator instance with all base material resources.
func (Model) GetTexture2Ds ¶
func (inst Model) GetTexture2Ds() (Texture2DIterator, error)
GetTexture2Ds creates a Texture2DIterator instance with all texture2d resources.
func (Model) HasPackageThumbnailAttachment ¶
HasPackageThumbnailAttachment retrieve whether the OPC package contains a package thumbnail.
func (Model) MergeFromModel ¶ added in v2.4.0
MergeFromModel merges the given model into this model.
func (Model) MergeToModel ¶
MergeToModel merges all components and objects which are referenced by a build item into a mesh. The memory is duplicated and a new model is created.
func (Model) QueryReader ¶
QueryReader creates a model reader instance for a specific file type.
func (Model) QueryWriter ¶
QueryWriter creates a model writer instance for a specific file type.
func (Model) RemoveAttachment ¶
func (inst Model) RemoveAttachment(attachmentInstance Attachment) error
RemoveAttachment removes attachment from the model.
func (Model) RemoveBuildItem ¶
RemoveBuildItem removes a build item from the model.
func (Model) RemoveCustomContentType ¶
RemoveCustomContentType removes a custom Content Type from the model (UTF8 version).
func (Model) RemovePackageThumbnailAttachment ¶
RemovePackageThumbnailAttachment remove the attachment to the OPC package containing the package thumbnail.
func (Model) RemoveResource ¶ added in v2.4.0
RemoveResource removes a resource from the model.
func (Model) RootModelPart ¶
func (inst Model) RootModelPart() (PackagePart, error)
RootModelPart returns the PackagePart within the OPC package that holds the root model.
func (Model) SetBuildUUID ¶
SetBuildUUID sets the build's UUID.
func (Model) SetLanguage ¶
SetLanguage sets the language of a model.
func (Model) SetRandomNumberCallback ¶
func (inst Model) SetRandomNumberCallback(theCallback RandomNumberCallbackFunc, userData uintptr) error
SetRandomNumberCallback sets the random number generator callback for use in the library.
type MultiPropertyGroup ¶
type MultiPropertyGroup struct {
Resource
}
MultiPropertyGroup represents a Lib3MF class.
func (MultiPropertyGroup) AddLayer ¶
func (inst MultiPropertyGroup) AddLayer(theLayer MultiPropertyLayer) (uint32, error)
AddLayer adds a MultiPropertyLayer to this MultiPropertyGroup.
func (MultiPropertyGroup) AddMultiProperty ¶
func (inst MultiPropertyGroup) AddMultiProperty(propertyIDs []uint32) (uint32, error)
AddMultiProperty adds a new MultiProperty to the MultiPropertyGroup.
func (MultiPropertyGroup) GetAllPropertyIDs ¶
func (inst MultiPropertyGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
GetAllPropertyIDs returns all the PropertyIDs of all MultiProperty-s in this MultiPropertyGroup.
func (MultiPropertyGroup) GetCount ¶
func (inst MultiPropertyGroup) GetCount() (uint32, error)
GetCount retrieves the count of MultiProperty-s in the MultiPropertyGroup.
func (MultiPropertyGroup) GetLayer ¶
func (inst MultiPropertyGroup) GetLayer(layerIndex uint32) (MultiPropertyLayer, error)
GetLayer obtains a MultiPropertyLayer of this MultiPropertyGroup.
func (MultiPropertyGroup) GetLayerCount ¶
func (inst MultiPropertyGroup) GetLayerCount() (uint32, error)
GetLayerCount retrieves the number of layers of this MultiPropertyGroup.
func (MultiPropertyGroup) GetMultiProperty ¶
func (inst MultiPropertyGroup) GetMultiProperty(propertyID uint32, propertyIDs []uint32) ([]uint32, error)
GetMultiProperty obtains the PropertyIDs of a MultiProperty.
func (MultiPropertyGroup) RemoveLayer ¶
func (inst MultiPropertyGroup) RemoveLayer(layerIndex uint32) error
RemoveLayer removes a MultiPropertyLayer from this MultiPropertyGroup.
func (MultiPropertyGroup) RemoveMultiProperty ¶
func (inst MultiPropertyGroup) RemoveMultiProperty(propertyID uint32) error
RemoveMultiProperty removes a MultiProperty from this MultiPropertyGroup.
func (MultiPropertyGroup) SetMultiProperty ¶
func (inst MultiPropertyGroup) SetMultiProperty(propertyID uint32, propertyIDs []uint32) error
SetMultiProperty sets the PropertyIDs of a MultiProperty.
type MultiPropertyGroupIterator ¶
type MultiPropertyGroupIterator struct {
ResourceIterator
}
MultiPropertyGroupIterator represents a Lib3MF class.
func (MultiPropertyGroupIterator) GetCurrentMultiPropertyGroup ¶
func (inst MultiPropertyGroupIterator) GetCurrentMultiPropertyGroup() (MultiPropertyGroup, error)
GetCurrentMultiPropertyGroup returns the MultiPropertyGroup the iterator points at.
type MultiPropertyLayer ¶
type MultiPropertyLayer struct {
ResourceID uint32
TheBlendMethod BlendMethod
}
MultiPropertyLayer represents a Lib3MF struct.
type MultiplicationNode ¶ added in v2.4.0
type MultiplicationNode struct {
TwoInputNode
}
MultiplicationNode represents a Lib3MF class.
type NodeIterator ¶ added in v2.4.0
type NodeIterator struct {
Iterator
}
NodeIterator represents a Lib3MF class.
func (NodeIterator) GetCurrent ¶ added in v2.4.0
func (inst NodeIterator) GetCurrent() (ImplicitNode, error)
GetCurrent returns the current element.
type Object ¶
type Object struct {
Resource
}
Object represents a Lib3MF class.
func (Object) AssignSliceStack ¶
func (inst Object) AssignSliceStack(sliceStackInstance SliceStack) error
AssignSliceStack assigns a slicestack to the object.
func (Object) ClearSliceStack ¶
ClearSliceStack unlinks the attached slicestack from this object. If no slice stack is attached, do noting.
func (Object) ClearThumbnailAttachment ¶
ClearThumbnailAttachment clears the attachment. The attachment instance is not removed from the package.
func (Object) GetMetaDataGroup ¶
func (inst Object) GetMetaDataGroup() (MetaDataGroup, error)
GetMetaDataGroup returns the metadatagroup of this object.
func (Object) GetPartNumber ¶
GetPartNumber retrieves an object's part number.
func (Object) GetSliceStack ¶
func (inst Object) GetSliceStack() (SliceStack, error)
GetSliceStack get the Slicestack attached to the object.
func (Object) GetSlicesMeshResolution ¶
func (inst Object) GetSlicesMeshResolution() (SlicesMeshResolution, error)
GetSlicesMeshResolution get the meshresolution of the mesh object.
func (Object) GetThumbnailAttachment ¶
func (inst Object) GetThumbnailAttachment() (*Attachment, error)
GetThumbnailAttachment get the attachment containing the object thumbnail.
func (Object) GetType ¶
func (inst Object) GetType() (ObjectType, error)
GetType retrieves an object's type.
func (Object) GetUUID ¶
GetUUID retrieves an object's uuid string (see production extension specification).
func (Object) HasSlices ¶
HasSlices returns whether the Object has a slice stack. If Recursive is true, also checks whether any references object has a slice stack.
func (Object) IsComponentsObject ¶
IsComponentsObject retrieves, if an object is a components object.
func (Object) IsLevelSetObject ¶ added in v2.4.0
IsLevelSetObject retrieves, if an object is a level set object.
func (Object) IsMeshObject ¶
IsMeshObject retrieves, if an object is a mesh object.
func (Object) IsValid ¶
IsValid retrieves, if the object is valid according to the core spec. For mesh objects, we distinguish between the type attribute of the object:In case of object type other, this always means false.In case of object type model or solidsupport, this means, if the mesh suffices all requirements of the core spec chapter 4.1.In case of object type support or surface, this always means true.A component objects is valid if and only if it contains at least one component and all child components are valid objects.
func (Object) SetAttachmentAsThumbnail ¶
func (inst Object) SetAttachmentAsThumbnail(attachment Attachment) error
SetAttachmentAsThumbnail use an existing attachment as thumbnail for this object.
func (Object) SetPartNumber ¶
SetPartNumber sets an objects partnumber string.
func (Object) SetSlicesMeshResolution ¶
func (inst Object) SetSlicesMeshResolution(meshResolution SlicesMeshResolution) error
SetSlicesMeshResolution set the meshresolution of the mesh object.
func (Object) SetType ¶
func (inst Object) SetType(objectType ObjectType) error
SetType sets an object's type.
type ObjectIterator ¶
type ObjectIterator struct {
ResourceIterator
}
ObjectIterator represents a Lib3MF class.
func (ObjectIterator) GetCurrentObject ¶
func (inst ObjectIterator) GetCurrentObject() (Object, error)
GetCurrentObject returns the Object the iterator points at.
type OneInputNode ¶ added in v2.4.0
type OneInputNode struct {
ImplicitNode
}
OneInputNode represents a Lib3MF class.
func (OneInputNode) GetInputA ¶ added in v2.4.0
func (inst OneInputNode) GetInputA() (ImplicitPort, error)
GetInputA retrieves the input.
func (OneInputNode) GetOutputResult ¶ added in v2.4.0
func (inst OneInputNode) GetOutputResult() (ImplicitPort, error)
GetOutputResult retrieves the output.
type PackagePart ¶
type PackagePart struct {
Base
}
PackagePart represents a Lib3MF class.
func (PackagePart) GetPath ¶
func (inst PackagePart) GetPath() (string, error)
GetPath returns the absolute path of this PackagePart.
func (PackagePart) SetPath ¶
func (inst PackagePart) SetPath(path string) error
SetPath sets the absolute path of this PackagePart.
type Position ¶
type Position struct {
Coordinates [3]float32
}
Position represents a Lib3MF struct.
type Position2D ¶
type Position2D struct {
Coordinates [2]float32
}
Position2D represents a Lib3MF struct.
type PowNode ¶ added in v2.4.0
type PowNode struct {
TwoInputNode
}
PowNode represents a Lib3MF class.
type ProgressCallbackFunc ¶
type ProgressCallbackFunc = func(abort *bool, progressValue float64, progressIdentifier ProgressIdentifier, userData uintptr)
ProgressCallbackFunc a callback function.
type RandomNumberCallbackFunc ¶
type RandomNumberCallbackFunc = func(byteData uint64, numBytes uint64, userData uintptr, bytesWritten *uint64)
RandomNumberCallbackFunc callback to generate random numbers.
type ReadCallbackFunc ¶
ReadCallbackFunc callback to call for reading a data chunk.
type Reader ¶
type Reader struct {
Base
}
Reader represents a Lib3MF class.
func (Reader) AddKeyWrappingCallback ¶
func (inst Reader) AddKeyWrappingCallback(consumerID string, theCallback KeyWrappingCallbackFunc, userData uintptr) error
AddKeyWrappingCallback registers a callback to deal with key wrapping mechanism from keystore.
func (Reader) AddRelationToRead ¶
AddRelationToRead adds a relationship type which shall be read as attachment in memory while loading.
func (Reader) GetStrictModeActive ¶
GetStrictModeActive queries whether the strict mode of the reader is active or not.
func (Reader) GetWarning ¶
GetWarning returns Warning and Error Information of the read process.
func (Reader) GetWarningCount ¶
GetWarningCount returns Warning and Error Count of the read process.
func (Reader) ReadFromBuffer ¶
ReadFromBuffer reads a model from a memory buffer.
func (Reader) ReadFromCallback ¶
func (inst Reader) ReadFromCallback(theReadCallback ReadCallbackFunc, streamSize uint64, theSeekCallback SeekCallbackFunc, userData uintptr) error
ReadFromCallback reads a model and from the data provided by a callback function.
func (Reader) ReadFromFile ¶
ReadFromFile reads a model from a file. The file type is specified by the Model Reader class.
func (Reader) RemoveRelationToRead ¶
RemoveRelationToRead removes a relationship type which shall be read as attachment in memory while loading.
func (Reader) SetContentEncryptionCallback ¶
func (inst Reader) SetContentEncryptionCallback(theCallback ContentEncryptionCallbackFunc, userData uintptr) error
SetContentEncryptionCallback registers a callback to deal with encryption of content.
func (Reader) SetProgressCallback ¶
func (inst Reader) SetProgressCallback(progressCallback ProgressCallbackFunc, userData uintptr) error
SetProgressCallback set the progress callback for calls to this writer.
func (Reader) SetStrictModeActive ¶
SetStrictModeActive activates (deactivates) the strict mode of the reader.
type Resource ¶
type Resource struct {
Base
}
Resource represents a Lib3MF class.
func (Resource) GetModelResourceID ¶
GetModelResourceID retrieves the id of this resource within a model.
func (Resource) GetResourceID ¶
GetResourceID retrieves the unique id of this resource within a package. This function will be removed in a later release in favor of GetUniqueResourceID.
func (Resource) GetUniqueResourceID ¶
GetUniqueResourceID retrieves the unique id of this resource within a package.
func (Resource) PackagePart ¶
func (inst Resource) PackagePart() (PackagePart, error)
PackagePart returns the PackagePart within which this resource resides.
func (Resource) SetPackagePart ¶
func (inst Resource) SetPackagePart(packagePart PackagePart) error
SetPackagePart sets the new PackagePart within which this resource resides.
type ResourceData ¶
type ResourceData struct {
Base
}
ResourceData represents a Lib3MF class.
func (ResourceData) GetAdditionalAuthenticationData ¶
func (inst ResourceData) GetAdditionalAuthenticationData(byteData []uint8) ([]uint8, error)
GetAdditionalAuthenticationData tells whether this ResourceData is compressed or not.
func (ResourceData) GetCompression ¶
func (inst ResourceData) GetCompression() (Compression, error)
GetCompression tells whether this ResourceData is compressed or not.
func (ResourceData) GetEncryptionAlgorithm ¶
func (inst ResourceData) GetEncryptionAlgorithm() (EncryptionAlgorithm, error)
GetEncryptionAlgorithm gets the encryption algorithm used to encrypt this ResourceData.
func (ResourceData) GetPath ¶
func (inst ResourceData) GetPath() (PackagePart, error)
GetPath gets the encrypted part path.
type ResourceDataGroup ¶
type ResourceDataGroup struct {
Base
}
ResourceDataGroup represents a Lib3MF class.
func (ResourceDataGroup) AddAccessRight ¶
func (inst ResourceDataGroup) AddAccessRight(consumer Consumer, wrappingAlgorithm WrappingAlgorithm, mgfAlgorithm MgfAlgorithm, digestMethod DigestMethod) (AccessRight, error)
AddAccessRight add accessright to resourcedatagroup element.
func (ResourceDataGroup) FindAccessRightByConsumer ¶
func (inst ResourceDataGroup) FindAccessRightByConsumer(consumer Consumer) (*AccessRight, error)
FindAccessRightByConsumer finds the AccessRight associated with a Consumer.
func (ResourceDataGroup) GetKeyUUID ¶
func (inst ResourceDataGroup) GetKeyUUID() (string, error)
GetKeyUUID sets the resourcedatagroup keyuuid.
func (ResourceDataGroup) RemoveAccessRight ¶
func (inst ResourceDataGroup) RemoveAccessRight(consumer Consumer) error
RemoveAccessRight removes access from a Consumer on this resource data group.
type ResourceIdNode ¶ added in v2.4.0
type ResourceIdNode struct {
ImplicitNode
}
ResourceIdNode represents a Lib3MF class.
func (ResourceIdNode) GetOutputValue ¶ added in v2.4.0
func (inst ResourceIdNode) GetOutputValue() (ImplicitPort, error)
GetOutputValue retrieves the output.
func (ResourceIdNode) GetResource ¶ added in v2.4.0
func (inst ResourceIdNode) GetResource() (Resource, error)
GetResource retrieves the resource of the node.
func (ResourceIdNode) SetResource ¶ added in v2.4.0
func (inst ResourceIdNode) SetResource(resource Resource) error
SetResource sets the Resource that the resourceid attribute of the node will point to.
type ResourceIterator ¶
type ResourceIterator struct {
Base
}
ResourceIterator represents a Lib3MF class.
func (ResourceIterator) Clone ¶
func (inst ResourceIterator) Clone() (ResourceIterator, error)
Clone creates a new resource iterator with the same resource list.
func (ResourceIterator) Count ¶
func (inst ResourceIterator) Count() (uint64, error)
Count returns the number of resoucres the iterator captures.
func (ResourceIterator) GetCurrent ¶
func (inst ResourceIterator) GetCurrent() (Resource, error)
GetCurrent returns the resource the iterator points at.
func (ResourceIterator) MoveNext ¶
func (inst ResourceIterator) MoveNext() (bool, error)
MoveNext iterates to the next resource in the list.
func (ResourceIterator) MovePrevious ¶
func (inst ResourceIterator) MovePrevious() (bool, error)
MovePrevious iterates to the previous resource in the list.
type RoundNode ¶ added in v2.4.0
type RoundNode struct {
OneInputNode
}
RoundNode represents a Lib3MF class.
type SeekCallbackFunc ¶
SeekCallbackFunc callback to call for seeking in the stream.
type SelectNode ¶ added in v2.4.0
type SelectNode struct {
OneInputNode
}
SelectNode represents a Lib3MF class.
func (SelectNode) GetInputB ¶ added in v2.4.0
func (inst SelectNode) GetInputB() (ImplicitPort, error)
GetInputB retrieves the second input.
func (SelectNode) GetInputC ¶ added in v2.4.0
func (inst SelectNode) GetInputC() (ImplicitPort, error)
GetInputC retrieves the third input.
func (SelectNode) GetInputD ¶ added in v2.4.0
func (inst SelectNode) GetInputD() (ImplicitPort, error)
GetInputD retrieves the fourth input.
type SignNode ¶ added in v2.4.0
type SignNode struct {
OneInputNode
}
SignNode represents a Lib3MF class.
type SinNode ¶ added in v2.4.0
type SinNode struct {
OneInputNode
}
SinNode represents a Lib3MF class.
type SinhNode ¶ added in v2.4.0
type SinhNode struct {
OneInputNode
}
SinhNode represents a Lib3MF class.
type Slice ¶
type Slice struct {
Base
}
Slice represents a Lib3MF class.
func (Slice) AddPolygon ¶
AddPolygon add a new polygon to this slice.
func (Slice) GetPolygonCount ¶
GetPolygonCount get the number of polygons in the slice.
func (Slice) GetPolygonIndexCount ¶
GetPolygonIndexCount get the number of vertices in a slice.
func (Slice) GetPolygonIndices ¶
GetPolygonIndices get all vertices of a slice.
func (Slice) GetVertexCount ¶
GetVertexCount get the number of vertices in a slice.
func (Slice) GetVertices ¶
func (inst Slice) GetVertices(vertices []Position2D) ([]Position2D, error)
GetVertices get all vertices of a slice.
func (Slice) SetPolygonIndices ¶
SetPolygonIndices set all indices of a polygon.
func (Slice) SetVertices ¶
func (inst Slice) SetVertices(vertices []Position2D) error
SetVertices set all vertices of a slice. All polygons will be cleared.
type SliceStack ¶
type SliceStack struct {
Resource
}
SliceStack represents a Lib3MF class.
func (SliceStack) AddSlice ¶
func (inst SliceStack) AddSlice(zTop float64) (Slice, error)
AddSlice returns the number of slices.
func (SliceStack) AddSliceStackReference ¶
func (inst SliceStack) AddSliceStackReference(theSliceStack SliceStack) error
AddSliceStackReference adds another existing slicestack as sliceref in this slicestack.
func (SliceStack) CollapseSliceReferences ¶
func (inst SliceStack) CollapseSliceReferences() error
CollapseSliceReferences removes the indirection of slices via slice-refs, i.e. creates the slices of all slice refs of this SliceStack as actual slices of this SliceStack. All previously existing slices or slicerefs will be removed.
func (SliceStack) GetBottomZ ¶
func (inst SliceStack) GetBottomZ() (float64, error)
GetBottomZ get the lower Z-Coordinate of the slice stack.
func (SliceStack) GetOwnPath ¶
func (inst SliceStack) GetOwnPath() (string, error)
GetOwnPath obtains the package path where this Slice should be stored. Returns an empty string if the slicestack is stored within the root model.
func (SliceStack) GetSlice ¶
func (inst SliceStack) GetSlice(sliceIndex uint64) (Slice, error)
GetSlice query a slice from the slice stack.
func (SliceStack) GetSliceCount ¶
func (inst SliceStack) GetSliceCount() (uint64, error)
GetSliceCount returns the number of slices.
func (SliceStack) GetSliceRefCount ¶
func (inst SliceStack) GetSliceRefCount() (uint64, error)
GetSliceRefCount returns the number of slice refs.
func (SliceStack) GetSliceStackReference ¶
func (inst SliceStack) GetSliceStackReference(sliceRefIndex uint64) (SliceStack, error)
GetSliceStackReference adds another existing slicestack as sliceref in this slicestack.
func (SliceStack) SetOwnPath ¶
func (inst SliceStack) SetOwnPath(path string) error
SetOwnPath sets the package path where this Slice should be stored. Input an empty string to reset the path.
type SliceStackIterator ¶
type SliceStackIterator struct {
ResourceIterator
}
SliceStackIterator represents a Lib3MF class.
func (SliceStackIterator) GetCurrentSliceStack ¶
func (inst SliceStackIterator) GetCurrentSliceStack() (SliceStack, error)
GetCurrentSliceStack returns the SliceStack the iterator points at.
type SlicesMeshResolution ¶
type SlicesMeshResolution int
SlicesMeshResolution represents a Lib3MF enum.
type SqrtNode ¶ added in v2.4.0
type SqrtNode struct {
OneInputNode
}
SqrtNode represents a Lib3MF class.
type SubtractionNode ¶ added in v2.4.0
type SubtractionNode struct {
TwoInputNode
}
SubtractionNode represents a Lib3MF class.
type TanNode ¶ added in v2.4.0
type TanNode struct {
OneInputNode
}
TanNode represents a Lib3MF class.
type TanhNode ¶ added in v2.4.0
type TanhNode struct {
OneInputNode
}
TanhNode represents a Lib3MF class.
type Texture2D ¶
type Texture2D struct {
Resource
}
Texture2D represents a Lib3MF class.
func (Texture2D) GetAttachment ¶
func (inst Texture2D) GetAttachment() (Attachment, error)
GetAttachment retrieves the attachment located at the path of the texture.
func (Texture2D) GetContentType ¶
func (inst Texture2D) GetContentType() (TextureType, error)
GetContentType retrieves a texture's content type.
func (Texture2D) GetFilter ¶
func (inst Texture2D) GetFilter() (TextureFilter, error)
GetFilter retrieves a texture's filter type.
func (Texture2D) GetTileStyleUV ¶
func (inst Texture2D) GetTileStyleUV() (TextureTileStyle, TextureTileStyle, error)
GetTileStyleUV retrieves a texture's tilestyle type.
func (Texture2D) SetAttachment ¶
func (inst Texture2D) SetAttachment(attachment Attachment) error
SetAttachment sets the texture's package path to the path of the attachment.
func (Texture2D) SetContentType ¶
func (inst Texture2D) SetContentType(contentType TextureType) error
SetContentType retrieves a texture's content type.
func (Texture2D) SetFilter ¶
func (inst Texture2D) SetFilter(filter TextureFilter) error
SetFilter sets a texture's filter type.
func (Texture2D) SetTileStyleUV ¶
func (inst Texture2D) SetTileStyleUV(tileStyleU TextureTileStyle, tileStyleV TextureTileStyle) error
SetTileStyleUV sets a texture's tilestyle type.
type Texture2DGroup ¶
type Texture2DGroup struct {
Resource
}
Texture2DGroup represents a Lib3MF class.
func (Texture2DGroup) AddTex2Coord ¶
func (inst Texture2DGroup) AddTex2Coord(uVCoordinate Tex2Coord) (uint32, error)
AddTex2Coord adds a new tex2coord to the Texture2DGroup.
func (Texture2DGroup) GetAllPropertyIDs ¶
func (inst Texture2DGroup) GetAllPropertyIDs(propertyIDs []uint32) ([]uint32, error)
GetAllPropertyIDs returns all the PropertyIDs of all tex2coords in this Texture2DGroup.
func (Texture2DGroup) GetCount ¶
func (inst Texture2DGroup) GetCount() (uint32, error)
GetCount retrieves the count of tex2coords in the Texture2DGroup.
func (Texture2DGroup) GetTex2Coord ¶
func (inst Texture2DGroup) GetTex2Coord(propertyID uint32) (Tex2Coord, error)
GetTex2Coord obtains a tex2coord to the Texture2DGroup.
func (Texture2DGroup) GetTexture2D ¶
func (inst Texture2DGroup) GetTexture2D() (Texture2D, error)
GetTexture2D obtains the texture2D instance of this group.
func (Texture2DGroup) RemoveTex2Coord ¶
func (inst Texture2DGroup) RemoveTex2Coord(propertyID uint32) error
RemoveTex2Coord removes a tex2coords from the Texture2DGroup.
type Texture2DGroupIterator ¶
type Texture2DGroupIterator struct {
ResourceIterator
}
Texture2DGroupIterator represents a Lib3MF class.
func (Texture2DGroupIterator) GetCurrentTexture2DGroup ¶
func (inst Texture2DGroupIterator) GetCurrentTexture2DGroup() (Texture2DGroup, error)
GetCurrentTexture2DGroup returns the Texture2DGroup the iterator points at.
type Texture2DIterator ¶
type Texture2DIterator struct {
ResourceIterator
}
Texture2DIterator represents a Lib3MF class.
func (Texture2DIterator) GetCurrentTexture2D ¶
func (inst Texture2DIterator) GetCurrentTexture2D() (Texture2D, error)
GetCurrentTexture2D returns the Texture2D the iterator points at.
type Transform ¶
type Transform struct {
Fields [4][3]float32
}
Transform represents a Lib3MF struct.
type TransposeNode ¶ added in v2.4.0
type TransposeNode struct {
OneInputNode
}
TransposeNode represents a Lib3MF class.
type TriangleProperties ¶
TriangleProperties represents a Lib3MF struct.
type TriangleSet ¶ added in v2.4.0
type TriangleSet struct {
Base
}
TriangleSet represents a Lib3MF class.
func (TriangleSet) AddTriangle ¶ added in v2.4.0
func (inst TriangleSet) AddTriangle(triangleIndex uint32) error
AddTriangle adds a triangle to the set. Does nothing if triangle is already in the set.
func (TriangleSet) AddTriangleList ¶ added in v2.4.0
func (inst TriangleSet) AddTriangleList(triangleIndices []uint32) error
AddTriangleList adds multiple triangles in the list. Duplicates will be merged.
func (TriangleSet) Clear ¶ added in v2.4.0
func (inst TriangleSet) Clear() error
Clear clears all triangles from the list.
func (TriangleSet) DeleteSet ¶ added in v2.4.0
func (inst TriangleSet) DeleteSet() error
DeleteSet deletes the whole set from the mesh.
func (TriangleSet) Duplicate ¶ added in v2.4.0
func (inst TriangleSet) Duplicate(identifier string) (TriangleSet, error)
Duplicate duplicates the set in the mesh.
func (TriangleSet) GetIdentifier ¶ added in v2.4.0
func (inst TriangleSet) GetIdentifier() (string, error)
GetIdentifier returns the identifier of the triangle set.
func (TriangleSet) GetName ¶ added in v2.4.0
func (inst TriangleSet) GetName() (string, error)
GetName returns the name of the triangle set.
func (TriangleSet) GetTriangleList ¶ added in v2.4.0
func (inst TriangleSet) GetTriangleList(triangleIndices []uint32) ([]uint32, error)
GetTriangleList retrieves all the triangles in the TriangleSet.
func (TriangleSet) Merge ¶ added in v2.4.0
func (inst TriangleSet) Merge(otherTriangleSet TriangleSet, deleteOther bool) error
Merge merges another Triangle set.
func (TriangleSet) RemoveTriangle ¶ added in v2.4.0
func (inst TriangleSet) RemoveTriangle(triangleIndex uint32) error
RemoveTriangle removes a triangle from the set.
func (TriangleSet) SetIdentifier ¶ added in v2.4.0
func (inst TriangleSet) SetIdentifier(identifier string) error
SetIdentifier sets the identifier of the triangle set.
func (TriangleSet) SetName ¶ added in v2.4.0
func (inst TriangleSet) SetName(name string) error
SetName sets the name of the triangle set.
func (TriangleSet) SetTriangleList ¶ added in v2.4.0
func (inst TriangleSet) SetTriangleList(triangleIndices []uint32) error
SetTriangleList sets all triangles in the list, while clearing old values. Duplicates will be merged.
type TwoInputNode ¶ added in v2.4.0
type TwoInputNode struct {
OneInputNode
}
TwoInputNode represents a Lib3MF class.
func (TwoInputNode) GetInputB ¶ added in v2.4.0
func (inst TwoInputNode) GetInputB() (ImplicitPort, error)
GetInputB retrieves the second input.
type UnsignedMeshNode ¶ added in v2.4.0
type UnsignedMeshNode struct {
ImplicitNode
}
UnsignedMeshNode represents a Lib3MF class.
func (UnsignedMeshNode) GetInputMesh ¶ added in v2.4.0
func (inst UnsignedMeshNode) GetInputMesh() (ImplicitPort, error)
GetInputMesh retrieves the input for the model resource id of the mesh.
func (UnsignedMeshNode) GetInputPos ¶ added in v2.4.0
func (inst UnsignedMeshNode) GetInputPos() (ImplicitPort, error)
GetInputPos retrieves the input for the position.
func (UnsignedMeshNode) GetOutputDistance ¶ added in v2.4.0
func (inst UnsignedMeshNode) GetOutputDistance() (ImplicitPort, error)
GetOutputDistance retrieves the output.
type Vector ¶ added in v2.4.0
type Vector struct {
Coordinates [3]float64
}
Vector represents a Lib3MF struct.
type VectorFromScalarNode ¶ added in v2.4.0
type VectorFromScalarNode struct {
OneInputNode
}
VectorFromScalarNode represents a Lib3MF class.
type VolumeData ¶ added in v2.4.0
type VolumeData struct {
Resource
}
VolumeData represents a Lib3MF class.
func (VolumeData) AddPropertyFromFunction ¶ added in v2.4.0
func (inst VolumeData) AddPropertyFromFunction(name string, theFunction Function) (VolumeDataProperty, error)
AddPropertyFromFunction adds a new VolumeDataProperty from a Function.
func (VolumeData) CreateNewColor ¶ added in v2.4.0
func (inst VolumeData) CreateNewColor(theFunction Function) (VolumeDataColor, error)
CreateNewColor creates a new VolumeDataColor for this VolumeData instance.
func (VolumeData) CreateNewComposite ¶ added in v2.4.0
func (inst VolumeData) CreateNewComposite() (VolumeDataComposite, error)
CreateNewComposite creates a new VolumeDataComposite for this VolumeData instance.
func (VolumeData) GetColor ¶ added in v2.4.0
func (inst VolumeData) GetColor() (*VolumeDataColor, error)
GetColor returns the VolumeDataColor of this VolumeData instance.
func (VolumeData) GetComposite ¶ added in v2.4.0
func (inst VolumeData) GetComposite() (*VolumeDataComposite, error)
GetComposite returns the VolumeDataComposite of this VolumeData instance.
func (VolumeData) GetProperty ¶ added in v2.4.0
func (inst VolumeData) GetProperty(index uint32) (VolumeDataProperty, error)
GetProperty returns the VolumeDataProperty at a given Index.
func (VolumeData) GetPropertyCount ¶ added in v2.4.0
func (inst VolumeData) GetPropertyCount() (uint32, error)
GetPropertyCount returns the number of VolumeDataProperty.
func (VolumeData) RemoveColor ¶ added in v2.4.0
func (inst VolumeData) RemoveColor() error
RemoveColor removes the VolumeDataColor of this VolumeData instance.
func (VolumeData) RemoveComposite ¶ added in v2.4.0
func (inst VolumeData) RemoveComposite() error
RemoveComposite removes the VolumeDataComposite of this VolumeData instance.
func (VolumeData) RemoveProperty ¶ added in v2.4.0
func (inst VolumeData) RemoveProperty(index uint32) error
RemoveProperty removes the VolumeDataProperty with a given index.
type VolumeDataColor ¶ added in v2.4.0
type VolumeDataColor struct {
FunctionReference
}
VolumeDataColor represents a Lib3MF class.
type VolumeDataComposite ¶ added in v2.4.0
type VolumeDataComposite struct {
Base
}
VolumeDataComposite represents a Lib3MF class.
func (VolumeDataComposite) AddMaterialMapping ¶ added in v2.4.0
func (inst VolumeDataComposite) AddMaterialMapping(transform Transform) (MaterialMapping, error)
AddMaterialMapping adds a the MaterialMapping.
func (VolumeDataComposite) GetBaseMaterialGroup ¶ added in v2.4.0
func (inst VolumeDataComposite) GetBaseMaterialGroup() (BaseMaterialGroup, error)
GetBaseMaterialGroup returns the BaseMaterialGroup used within this volume data item.
func (VolumeDataComposite) GetMaterialMapping ¶ added in v2.4.0
func (inst VolumeDataComposite) GetMaterialMapping(index uint32) (MaterialMapping, error)
GetMaterialMapping returns MaterialMappting with given index.
func (VolumeDataComposite) GetMaterialMappingCount ¶ added in v2.4.0
func (inst VolumeDataComposite) GetMaterialMappingCount() (uint32, error)
GetMaterialMappingCount returns the number of material mappings of this VolumeDataComposite element.
func (VolumeDataComposite) RemoveMaterialMapping ¶ added in v2.4.0
func (inst VolumeDataComposite) RemoveMaterialMapping(index uint32) error
RemoveMaterialMapping removes the MaterialMapping with given index.
func (VolumeDataComposite) SetBaseMaterialGroup ¶ added in v2.4.0
func (inst VolumeDataComposite) SetBaseMaterialGroup(baseMaterialGroupInstance BaseMaterialGroup) error
SetBaseMaterialGroup sets the BaseMaterialGroup to use within this volume data item.
type VolumeDataProperty ¶ added in v2.4.0
type VolumeDataProperty struct {
FunctionReference
}
VolumeDataProperty represents a Lib3MF class.
func (VolumeDataProperty) GetName ¶ added in v2.4.0
func (inst VolumeDataProperty) GetName() (string, error)
GetName gets the qualified name of this property.
func (VolumeDataProperty) IsRequired ¶ added in v2.4.0
func (inst VolumeDataProperty) IsRequired() (bool, error)
IsRequired returns whether this property is required to process this 3MF document instance.
func (VolumeDataProperty) SetIsRequired ¶ added in v2.4.0
func (inst VolumeDataProperty) SetIsRequired(isRequired bool) error
SetIsRequired sets whether this property is required to process this 3MF document instance.
type WrappedError ¶
WrappedError is an error that wraps a Lib3MF error.
func (*WrappedError) Error ¶
func (e *WrappedError) Error() string
type Wrapper ¶
type Wrapper struct {
LibraryHandle ref
// contains filtered or unexported fields
}
Wrapper represents the number wrapper
func GetWrapper ¶
func LoadLibrary ¶
func (Wrapper) CheckBinaryVersion ¶
func (Wrapper) ColorToFloatRGBA ¶
ColorToFloatRGBA calculates float-RGBA-values from a Color.
func (Wrapper) ColorToRGBA ¶
ColorToRGBA calculates uint8-RGBA-values from a Color.
func (Wrapper) CreateModel ¶
CreateModel creates an empty model instance.
func (Wrapper) FloatRGBAToColor ¶
func (wrapper Wrapper) FloatRGBAToColor(red float32, green float32, blue float32, alpha float32) (Color, error)
FloatRGBAToColor creates a Color from uint8 RGBA values.
func (Wrapper) GetBuildInformation ¶
GetBuildInformation retrieves build information of this library.
func (Wrapper) GetIdentityTransform ¶
GetIdentityTransform creates an identity transform.
func (Wrapper) GetLastError ¶
GetLastError retrieves the last error string of an instance.
func (Wrapper) GetLibraryVersion ¶
GetLibraryVersion retrieves the binary version of this library.
func (Wrapper) GetPrereleaseInformation ¶
GetPrereleaseInformation retrieves prerelease information of this library.
func (Wrapper) GetScaleTransform ¶
func (wrapper Wrapper) GetScaleTransform(factorX float32, factorY float32, factorZ float32) (Transform, error)
GetScaleTransform creates a scale transform.
func (Wrapper) GetSpecificationVersion ¶
func (wrapper Wrapper) GetSpecificationVersion(specificationURL string) (bool, uint32, uint32, uint32, error)
GetSpecificationVersion retrieves whether a specification is supported, and if so, which version.
func (Wrapper) GetSymbolLookupMethod ¶
GetSymbolLookupMethod returns the address of the SymbolLookupMethod.
func (Wrapper) GetTranslationTransform ¶
func (wrapper Wrapper) GetTranslationTransform(vectorX float32, vectorY float32, vectorZ float32) (Transform, error)
GetTranslationTransform creates an translation transform.
func (Wrapper) GetUniformScaleTransform ¶
GetUniformScaleTransform creates a uniform scale transform.
func (Wrapper) NewAbsNode ¶ added in v2.4.0
func (Wrapper) NewAccessRight ¶
func (wrapper Wrapper) NewAccessRight(r ref) AccessRight
func (Wrapper) NewAdditionNode ¶ added in v2.4.0
func (wrapper Wrapper) NewAdditionNode(r ref) AdditionNode
func (Wrapper) NewArcCosNode ¶ added in v2.4.0
func (wrapper Wrapper) NewArcCosNode(r ref) ArcCosNode
func (Wrapper) NewArcSinNode ¶ added in v2.4.0
func (wrapper Wrapper) NewArcSinNode(r ref) ArcSinNode
func (Wrapper) NewArcTan2Node ¶ added in v2.4.0
func (wrapper Wrapper) NewArcTan2Node(r ref) ArcTan2Node
func (Wrapper) NewArcTanNode ¶ added in v2.4.0
func (wrapper Wrapper) NewArcTanNode(r ref) ArcTanNode
func (Wrapper) NewAttachment ¶
func (wrapper Wrapper) NewAttachment(r ref) Attachment
func (Wrapper) NewBase ¶
NewBase creates a new Base. The wrapped C pointer will be freed when the Go pointer is finalized, but one can release it manually calling Release.
func (Wrapper) NewBaseMaterialGroup ¶
func (wrapper Wrapper) NewBaseMaterialGroup(r ref) BaseMaterialGroup
func (Wrapper) NewBaseMaterialGroupIterator ¶
func (wrapper Wrapper) NewBaseMaterialGroupIterator(r ref) BaseMaterialGroupIterator
func (Wrapper) NewBeamLattice ¶
func (wrapper Wrapper) NewBeamLattice(r ref) BeamLattice
func (Wrapper) NewBeamSet ¶
func (Wrapper) NewBuildItem ¶
func (Wrapper) NewBuildItemIterator ¶
func (wrapper Wrapper) NewBuildItemIterator(r ref) BuildItemIterator
func (Wrapper) NewCeilNode ¶ added in v2.4.0
func (Wrapper) NewClampNode ¶ added in v2.4.0
func (Wrapper) NewColorGroup ¶
func (wrapper Wrapper) NewColorGroup(r ref) ColorGroup
func (Wrapper) NewColorGroupIterator ¶
func (wrapper Wrapper) NewColorGroupIterator(r ref) ColorGroupIterator
func (Wrapper) NewComponent ¶
func (Wrapper) NewComponentsObject ¶
func (wrapper Wrapper) NewComponentsObject(r ref) ComponentsObject
func (Wrapper) NewComponentsObjectIterator ¶
func (wrapper Wrapper) NewComponentsObjectIterator(r ref) ComponentsObjectIterator
func (Wrapper) NewComposeMatrixNode ¶ added in v2.4.0
func (wrapper Wrapper) NewComposeMatrixNode(r ref) ComposeMatrixNode
func (Wrapper) NewComposeVectorNode ¶ added in v2.4.0
func (wrapper Wrapper) NewComposeVectorNode(r ref) ComposeVectorNode
func (Wrapper) NewCompositeMaterials ¶
func (wrapper Wrapper) NewCompositeMaterials(r ref) CompositeMaterials
func (Wrapper) NewCompositeMaterialsIterator ¶
func (wrapper Wrapper) NewCompositeMaterialsIterator(r ref) CompositeMaterialsIterator
func (Wrapper) NewConstMatNode ¶ added in v2.4.0
func (wrapper Wrapper) NewConstMatNode(r ref) ConstMatNode
func (Wrapper) NewConstVecNode ¶ added in v2.4.0
func (wrapper Wrapper) NewConstVecNode(r ref) ConstVecNode
func (Wrapper) NewConstantNode ¶ added in v2.4.0
func (wrapper Wrapper) NewConstantNode(r ref) ConstantNode
func (Wrapper) NewConsumer ¶
func (Wrapper) NewContentEncryptionParams ¶
func (wrapper Wrapper) NewContentEncryptionParams(r ref) ContentEncryptionParams
func (Wrapper) NewCosNode ¶ added in v2.4.0
func (Wrapper) NewCoshNode ¶ added in v2.4.0
func (Wrapper) NewCrossNode ¶ added in v2.4.0
func (Wrapper) NewDecomposeVectorNode ¶ added in v2.4.0
func (wrapper Wrapper) NewDecomposeVectorNode(r ref) DecomposeVectorNode
func (Wrapper) NewDivisionNode ¶ added in v2.4.0
func (wrapper Wrapper) NewDivisionNode(r ref) DivisionNode
func (Wrapper) NewDotNode ¶ added in v2.4.0
func (Wrapper) NewExpNode ¶ added in v2.4.0
func (Wrapper) NewFloorNode ¶ added in v2.4.0
func (Wrapper) NewFmodNode ¶ added in v2.4.0
func (Wrapper) NewFractNode ¶ added in v2.4.0
func (Wrapper) NewFunction ¶ added in v2.4.0
func (Wrapper) NewFunctionCallNode ¶ added in v2.4.0
func (wrapper Wrapper) NewFunctionCallNode(r ref) FunctionCallNode
func (Wrapper) NewFunctionFromImage3D ¶ added in v2.4.0
func (wrapper Wrapper) NewFunctionFromImage3D(r ref) FunctionFromImage3D
func (Wrapper) NewFunctionIterator ¶ added in v2.4.0
func (wrapper Wrapper) NewFunctionIterator(r ref) FunctionIterator
func (Wrapper) NewFunctionReference ¶ added in v2.4.0
func (wrapper Wrapper) NewFunctionReference(r ref) FunctionReference
func (Wrapper) NewImage3D ¶ added in v2.4.0
func (Wrapper) NewImage3DIterator ¶ added in v2.4.0
func (wrapper Wrapper) NewImage3DIterator(r ref) Image3DIterator
func (Wrapper) NewImageStack ¶ added in v2.4.0
func (wrapper Wrapper) NewImageStack(r ref) ImageStack
func (Wrapper) NewImplicitFunction ¶ added in v2.4.0
func (wrapper Wrapper) NewImplicitFunction(r ref) ImplicitFunction
func (Wrapper) NewImplicitNode ¶ added in v2.4.0
func (wrapper Wrapper) NewImplicitNode(r ref) ImplicitNode
func (Wrapper) NewImplicitPort ¶ added in v2.4.0
func (wrapper Wrapper) NewImplicitPort(r ref) ImplicitPort
func (Wrapper) NewImplicitPortIterator ¶ added in v2.4.0
func (wrapper Wrapper) NewImplicitPortIterator(r ref) ImplicitPortIterator
func (Wrapper) NewInverseNode ¶ added in v2.4.0
func (wrapper Wrapper) NewInverseNode(r ref) InverseNode
func (Wrapper) NewIterator ¶ added in v2.4.0
func (Wrapper) NewKeyStore ¶
func (Wrapper) NewLengthNode ¶ added in v2.4.0
func (wrapper Wrapper) NewLengthNode(r ref) LengthNode
func (Wrapper) NewLevelSet ¶ added in v2.4.0
func (Wrapper) NewLevelSetIterator ¶ added in v2.4.0
func (wrapper Wrapper) NewLevelSetIterator(r ref) LevelSetIterator
func (Wrapper) NewLog2Node ¶ added in v2.4.0
func (Wrapper) NewLog10Node ¶ added in v2.4.0
func (Wrapper) NewLogNode ¶ added in v2.4.0
func (Wrapper) NewMatVecMultiplicationNode ¶ added in v2.4.0
func (wrapper Wrapper) NewMatVecMultiplicationNode(r ref) MatVecMultiplicationNode
func (Wrapper) NewMaterialMapping ¶ added in v2.4.0
func (wrapper Wrapper) NewMaterialMapping(r ref) MaterialMapping
func (Wrapper) NewMatrixFromColumnsNode ¶ added in v2.4.0
func (wrapper Wrapper) NewMatrixFromColumnsNode(r ref) MatrixFromColumnsNode
func (Wrapper) NewMatrixFromRowsNode ¶ added in v2.4.0
func (wrapper Wrapper) NewMatrixFromRowsNode(r ref) MatrixFromRowsNode
func (Wrapper) NewMaxNode ¶ added in v2.4.0
func (Wrapper) NewMeshNode ¶ added in v2.4.0
func (Wrapper) NewMeshObject ¶
func (wrapper Wrapper) NewMeshObject(r ref) MeshObject
func (Wrapper) NewMeshObjectIterator ¶
func (wrapper Wrapper) NewMeshObjectIterator(r ref) MeshObjectIterator
func (Wrapper) NewMetaData ¶
func (Wrapper) NewMetaDataGroup ¶
func (wrapper Wrapper) NewMetaDataGroup(r ref) MetaDataGroup
func (Wrapper) NewMinNode ¶ added in v2.4.0
func (Wrapper) NewModNode ¶ added in v2.4.0
func (Wrapper) NewMultiPropertyGroup ¶
func (wrapper Wrapper) NewMultiPropertyGroup(r ref) MultiPropertyGroup
func (Wrapper) NewMultiPropertyGroupIterator ¶
func (wrapper Wrapper) NewMultiPropertyGroupIterator(r ref) MultiPropertyGroupIterator
func (Wrapper) NewMultiplicationNode ¶ added in v2.4.0
func (wrapper Wrapper) NewMultiplicationNode(r ref) MultiplicationNode
func (Wrapper) NewNodeIterator ¶ added in v2.4.0
func (wrapper Wrapper) NewNodeIterator(r ref) NodeIterator
func (Wrapper) NewObjectIterator ¶
func (wrapper Wrapper) NewObjectIterator(r ref) ObjectIterator
func (Wrapper) NewOneInputNode ¶ added in v2.4.0
func (wrapper Wrapper) NewOneInputNode(r ref) OneInputNode
func (Wrapper) NewPackagePart ¶
func (wrapper Wrapper) NewPackagePart(r ref) PackagePart
func (Wrapper) NewPowNode ¶ added in v2.4.0
func (Wrapper) NewResource ¶
func (Wrapper) NewResourceData ¶
func (wrapper Wrapper) NewResourceData(r ref) ResourceData
func (Wrapper) NewResourceDataGroup ¶
func (wrapper Wrapper) NewResourceDataGroup(r ref) ResourceDataGroup
func (Wrapper) NewResourceIdNode ¶ added in v2.4.0
func (wrapper Wrapper) NewResourceIdNode(r ref) ResourceIdNode
func (Wrapper) NewResourceIterator ¶
func (wrapper Wrapper) NewResourceIterator(r ref) ResourceIterator
func (Wrapper) NewRoundNode ¶ added in v2.4.0
func (Wrapper) NewSelectNode ¶ added in v2.4.0
func (wrapper Wrapper) NewSelectNode(r ref) SelectNode
func (Wrapper) NewSignNode ¶ added in v2.4.0
func (Wrapper) NewSinNode ¶ added in v2.4.0
func (Wrapper) NewSinhNode ¶ added in v2.4.0
func (Wrapper) NewSliceStack ¶
func (wrapper Wrapper) NewSliceStack(r ref) SliceStack
func (Wrapper) NewSliceStackIterator ¶
func (wrapper Wrapper) NewSliceStackIterator(r ref) SliceStackIterator
func (Wrapper) NewSqrtNode ¶ added in v2.4.0
func (Wrapper) NewSubtractionNode ¶ added in v2.4.0
func (wrapper Wrapper) NewSubtractionNode(r ref) SubtractionNode
func (Wrapper) NewTanNode ¶ added in v2.4.0
func (Wrapper) NewTanhNode ¶ added in v2.4.0
func (Wrapper) NewTexture2D ¶
func (Wrapper) NewTexture2DGroup ¶
func (wrapper Wrapper) NewTexture2DGroup(r ref) Texture2DGroup
func (Wrapper) NewTexture2DGroupIterator ¶
func (wrapper Wrapper) NewTexture2DGroupIterator(r ref) Texture2DGroupIterator
func (Wrapper) NewTexture2DIterator ¶
func (wrapper Wrapper) NewTexture2DIterator(r ref) Texture2DIterator
func (Wrapper) NewTransposeNode ¶ added in v2.4.0
func (wrapper Wrapper) NewTransposeNode(r ref) TransposeNode
func (Wrapper) NewTriangleSet ¶ added in v2.4.0
func (wrapper Wrapper) NewTriangleSet(r ref) TriangleSet
func (Wrapper) NewTwoInputNode ¶ added in v2.4.0
func (wrapper Wrapper) NewTwoInputNode(r ref) TwoInputNode
func (Wrapper) NewUnsignedMeshNode ¶ added in v2.4.0
func (wrapper Wrapper) NewUnsignedMeshNode(r ref) UnsignedMeshNode
func (Wrapper) NewVectorFromScalarNode ¶ added in v2.4.0
func (wrapper Wrapper) NewVectorFromScalarNode(r ref) VectorFromScalarNode
func (Wrapper) NewVolumeData ¶ added in v2.4.0
func (wrapper Wrapper) NewVolumeData(r ref) VolumeData
func (Wrapper) NewVolumeDataColor ¶ added in v2.4.0
func (wrapper Wrapper) NewVolumeDataColor(r ref) VolumeDataColor
func (Wrapper) NewVolumeDataComposite ¶ added in v2.4.0
func (wrapper Wrapper) NewVolumeDataComposite(r ref) VolumeDataComposite
func (Wrapper) NewVolumeDataProperty ¶ added in v2.4.0
func (wrapper Wrapper) NewVolumeDataProperty(r ref) VolumeDataProperty
func (Wrapper) RGBAToColor ¶
RGBAToColor creates a Color from uint8 RGBA values.
func (Wrapper) RetrieveProgressMessage ¶
func (wrapper Wrapper) RetrieveProgressMessage(theProgressIdentifier ProgressIdentifier) (string, error)
RetrieveProgressMessage return an English text for a progress identifier.|Note: this is the only function you can call from your callback function.
func (Wrapper) SetJournal ¶
SetJournal sets the journal file path.
type WriteCallbackFunc ¶
WriteCallbackFunc callback to call for writing a data chunk.
type Writer ¶
type Writer struct {
Base
}
Writer represents a Lib3MF class.
func (Writer) AddKeyWrappingCallback ¶
func (inst Writer) AddKeyWrappingCallback(consumerID string, theCallback KeyWrappingCallbackFunc, userData uintptr) error
AddKeyWrappingCallback registers a callback to deal with data key encryption/decryption from keystore.
func (Writer) GetDecimalPrecision ¶
GetDecimalPrecision returns the number of digits after the decimal point to be written in each vertex coordinate-value.
func (Writer) GetStreamSize ¶
GetStreamSize retrieves the size of the full 3MF file stream.
func (Writer) GetStrictModeActive ¶
GetStrictModeActive queries whether the strict mode of the reader is active or not.
func (Writer) GetWarning ¶
GetWarning returns Warning and Error Information of the read process.
func (Writer) GetWarningCount ¶
GetWarningCount returns Warning and Error Count of the read process.
func (Writer) SetContentEncryptionCallback ¶
func (inst Writer) SetContentEncryptionCallback(theCallback ContentEncryptionCallbackFunc, userData uintptr) error
SetContentEncryptionCallback registers a callback to deal with encryption of content.
func (Writer) SetDecimalPrecision ¶
SetDecimalPrecision sets the number of digits after the decimal point to be written in each vertex coordinate-value.
func (Writer) SetProgressCallback ¶
func (inst Writer) SetProgressCallback(progressCallback ProgressCallbackFunc, userData uintptr) error
SetProgressCallback set the progress callback for calls to this writer.
func (Writer) SetStrictModeActive ¶
SetStrictModeActive activates (deactivates) the strict mode of the reader.
func (Writer) WriteToBuffer ¶
WriteToBuffer writes out the 3MF file into a memory buffer.
func (Writer) WriteToCallback ¶
func (inst Writer) WriteToCallback(theWriteCallback WriteCallbackFunc, theSeekCallback SeekCallbackFunc, userData uintptr) error
WriteToCallback writes out the model and passes the data to a provided callback function. The file type is specified by the Model Writer class.
func (Writer) WriteToFile ¶
WriteToFile writes out the model as file. The file type is specified by the Model Writer class.