Documentation
¶
Index ¶
- func InsBcfService() *sBcfService
- type BcfData
- type BimSnippet
- type Bitmap
- type ClippingPlane
- type Comment
- type CommentViewpoint
- type Component
- type ComponentColoring
- type ComponentSelection
- type ComponentVisibility
- type Components
- type Direction
- type Document
- type DocumentInfo
- type DocumentReference
- type Extensions
- type File
- type Line
- type Markup
- type OrthogonalCamera
- type PerspectiveCamera
- type Point
- type Project
- type ProjectInfo
- type RelatedTopic
- type Topic
- type ViewPoint
- type ViewSetupHints
- type VisualizationInfo
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 ClippingPlane ¶
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 ComponentColoring ¶
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 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 DocumentReference ¶
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 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 ProjectInfo ¶
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 ViewSetupHints ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.