CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECCustomRailingBlock.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef __AECCUSTOMRAILINGBLOCK_H__
25#define __AECCUSTOMRAILINGBLOCK_H__
26
28#include <Ge/GePoint3d.h>
29
36{
38
39 public:
43 bool IsScaleToFitHeight() const;
44
48 void SetIsScaleToFitHeight( bool bScale );
49
54
58 void SetZPosition( ZPosition ePosition );
59
63 bool IsMirrorZ() const;
64
68 void SetIsMirrorZ( bool bMirror );
69
74 bool IsAlignSlope() const;
75
80 void SetIsAlignSlope( bool bAlign );
81
85 bool IsShear() const;
86
90 void SetIsShear( bool bShare );
91
96 bool IsUseOrigin() const;
97
102 void SetIsUseOrigin( bool bUse );
103
108
112 void SetBlock( const OdDbObjectId& idBlock );
113
118
122 void SetInsertionPoint( const OdGePoint3d& ptPoint );
123
127 OdGeVector3d GetInsertionOffset( const OdGeExtents3d& extComponent ) const;
128
129 protected:
130 // This value stores block insertion point.
132
133 // This hard pointer points to custom block in a dictionary.
135};
136
139
140#endif // __AECCUSTOMRAILINGBLOCK_H__
AECSubPtr< AECCustomRailingBlock > AECCustomRailingBlockSubPtr
OdSmartPtr< AECCustomRailingBlock > AECCustomRailingBlockPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdGeVector3d GetInsertionOffset(const OdGeExtents3d &extComponent) const
void SetZPosition(ZPosition ePosition)
bool IsUseOrigin() const
void SetInsertionPoint(const OdGePoint3d &ptPoint)
void SetIsAlignSlope(bool bAlign)
OdDbObjectId GetBlock() const
bool IsAlignSlope() const
bool IsShear() const
const OdGePoint3d & GetInsertionPoint() const
void SetIsUseOrigin(bool bUse)
OdDbHardPointerId m_hpidCustomBlock
bool IsScaleToFitHeight() const
void SetIsScaleToFitHeight(bool bScale)
ZPosition GetZPosition() const
bool IsMirrorZ() const
void SetBlock(const OdDbObjectId &idBlock)
void SetIsShear(bool bShare)
void SetIsMirrorZ(bool bMirror)