CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECGaCustomBlock.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 __AECGACUSTOMBLOCK_H__
25#define __AECGACUSTOMBLOCK_H__
26
28#include <Ge/GeVector3d.h>
29
35class AECBASE_API AECGaCustomBlock : public AECImpObj
36{
38
39 public:
44
49
54
59
63 bool IsMirrorX() const;
64
68 bool IsMirrorY() const;
69
73 bool IsMirrorZ() const;
74
78 bool IsScaleToFitWidth() const;
79
83 bool IsScaleToFitHeight() const;
84
88 bool IsScaleToFitDepth() const;
89
94
99
100 public:
107 void GetOffsetFromOrigin( const OdGeVector3d& vEntityDimension,
108 OdGeVector3d& vOffset ) const;
109
110 protected:
111 // Custom opening block flags.
113
114 // Pointer to block table record used as custom block.
116
117 // Insertion offset.
119};
120
123
124#endif // __AECGACUSTOMBLOCK_H__
AECSubPtr< AECGaCustomBlock > AECGaCustomBlockSubPtr
OdSmartPtr< AECGaCustomBlock > AECGaCustomBlockPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
AECDispCompEnt::YPosition GetYPosition() const
bool IsMirrorX() const
const OdGeVector3d & GetInsertionOffset() const
bool IsScaleToFitWidth() const
bool IsScaleToFitDepth() const
OdDbHardPointerId m_hpidBlockTableRecord
AECDispCompEnt::ZPosition GetZPosition() const
void GetOffsetFromOrigin(const OdGeVector3d &vEntityDimension, OdGeVector3d &vOffset) const
bool IsScaleToFitLockXYRatio() const
OdGeVector3d m_vInsertionOffset
bool IsMirrorY() const
bool IsScaleToFitHeight() const
bool IsMirrorZ() const
AECDispCompEnt::BlockFlags m_uFlags
AECDispCompEnt::XPosition GetXPosition() const
OdDbObjectId GetBlock() const