new GoIFCLoader()
Methods
-
__addEnvironmentLightingAndEffects()
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 153 -
Método privado para añadir luces, niebla, fondo, environment map (opcional), etc.
-
__listenForDisposal(){IfcPropertiesProcessor}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 538 -
Retrieves the IfcPropertiesProcessor instance used for processing IFC properties.
Returns:
Type Description IfcPropertiesProcessor The IfcPropertiesProcessor instance. -
emit(eventName, args)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 933 -
Emits an event, triggering all its registered listeners.
Name Type Description eventNameGoIFCComponentsEvents The name of the event to emit.
argsany repeatable Arguments to pass to the event listeners.
-
getCamera(){Camera}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 402 -
Retrieves the Camera instance used in the scene.
Returns:
Type Description Camera The Camera instance. -
getClasses(){Record.<string, boolean>}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 690 -
Retrieves the classes configuration.
Returns:
Type Description Record.<string, boolean> An object with keys as class names and values as boolean indicating their visibility status. -
getClassesSmarthView(){Record.<string, boolean>}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 708 -
Retrieves the smart view configuration for classes.
Returns:
Type Description Record.<string, boolean> An object representing the smart view settings for classes. -
getClassifier(){FragmentClassifier}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 420 -
Retrieves the FragmentClassifier instance used for classifying fragments.
Returns:
Type Description FragmentClassifier The FragmentClassifier instance. -
getClipper(){Clipper}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 429 -
Retrieves the EdgesClipper instance used for clipping edges.
Returns:
Type Description Clipper The EdgesClipper instance. -
getComponents(){Components}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 525 -
Retrieves the Components instance containing various components used in the loader.
Returns:
Type Description Components The Components instance. -
getControls(){OrbitControls}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 411 -
Retrieves the OrbitControls instance used for controlling the camera.
Returns:
Type Description OrbitControls The OrbitControls instance. -
getEventHandlers(eventName){Array.<function()>}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 951 -
Retrieves the event handlers associated with a specific event.
Name Type Description eventNameGoIFCComponentsEvents The name of the event whose handlers are to be retrieved.
Returns:
Type Description Array.<function()> An array of registered event handlers for the specified event. -
getFragmentBbox(){FragmentBoundingBox}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 441 -
Retrieves the FragmentBoundingBox instance used for bounding box calculations.
Returns:
Type Description FragmentBoundingBox The FragmentBoundingBox instance. -
getFragmentIfcLoader(){IfcLoader}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 450 -
Retrieves the FragmentIfcLoader instance used for loading IFC models.
Returns:
Type Description IfcLoader The FragmentIfcLoader instance. -
getFragments(){FragmentManager}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 459 -
Retrieves the FragmentManager instance used for managing fragments.
Returns:
Type Description FragmentManager The FragmentManager instance. -
getGrid(){SimpleGrid}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 468 -
Retrieves the SimpleGrid instance used for displaying the grid in the scene.
Returns:
Type Description SimpleGrid The SimpleGrid instance. -
getHighlighter(){FragmentHighlighter}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 277 -
Retrieves the FragmentHighlighter instance used for highlighting parts of the model.
Returns:
Type Description FragmentHighlighter The FragmentHighlighter instance. -
getIFCComponents(){GoIFCComponents}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 477 -
Retrieves the GoIFCComponents instance associated with this loader.
Returns:
Type Description GoIFCComponents The GoIFCComponents instance. -
getModelTree(){IfcRelationsIndexer}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 486 -
Retrieves the FragmentTree instance used for managing the model's tree structure.
Returns:
Type Description IfcRelationsIndexer The FragmentTree instance. -
getPropsManager(){IfcPropertiesManager}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 498 -
Retrieves the IfcPropertiesManager instance used for managing IFC properties.
Returns:
Type Description IfcPropertiesManager The IfcPropertiesManager instance. -
getRenderer(){Renderer}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 507 -
Retrieves the Renderer instance used for rendering the scene.
Returns:
Type Description Renderer The Renderer instance. -
getScene(){Scene}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 516 -
Retrieves the Scene instance representing the 3D scene.
Returns:
Type Description Scene The Scene instance. -
getStoreys(){Record.<string, boolean>}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 681 -
Retrieves the storeys configuration.
Returns:
Type Description Record.<string, boolean> An object with keys as storey names and values as boolean indicating their visibility status. -
getStoreysSmarthView(){Record.<string, boolean>}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 699 -
Retrieves the smart view configuration for storeys.
Returns:
Type Description Record.<string, boolean> An object representing the smart view settings for storeys. -
getWasmPath(){string}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 894 -
Retrieves the WebAssembly (WASM) path used for loading components.
Returns:
Type Description string The path to the WebAssembly module. -
hasEvent(eventName){boolean}
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 942 -
Checks if an event has any registered listeners.
Name Type Description eventNameGoIFCComponentsEvents The name of the event to check.
Returns:
Type Description boolean True if the event has listeners, false otherwise. -
off(eventName, callback)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 924 -
Removes a callback function for a specific event.
Name Type Description eventNameGoIFCComponentsEvents optional The name of the event. If omitted, removes all listeners.
callbackfunction optional The callback function to be removed.
-
on(eventName, callback)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 904 -
Registers a callback function for a specific event.
Name Type Description eventNameGoIFCComponentsEvents The name of the event to listen for.
callbackfunction The callback function to be executed when the event is triggered.
-
once(eventName, callback)
Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCLoader.ts, line 914 -
Registers a one-time callback function for a specific event.
Name Type Description eventNameGoIFCComponentsEvents The name of the event to listen for.
callbackfunction The callback function to be executed once when the event is triggered.
