v3_0

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsBcfService

func InsBcfService() *sBcfService

Types

type BcfData

type BcfData struct {
	ProjectInfo  *ProjectInfo
	DocumentInfo *DocumentInfo
	Extensions   *Extensions
	Markups      []*Markup
	Visinfos     map[string][]*VisualizationInfo
}

type BimSnippet

type BimSnippet struct {
	Reference       string `xml:"Reference"`
	ReferenceSchema string `xml:"ReferenceSchema"`
	SnippetType     string `xml:"SnippetType,attr"`
	// contains filtered or unexported fields
}

type Bitmap

type Bitmap struct {
	Format    string    `xml:"Format"`
	Reference string    `xml:"Reference"`
	Location  Point     `xml:"Location"`
	Normal    Direction `xml:"Normal"`
	Up        Direction `xml:"Up"`
	Height    string    `xml:"Height"`
}

type ClippingPlane

type ClippingPlane struct {
	Location  Point     `xml:"Location"`
	Direction Direction `xml:"Direction"`
}

type Comment

type Comment struct {
	Date           string            `xml:"Date"`
	Author         string            `xml:"Author"`
	Comment        string            `xml:"Comment,omitempty"`
	Viewpoint      *CommentViewpoint `xml:"Viewpoint,omitempty"`
	ModifiedDate   string            `xml:"ModifiedDate,omitempty"`
	ModifiedAuthor string            `xml:"ModifiedAuthor,omitempty"`
	Guid           string            `xml:"Guid,attr"`
}

type CommentViewpoint

type CommentViewpoint struct {
	Guid string `xml:"Guid,attr"`
}

type Component

type Component struct {
	OriginatingSystem string `xml:"OriginatingSystem,omitempty"`
	AuthoringToolId   string `xml:"AuthoringToolId,omitempty"`
	IfcGuid           string `xml:"IfcGuid,omitempty"`
}

type ComponentColoring

type ComponentColoring struct {
	Components []*Component `xml:"Components>Component"`
	Color      string       `xml:"Color,attr"`
}

type ComponentSelection

type ComponentSelection struct {
	Component []*Component `xml:"Component,omitempty"`
}

type ComponentVisibility

type ComponentVisibility struct {
	ViewSetupHints    *ViewSetupHints `xml:"ViewSetupHints,omitempty"`
	Exceptions        []*Component    `xml:"Exceptions>Component,omitempty"`
	DefaultVisibility bool            `xml:"DefaultVisibility"`
}

type Components

type Components struct {
	Selection  *ComponentSelection  `xml:"Selection,omitempty"`
	Visibility *ComponentVisibility `xml:"Visibility,omitempty"`
	Coloring   *ComponentColoring   `xml:"Coloring>Color,omitempty"`
}

type Direction

type Direction struct {
	X float64 `xml:"X"`
	Y float64 `xml:"Y"`
	Z float64 `xml:"Z"`
}

type Document

type Document struct {
	Guid        string `xml:"Guid,attr"`
	Description string `xml:"Description,omitempty"`
	Filename    string `xml:"Filename"`
}

************************BCF3.0 common struct**********************// **************************************documents*********************************//

type DocumentInfo

type DocumentInfo struct {
	XMLName   xml.Name    `xml:"DocumentInfo"`
	Documents []*Document `xml:"Documents>Document,omitempty" json:"Documents"`
}

type DocumentReference

type DocumentReference struct {
	DocumentGuid string `xml:"DocumentGuid,omitempty"`
	Url          string `xml:"Url,omitempty"`
	Description  string `xml:"Description,omitempty"`
	Guid         string `xml:"Guid,attr"`
}

type Extensions

type Extensions struct {
	XMLName       xml.Name `xml:"Extensions"`
	TopicTypes    []string `xml:"TopicTypes>TopicType,omitempty"`
	TopicStatuses []string `xml:"TopicStatuses>TopicStatus,omitempty"`
	Priorities    []string `xml:"Priorities>Priority,omitempty"`
	TopicLabels   []string `xml:"TopicLabels>TopicLabel,omitempty"`
	Users         []string `xml:"Users>User,omitempty"`
	SnippetTypes  []string `xml:"SnippetTypes>SnippetType,omitempty"`
	Stages        []string `xml:"Stages>Stage,omitempty"`
}

type File

type File struct {
	Filename                   string `xml:"Filename,omitempty"`
	Date                       string `xml:"Date,omitempty"`
	Reference                  string `xml:"Reference,omitempty"`
	IfcProject                 string `xml:"IfcProject,attr,omitempty"`
	IfcSpatialStructureElement string `xml:"IfcSpatialStructureElement,attr,omitempty"`
	IsExternal                 bool   `xml:"IsExternal,attr"`
}

type Line

type Line struct {
	StartPoint Point `xml:"StartPoint"`
	EndPoint   Point `xml:"EndPoint"`
}

type Markup

type Markup struct {
	XMLName xml.Name `xml:"Markup"`
	Header  []*File  `xml:"Header>Files>File,omitempty"`
	Topic   *Topic   `xml:"Topic"`
}

type OrthogonalCamera

type OrthogonalCamera struct {
	CameraViewPoint  Point     `xml:"CameraViewPoint"`
	CameraDirection  Direction `xml:"CameraDirection"`
	CameraUpVector   Direction `xml:"CameraUpVector"`
	ViewToWorldScale float64   `xml:"ViewToWorldScale"`
	AspectRatio      float64   `xml:"AspectRatio"`
}

**************************************visinfo*********************************//

type PerspectiveCamera

type PerspectiveCamera struct {
	CameraViewPoint Point     `xml:"CameraViewPoint"`
	CameraDirection Direction `xml:"CameraDirection"`
	CameraUpVector  Direction `xml:"CameraUpVector"`
	FieldOfView     float64   `xml:"FieldOfView"`
	AspectRatio     float64   `xml:"AspectRatio"`
}

type Point

type Point struct {
	X float64 `xml:"X"`
	Y float64 `xml:"Y"`
	Z float64 `xml:"Z"`
}

type Project

type Project struct {
	ProjectId string `xml:"ProjectId,attr"`
	Name      string `xml:"Name,omitempty"`
}

**************************************project*********************************//

type ProjectInfo

type ProjectInfo struct {
	XMLName xml.Name `xml:"ProjectInfo"`
	Project *Project `xml:"Project"`
}

type RelatedTopic

type RelatedTopic struct {
	Guid string `xml:"Guid,attr"`
}

type Topic

type Topic struct {
	XMLName            xml.Name             `xml:"Topic"`
	ReferenceLinks     []string             `xml:"ReferenceLinks>ReferenceLink,omitempty"`
	Title              string               `xml:"Title"`
	Priority           string               `xml:"Priority,omitempty"`
	Index              string               `xml:"Index,omitempty"`
	Labels             []string             `xml:"Labels>Label,omitempty"`
	CreationDate       string               `xml:"CreationDate"`
	CreationAuthor     string               `xml:"CreationAuthor"`
	ModifiedDate       string               `xml:"ModifiedDate,omitempty"`
	ModifiedAuthor     string               `xml:"ModifiedAuthor,omitempty"`
	DueDate            string               `xml:"DueDate,omitempty"`
	AssignedTo         string               `xml:"AssignedTo,omitempty"`
	Stage              string               `xml:"Stage,omitempty"`
	Description        string               `xml:"Description,omitempty"`
	BimSnippet         *BimSnippet          `xml:"BimSnippet,omitempty"`
	DocumentReferences []*DocumentReference `xml:"DocumentReferences>DocumentReference,omitempty"`
	RelatedTopics      []*RelatedTopic      `xml:"RelatedTopics>RelatedTopic,omitempty"`
	Comments           []*Comment           `xml:"Comments>Comment,omitempty"`
	ViewPoints         []*ViewPoint         `xml:"Viewpoints>ViewPoint,omitempty"`
	Guid               string               `xml:"Guid,attr"`
	ServerAssignedId   string               `xml:"ServerAssignedId,attr,omitempty"`
	TopicType          string               `xml:"TopicType,attr"`
	TopicStatus        string               `xml:"TopicStatus,attr"`
}

type ViewPoint

type ViewPoint struct {
	Viewpoint string `xml:"Viewpoint,omitempty"`
	Snapshot  string `xml:"Snapshot,omitempty"`
	Index     int    `xml:"Index,omitempty"`
	Guid      string `xml:"Guid,attr"`
}

type ViewSetupHints

type ViewSetupHints struct {
	SpacesVisible          bool `xml:"SpacesVisible,attr"`
	SpaceBoundariesVisible bool `xml:"SpaceBoundariesVisible,attr"`
	OpeningsVisible        bool `xml:"OpeningsVisible,attr"`
}

type VisualizationInfo

type VisualizationInfo struct {
	XMLName           xml.Name          `xml:"VisualizationInfo"`
	Guid              string            `xml:"Guid,attr"`
	Components        Components        `xml:"Components,omitempty"`
	OrthogonalCamera  OrthogonalCamera  `xml:"OrthogonalCamera,omitempty"`
	PerspectiveCamera PerspectiveCamera `xml:"PerspectiveCamera,omitempty"`
	Lines             Line              `xml:"Lines>Line,omitempty"`
	ClippingPlanes    ClippingPlane     `xml:"ClippingPlanes>ClippingPlane,omitempty"`
	Bitmaps           Bitmap            `xml:"Bitmaps>Bitmap,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL