Main Page
Namespaces
Classes
Files
File List
File Members
src
Graphics
GtePickRecord.cpp
Go to the documentation of this file.
1
// David Eberly, Geometric Tools, Redmond WA 98052
2
// Copyright (c) 1998-2017
3
// Distributed under the Boost Software License, Version 1.0.
4
// http://www.boost.org/LICENSE_1_0.txt
5
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6
// File Version: 3.0.1 (2016/06/26)
7
8
#include <
GTEnginePCH.h
>
9
#include <
Graphics/GtePickRecord.h
>
10
using namespace
gte
;
11
12
PickRecord::~PickRecord
()
13
{
14
}
15
16
PickRecord::PickRecord
()
17
:
18
primitiveType
(
IP_NONE
),
19
primitiveIndex
(0),
20
t
(0.0
f
),
21
linePoint
({ 0.0f, 0.0f, 0.0f, 1.0f }),
22
primitivePoint
({ 0.0f, 0.0f, 0.0f, 1.0f }),
23
distanceToLinePoint
(0.0
f
),
24
distanceToPrimitivePoint
(0.0
f
),
25
distanceBetweenLinePrimitive
(0.0
f
)
26
{
27
for
(
int
i = 0; i < 3; ++i)
28
{
29
vertexIndex
[i] = 0;
30
bary
[i] = 0.0f;
31
}
32
}
gte::PickRecord::bary
float bary[3]
Definition:
GtePickRecord.h:62
gte::PickRecord::primitiveType
IPType primitiveType
Definition:
GtePickRecord.h:35
gte::PickRecord::PickRecord
PickRecord()
Definition:
GtePickRecord.cpp:16
gte::PickRecord::primitiveIndex
int primitiveIndex
Definition:
GtePickRecord.h:36
GTEnginePCH.h
gte::PickRecord::distanceToPrimitivePoint
float distanceToPrimitivePoint
Definition:
GtePickRecord.h:71
IP_NONE
IP_NONE
Definition:
GteIndexFormat.h:18
gte
Definition:
GLX/GteWICFileIO.h:16
gte::PickRecord::primitivePoint
Vector4< float > primitivePoint
Definition:
GtePickRecord.h:63
t
GLdouble GLdouble t
Definition:
glext.h:239
f
GLfloat f
Definition:
glcorearb.h:1921
gte::PickRecord::distanceBetweenLinePrimitive
float distanceBetweenLinePrimitive
Definition:
GtePickRecord.h:72
gte::PickRecord::linePoint
Vector4< float > linePoint
Definition:
GtePickRecord.h:49
gte::PickRecord::~PickRecord
~PickRecord()
Definition:
GtePickRecord.cpp:12
GtePickRecord.h
gte::PickRecord::vertexIndex
int vertexIndex[3]
Definition:
GtePickRecord.h:37
gte::PickRecord::distanceToLinePoint
float distanceToLinePoint
Definition:
GtePickRecord.h:70
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01