CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiXform.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 license
16// 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 __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
67
68// Several Xform optimizations
69
75{
76protected:
78public:
80
85 virtual void setTransform(const OdGeMatrix3d& xMat) = 0;
86
90 virtual OdGeMatrix3d transform() const = 0;
91
92 virtual void sync(OdGiXform* xForm) = 0;
94};
95
100
101class OdGeVector3d;
102class OdGePoint3d;
103
109{
110protected:
112public:
114
115 virtual void setTranslation(const OdGeVector3d &transform) = 0;
116 virtual const OdGeVector3d &translationAsVector() const = 0;
117
118 virtual void setTranslation(const OdGePoint3d &transform) = 0;
119 virtual const OdGePoint3d &translationAsPoint() const = 0;
120};
121
126
127#include "TD_PackPop.h"
128
129#endif //#ifndef __ODGIXFORM_H__
#define ODGI_EXPORT
Definition: GiExport.h:35
OdSmartPtr< OdGiTranslationXform > OdGiTranslationXformPtr
Definition: GiXform.h:125
OdSmartPtr< OdGiXformOptimizer > OdGiXformOptimizerPtr
Definition: GiXform.h:99
OdSmartPtr< OdGiXform > OdGiXformPtr
Definition: GiXform.h:66
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