CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GiXform.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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 license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 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 __ODGIXFORM_H__
25#define __ODGIXFORM_H__
26
27#include "Gi/GiConveyorNode.h"
28class OdGeMatrix3d;
29
30#include "TD_PackPush.h"
31
37{
38protected:
40public:
42
43 virtual void setTransform(const OdGeMatrix3d& xMat) = 0;
44 virtual void transform(OdGeMatrix3d& xMat) const = 0;
45
62 virtual void setOutput2dPoints(bool bOutput2dPoints) = 0;
63 virtual bool output2dPoints() const = 0;
64};
65
70
71// Several Xform optimizations
72
78{
79protected:
81public:
83
88 virtual void setTransform(const OdGeMatrix3d& xMat) = 0;
89
93 virtual OdGeMatrix3d transform() const = 0;
94
95 virtual void sync(OdGiXform* xForm) = 0;
97};
98
103
104class OdGeVector3d;
105class OdGePoint3d;
106
112{
113protected:
115public:
117
118 virtual void setTranslation(const OdGeVector3d &transform) = 0;
119 virtual const OdGeVector3d &translationAsVector() const = 0;
120
121 virtual void setTranslation(const OdGePoint3d &transform) = 0;
122 virtual const OdGePoint3d &translationAsPoint() const = 0;
123};
124
129
130#include "TD_PackPop.h"
131
132#endif //#ifndef __ODGIXFORM_H__
#define ODGI_EXPORT
Definition GiExport.h:35
OdSmartPtr< OdGiTranslationXform > OdGiTranslationXformPtr
Definition GiXform.h:128
OdSmartPtr< OdGiXformOptimizer > OdGiXformOptimizerPtr
Definition GiXform.h:102
OdSmartPtr< OdGiXform > OdGiXformPtr
Definition GiXform.h:69
virtual const OdGePoint3d & translationAsPoint() const =0
virtual void setTranslation(const OdGePoint3d &transform)=0
virtual const OdGeVector3d & translationAsVector() const =0
virtual void setTranslation(const OdGeVector3d &transform)=0
ODRX_DECLARE_MEMBERS(OdGiTranslationXform)
virtual void transform(OdGeMatrix3d &xMat) const =0
virtual bool output2dPoints() const =0
virtual void setTransform(const OdGeMatrix3d &xMat)=0
virtual void setOutput2dPoints(bool bOutput2dPoints)=0
ODRX_DECLARE_MEMBERS(OdGiXform)
virtual OdGiConveyorGeometry * redirectionGeometry()=0
virtual OdGeMatrix3d transform() const =0
ODRX_DECLARE_MEMBERS(OdGiXformOptimizer)
virtual void sync(OdGiXform *xForm)=0
virtual void setTransform(const OdGeMatrix3d &xMat)=0