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
GU_Rails.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: GU_Rails (C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __GU_Rails_h__
13
#define __GU_Rails_h__
14
15
#include "
GU_API.h
"
16
#include "
GU_Types.h
"
17
#include <
UT/UT_Vector3.h
>
18
19
class
GA_PrimitiveGroup
;
20
class
GU_Detail
;
21
22
class
GU_API
GU_RailXSection
23
{
24
public
:
25
GU_RailXSection
();
26
~
GU_RailXSection
();
27
28
UT_Vector3
Ivec,
Jvec
;
// I and J component axes
29
UT_Vector3
midpoint
;
// midpoint of the attach points
30
float
length
;
// half length between two attach points
31
};
32
33
class
GU_API
GU_RailParms
34
{
35
public
:
36
GU_RailParms
();
37
~GU_RailParms
() {}
38
39
const
GU_Detail
*
rails
;
// the rails
40
const
GU_Detail
*
xSection
;
// the cross-section
41
GU_CrossSectionType
cycleType
;
// cycleType
42
int
attach1,
attach2
;
// vertices to attach to
43
float
scale
;
// scale
44
float
roll
;
// pitch
45
int
useDirection
;
// direction toggle
46
float
nx,
ny
,
nz
;
// user specified direction
47
int
noFlipping
;
// attempt to fix the angle
48
int
pairRails
;
// join the rails in pairs
49
int
joinFirstLast
;
// join first and last rails
50
int
stretchToRails
;
// stretch the xsect to rails
51
int
outputGroups
;
// outut rail groups switch
52
char
*
railGrpName
;
// raail groups prefix name
53
const
GA_PrimitiveGroup
*
railGroup
;
// optional rail group
54
const
GA_PrimitiveGroup
*
xGroup
;
// optional xsec group
55
};
56
57
#endif
GA_PrimitiveGroup
Definition:
GA_ElementGroup.h:74
GU_RailParms::joinFirstLast
int joinFirstLast
Definition:
GU_Rails.h:49
GU_RailXSection::Jvec
UT_Vector3 Jvec
Definition:
GU_Rails.h:28
GU_RailParms::useDirection
int useDirection
Definition:
GU_Rails.h:45
UT_Vector3.h
GU_RailParms::outputGroups
int outputGroups
Definition:
GU_Rails.h:51
UT_Vector3T< float >
GU_RailParms::xGroup
const GA_PrimitiveGroup * xGroup
Definition:
GU_Rails.h:54
GU_RailParms::rails
const GU_Detail * rails
Definition:
GU_Rails.h:39
GU_RailParms::attach2
int attach2
Definition:
GU_Rails.h:42
GU_Types.h
GU_RailParms::cycleType
GU_CrossSectionType cycleType
Definition:
GU_Rails.h:41
GU_RailXSection::midpoint
UT_Vector3 midpoint
Definition:
GU_Rails.h:29
GU_RailXSection::length
float length
Definition:
GU_Rails.h:30
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_RailParms
Definition:
GU_Rails.h:33
GU_RailParms::railGrpName
char * railGrpName
Definition:
GU_Rails.h:52
GU_RailParms::railGroup
const GA_PrimitiveGroup * railGroup
Definition:
GU_Rails.h:53
GU_RailParms::noFlipping
int noFlipping
Definition:
GU_Rails.h:47
GU_CrossSectionType
GU_CrossSectionType
Definition:
GU_Types.h:49
GU_Detail
Definition:
GU_Detail.h:154
ny
GLbyte ny
Definition:
glad.h:2247
GU_RailParms::nz
float nz
Definition:
GU_Rails.h:46
GU_API.h
GU_RailParms::xSection
const GU_Detail * xSection
Definition:
GU_Rails.h:40
GU_RailParms::scale
float scale
Definition:
GU_Rails.h:43
GU_RailParms::~GU_RailParms
~GU_RailParms()
Definition:
GU_Rails.h:37
GU_RailParms::pairRails
int pairRails
Definition:
GU_Rails.h:48
GU_RailXSection
Definition:
GU_Rails.h:22
GU_RailParms::roll
float roll
Definition:
GU_Rails.h:44
GU_RailParms::stretchToRails
int stretchToRails
Definition:
GU_Rails.h:50
GU
GU_Rails.h
Generated on Sun Nov 17 2024 03:01:19 for HDK by
1.8.6