llcape.h File Reference

LLVOCloth class definition. More...

#include "llviewerobject.h"

Include dependency graph for llcape.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LLClothAttributes
class  LLVOCloth

Variables

const F32 CLOTH_MIN_LENGTH = 0.2f
const F32 CLOTH_DEFAULT_LENGTH = 1.5f
const F32 CLOTH_MAX_LENGTH = 2.0f
const F32 CLOTH_MIN_TENSION = 0.0f
const F32 CLOTH_DEFAULT_TENSION = 1.0f
const F32 CLOTH_MAX_TENSION = 10.0f
const F32 CLOTH_MIN_GRAVITY = FLEXIBLE_OBJECT_MIN_GRAVITY
const F32 CLOTH_DEFAULT_GRAVITY = 0.3f
const F32 CLOTH_MAX_GRAVITY = FLEXIBLE_OBJECT_MAX_GRAVITY
const F32 CLOTH_MIN_PITCH = -1.0f
const F32 CLOTH_DEFAULT_PITCH = 0.1f
const F32 CLOTH_MAX_PITCH = 1.0f
const F32 CLOTH_MIN_AIR_FRICTION = FLEXIBLE_OBJECT_MIN_AIR_FRICTION
const F32 CLOTH_DEFAULT_AIR_FRICTION = 6.0f
const F32 CLOTH_MAX_AIR_FRICTION = FLEXIBLE_OBJECT_MAX_AIR_FRICTION
const F32 CLOTH_MIN_WIND_SENSITIVITY = FLEXIBLE_OBJECT_MIN_WIND_SENSITIVITY
const F32 CLOTH_DEFAULT_WIND_SENSITIVITY = 0.0f
const F32 CLOTH_MAX_WIND_SENSITIVITY = FLEXIBLE_OBJECT_MAX_WIND_SENSITIVITY
const F32 CLOTH_MIN_CIRCLE_WRAP_AMOUNT = 0.0f
const F32 CLOTH_DEFAULT_CIRCLE_WRAP_AMOUNT = 0.5f
const F32 CLOTH_MAX_CIRCLE_WRAP_AMOUNT = 1.0f
const F32 CLOTH_MIN_WIDTH = 0.01f
const F32 CLOTH_DEFAULT_WIDTH = 0.4f
const F32 CLOTH_MAX_WIDTH = 1.0f
const int CLOTH_MIN_STRANDS = 2
const int CLOTH_DEFAULT_NUM_STRANDS = 4
const int CLOTH_MAX_STRANDS = 8
const int CLOTH_MIN_SEGMENTS = 1
const int CLOTH_DEFAULT_NUM_SEGMENTS = 4
const int CLOTH_MAX_SEGMENTS = 8
const int CLOTH_MIN_TEXTURE_INDEX = 1
const int CLOTH_DEFAULT_TEXTURE_INDEX = 1
const int CLOTH_MAX_TEXTURE_INDEX = 7
const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_RADIUS = 0.0f
const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_RADIUS = 0.1f
const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_RADIUS = 3.0f
const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = -2.0f
const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = 0.0f
const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = 2.0f
const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_UP_OFFSET = -2.0f
const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_UP_OFFSET = 0.0f
const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_UP_OFFSET = 2.0f
const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = -2.0f
const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = 0.0f
const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = 2.0f
const LLString CLOTH_DEFAULT_TEXTURE_FILENAME = "not_specified"
const bool CLOTH_DEFAULT_VISUALIZE_STRANDS = false
const bool CLOTH_DEFAULT_VISUALIZE_COLLISION_SPHERE = false
const bool CLOTH_DEFAULT_USING_AVATAR_COLLISION_SPHERE = false
const LLVector3 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_POSITION_OFFSET = LLVector3::zero


Detailed Description

LLVOCloth class definition.

LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llcape.h.


Variable Documentation

const F32 CLOTH_DEFAULT_AIR_FRICTION = 6.0f

Definition at line 59 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = 0.0f

Definition at line 99 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const LLVector3 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_POSITION_OFFSET = LLVector3::zero

Definition at line 107 of file llcape.h.

const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_RADIUS = 0.1f

Definition at line 87 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = 0.0f

Definition at line 91 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_AVATAR_COLLISION_SPHERE_UP_OFFSET = 0.0f

Definition at line 95 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_CIRCLE_WRAP_AMOUNT = 0.5f

Definition at line 67 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_GRAVITY = 0.3f

Definition at line 51 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_LENGTH = 1.5f

Definition at line 43 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const int CLOTH_DEFAULT_NUM_SEGMENTS = 4

Definition at line 79 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const int CLOTH_DEFAULT_NUM_STRANDS = 4

Definition at line 75 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_PITCH = 0.1f

Definition at line 55 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_TENSION = 1.0f

Definition at line 47 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const LLString CLOTH_DEFAULT_TEXTURE_FILENAME = "not_specified"

Definition at line 102 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const int CLOTH_DEFAULT_TEXTURE_INDEX = 1

Definition at line 83 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const bool CLOTH_DEFAULT_USING_AVATAR_COLLISION_SPHERE = false

Definition at line 106 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const bool CLOTH_DEFAULT_VISUALIZE_COLLISION_SPHERE = false

Definition at line 104 of file llcape.h.

Referenced by LLVOCloth::LLVOCloth().

const bool CLOTH_DEFAULT_VISUALIZE_STRANDS = false

Definition at line 103 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_WIDTH = 0.4f

Definition at line 71 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_DEFAULT_WIND_SENSITIVITY = 0.0f

Definition at line 63 of file llcape.h.

Referenced by LLClothAttributes::LLClothAttributes(), and LLVOCloth::LLVOCloth().

const F32 CLOTH_MAX_AIR_FRICTION = FLEXIBLE_OBJECT_MAX_AIR_FRICTION

Definition at line 60 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = 2.0f

Definition at line 100 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_RADIUS = 3.0f

Definition at line 88 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = 2.0f

Definition at line 92 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_AVATAR_COLLISION_SPHERE_UP_OFFSET = 2.0f

Definition at line 96 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_CIRCLE_WRAP_AMOUNT = 1.0f

Definition at line 68 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_GRAVITY = FLEXIBLE_OBJECT_MAX_GRAVITY

Definition at line 52 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_LENGTH = 2.0f

Definition at line 44 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_PITCH = 1.0f

Definition at line 56 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MAX_SEGMENTS = 8

Definition at line 80 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MAX_STRANDS = 8

Definition at line 76 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_TENSION = 10.0f

Definition at line 48 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MAX_TEXTURE_INDEX = 7

Definition at line 84 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_WIDTH = 1.0f

Definition at line 72 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MAX_WIND_SENSITIVITY = FLEXIBLE_OBJECT_MAX_WIND_SENSITIVITY

Definition at line 64 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_AIR_FRICTION = FLEXIBLE_OBJECT_MIN_AIR_FRICTION

Definition at line 58 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_FORWARD_OFFSET = -2.0f

Definition at line 98 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_RADIUS = 0.0f

Definition at line 86 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_RIGHT_OFFSET = -2.0f

Definition at line 90 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_AVATAR_COLLISION_SPHERE_UP_OFFSET = -2.0f

Definition at line 94 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_CIRCLE_WRAP_AMOUNT = 0.0f

Definition at line 66 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_GRAVITY = FLEXIBLE_OBJECT_MIN_GRAVITY

Definition at line 50 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_LENGTH = 0.2f

Definition at line 42 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_PITCH = -1.0f

Definition at line 54 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MIN_SEGMENTS = 1

Definition at line 78 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MIN_STRANDS = 2

Definition at line 74 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_TENSION = 0.0f

Definition at line 46 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const int CLOTH_MIN_TEXTURE_INDEX = 1

Definition at line 82 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_WIDTH = 0.01f

Definition at line 70 of file llcape.h.

Referenced by LLVOCloth::setAttributes().

const F32 CLOTH_MIN_WIND_SENSITIVITY = FLEXIBLE_OBJECT_MIN_WIND_SENSITIVITY

Definition at line 62 of file llcape.h.

Referenced by LLVOCloth::setAttributes().


Generated on Thu Jul 1 06:10:07 2010 for Second Life Viewer by  doxygen 1.4.7