API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > TransformSetter Class
TransformSetter Class
Syntax
C++
class TransformSetter;

TbIfcTransformSetter.h

A state-based class that forces an extra transformation applied to objects being exported.

IFC has a system of local placements; these are created from a set of transforms in BimRv. Sometimes there is a need to create a 'fake' transform to get the right local placement structure for IFC. This class is intended to maintain the transformation for the duration that it is needed. To ensure that the lifetime of the object is correctly managed, you should declare an instance of this class as a part of a 'using' statement in C# or similar construct in other languages.

Creates a new instance of a transform setter.
 
Creates or updates the IfcLocalPlacement associated with the current origin offset.
 
Initializes the transformation in the transform setter.
 
Initializes the transformation in the transform setter.
 
Initializes the transformation in the transform setter.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.