HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GDT_MirrorTransform.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GDT Library (C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __GDT_MirrorTransform_h__
13
#define __GDT_MirrorTransform_h__
14
15
#include "
GDT_API.h
"
16
#include "
GDT_SymmetryTransform.h
"
17
18
#include <
GEO/GEO_PointTree.h
>
19
#include <
GU/GU_Detail.h
>
20
21
class
GDT_API
GDT_MirrorTransform
:
public
GDT_SymmetryTransform
22
{
23
public
:
24
GDT_MirrorTransform
();
25
void
rebuild(
const
GU_Detail
*gdp);
26
void
setMirrorProperties(
UT_Vector3
&axis,
UT_Vector3
&origin,
float
distance
,
float
threshold);
27
GA_Index
findSymmetry
(
GA_Index
input_delta_index,
28
const
GA_AIFEditDeltaMap
&map,
29
UT_Matrix3R
&xform)
override
;
30
const
GEO_Detail
*
getDetail
()
const override
{
return
myDetail; }
31
32
void
clear();
33
34
private
:
35
const
GU_Detail
*myDetail;
36
UT_Vector3
myAxis;
37
UT_Vector3
myOrigin;
38
UT_Matrix3R
myReflMatrix;
39
float
myDistance;
40
float
myThreshold;
41
GEO_PointTreeGAOffset
myPointTree;
42
};
43
44
#endif
UT_Matrix3T< fpreal >
GDT_SymmetryTransform
Definition:
GDT_SymmetryTransform.h:20
GDT_API
#define GDT_API
Definition:
GDT_API.h:10
GDT_MirrorTransform
Definition:
GDT_MirrorTransform.h:21
GA_AIFEditSymmetry::findSymmetry
virtual GA_Index findSymmetry(GA_Index input_delta_index, const GA_AIFEditDeltaMap &map, UT_Matrix3R &xform)=0
GDT_API.h
UT_Vector3T< float >
GU_Detail.h
GEO_Detail
Definition:
GEO_Detail.h:247
GEO_PointTree.h
GA_Index
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition:
GA_Types.h:640
GDT_MirrorTransform::getDetail
const GEO_Detail * getDetail() const override
Definition:
GDT_MirrorTransform.h:30
GDT_SymmetryTransform.h
GU_Detail
Definition:
GU_Detail.h:154
SIM_ConstraintNetwork::Names::distance
SIM_API const UT_StringHolder distance
GEO_PointTreeGAOffset
Definition:
GEO_PointTree.h:258
GA_AIFEditDeltaMap
Class for mapping between an index and an attribute data offset.
Definition:
GA_AIFEdit.h:48
GDT
GDT_MirrorTransform.h
Generated on Sat Dec 21 2024 02:46:40 for HDK by
1.8.6