llprimitive.h File Reference

LLPrimitive base class. More...

#include "lluuid.h"
#include "v3math.h"
#include "xform.h"
#include "message.h"
#include "llmemory.h"
#include "llvolume.h"
#include "lltextureentry.h"

Include dependency graph for llprimitive.h:

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

Go to the source code of this file.

Classes

class  LLNetworkData
class  LLLightParams
class  LLFlexibleObjectData
class  LLSculptParams
class  LLPrimitive

Enumerations

enum  LLGeomType {
  LLInvalid = 0, LLLineLoop = 2, LLLineStrip = 3, LLTriangles = 4,
  LLTriStrip = 5, LLTriFan = 6, LLQuads = 7, LLQuadStrip = 8
}
enum  EFlexibleObjectConst { FLEXIBLE_OBJECT_MIN_SECTIONS = 0, FLEXIBLE_OBJECT_DEFAULT_NUM_SECTIONS = 2, FLEXIBLE_OBJECT_MAX_SECTIONS = 3 }

Variables

const F32 OBJECT_CUT_MIN
const F32 OBJECT_CUT_MAX
const F32 OBJECT_CUT_INC
const F32 OBJECT_MIN_CUT_INC
const F32 OBJECT_ROTATION_PRECISION
const F32 OBJECT_TWIST_MIN
const F32 OBJECT_TWIST_MAX
const F32 OBJECT_TWIST_INC
const F32 OBJECT_TWIST_LINEAR_MIN
const F32 OBJECT_TWIST_LINEAR_MAX
const F32 OBJECT_TWIST_LINEAR_INC
const F32 OBJECT_MIN_HOLE_SIZE
const F32 OBJECT_MAX_HOLE_SIZE_X
const F32 OBJECT_MAX_HOLE_SIZE_Y
const F32 OBJECT_REV_MIN
const F32 OBJECT_REV_MAX
const F32 OBJECT_REV_INC
const char * SCULPT_DEFAULT_TEXTURE
const F32 LIGHT_MIN_RADIUS
const F32 LIGHT_DEFAULT_RADIUS
const F32 LIGHT_MAX_RADIUS
const F32 LIGHT_MIN_FALLOFF
const F32 LIGHT_DEFAULT_FALLOFF
const F32 LIGHT_MAX_FALLOFF
const F32 LIGHT_MIN_CUTOFF
const F32 LIGHT_DEFAULT_CUTOFF
const F32 LIGHT_MAX_CUTOFF
const F32 FLEXIBLE_OBJECT_MIN_TENSION
const F32 FLEXIBLE_OBJECT_DEFAULT_TENSION
const F32 FLEXIBLE_OBJECT_MAX_TENSION
const F32 FLEXIBLE_OBJECT_MIN_AIR_FRICTION
const F32 FLEXIBLE_OBJECT_DEFAULT_AIR_FRICTION
const F32 FLEXIBLE_OBJECT_MAX_AIR_FRICTION
const F32 FLEXIBLE_OBJECT_MIN_GRAVITY
const F32 FLEXIBLE_OBJECT_DEFAULT_GRAVITY
const F32 FLEXIBLE_OBJECT_MAX_GRAVITY
const F32 FLEXIBLE_OBJECT_MIN_WIND_SENSITIVITY
const F32 FLEXIBLE_OBJECT_DEFAULT_WIND_SENSITIVITY
const F32 FLEXIBLE_OBJECT_MAX_WIND_SENSITIVITY
const F32 FLEXIBLE_OBJECT_MAX_INTERNAL_TENSION_FORCE
const F32 FLEXIBLE_OBJECT_DEFAULT_LENGTH
const BOOL FLEXIBLE_OBJECT_DEFAULT_USING_COLLISION_SPHERE
const BOOL FLEXIBLE_OBJECT_DEFAULT_RENDERING_COLLISION_SPHERE


Detailed Description

LLPrimitive base class.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 llprimitive.h.


Enumeration Type Documentation

enum EFlexibleObjectConst

Enumerator:
FLEXIBLE_OBJECT_MIN_SECTIONS 
FLEXIBLE_OBJECT_DEFAULT_NUM_SECTIONS 
FLEXIBLE_OBJECT_MAX_SECTIONS 

Definition at line 163 of file llprimitive.h.

enum LLGeomType

Enumerator:
LLInvalid 
LLLineLoop 
LLLineStrip 
LLTriangles 
LLTriStrip 
LLTriFan 
LLQuads 
LLQuadStrip 

Definition at line 52 of file llprimitive.h.


Variable Documentation

const F32 FLEXIBLE_OBJECT_DEFAULT_AIR_FRICTION

Definition at line 92 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::LLFlexibleObjectData().

const F32 FLEXIBLE_OBJECT_DEFAULT_GRAVITY

Definition at line 97 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::LLFlexibleObjectData().

const F32 FLEXIBLE_OBJECT_DEFAULT_LENGTH

Definition at line 108 of file llprimitive.cpp.

const BOOL FLEXIBLE_OBJECT_DEFAULT_RENDERING_COLLISION_SPHERE

Definition at line 110 of file llprimitive.cpp.

const F32 FLEXIBLE_OBJECT_DEFAULT_TENSION

Definition at line 87 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::LLFlexibleObjectData().

const BOOL FLEXIBLE_OBJECT_DEFAULT_USING_COLLISION_SPHERE

Definition at line 109 of file llprimitive.cpp.

const F32 FLEXIBLE_OBJECT_DEFAULT_WIND_SENSITIVITY

Definition at line 102 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::LLFlexibleObjectData().

const F32 FLEXIBLE_OBJECT_MAX_AIR_FRICTION

Definition at line 93 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setAirFriction().

const F32 FLEXIBLE_OBJECT_MAX_GRAVITY

Definition at line 98 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setGravity().

const F32 FLEXIBLE_OBJECT_MAX_INTERNAL_TENSION_FORCE

Definition at line 106 of file llprimitive.cpp.

Referenced by LLVolumeImplFlexible::doFlexibleUpdate().

const F32 FLEXIBLE_OBJECT_MAX_TENSION

Definition at line 88 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setTension().

const F32 FLEXIBLE_OBJECT_MAX_WIND_SENSITIVITY

Definition at line 103 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setWindSensitivity().

const F32 FLEXIBLE_OBJECT_MIN_AIR_FRICTION

Definition at line 91 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setAirFriction().

const F32 FLEXIBLE_OBJECT_MIN_GRAVITY

Definition at line 96 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setGravity().

const F32 FLEXIBLE_OBJECT_MIN_TENSION

Definition at line 86 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setTension().

const F32 FLEXIBLE_OBJECT_MIN_WIND_SENSITIVITY

Definition at line 101 of file llprimitive.cpp.

Referenced by LLFlexibleObjectData::setWindSensitivity().

const F32 LIGHT_DEFAULT_CUTOFF

Definition at line 82 of file llprimitive.cpp.

const F32 LIGHT_DEFAULT_FALLOFF

Definition at line 79 of file llprimitive.cpp.

const F32 LIGHT_DEFAULT_RADIUS

Definition at line 76 of file llprimitive.cpp.

const F32 LIGHT_MAX_CUTOFF

Definition at line 83 of file llprimitive.cpp.

Referenced by LLLightParams::setCutoff().

const F32 LIGHT_MAX_FALLOFF

Definition at line 80 of file llprimitive.cpp.

Referenced by LLLightParams::setFalloff().

const F32 LIGHT_MAX_RADIUS

Definition at line 77 of file llprimitive.cpp.

Referenced by LLPipeline::calcNearbyLights(), and LLLightParams::setRadius().

const F32 LIGHT_MIN_CUTOFF

Definition at line 81 of file llprimitive.cpp.

Referenced by LLLightParams::setCutoff().

const F32 LIGHT_MIN_FALLOFF

Definition at line 78 of file llprimitive.cpp.

Referenced by LLLightParams::setFalloff().

const F32 LIGHT_MIN_RADIUS

Definition at line 75 of file llprimitive.cpp.

Referenced by LLLightParams::setRadius().

const F32 OBJECT_CUT_INC

Definition at line 51 of file llprimitive.cpp.

const F32 OBJECT_CUT_MAX

Definition at line 50 of file llprimitive.cpp.

const F32 OBJECT_CUT_MIN

exported constants

Definition at line 49 of file llprimitive.cpp.

const F32 OBJECT_MAX_HOLE_SIZE_X

Definition at line 66 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().

const F32 OBJECT_MAX_HOLE_SIZE_Y

Definition at line 67 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().

const F32 OBJECT_MIN_CUT_INC

Definition at line 52 of file llprimitive.cpp.

Referenced by LLPanelObject::getVolumeParams().

const F32 OBJECT_MIN_HOLE_SIZE

Definition at line 65 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().

const F32 OBJECT_REV_INC

Definition at line 72 of file llprimitive.cpp.

const F32 OBJECT_REV_MAX

Definition at line 71 of file llprimitive.cpp.

const F32 OBJECT_REV_MIN

Definition at line 70 of file llprimitive.cpp.

const F32 OBJECT_ROTATION_PRECISION

Definition at line 53 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::sendRotation().

const F32 OBJECT_TWIST_INC

Definition at line 57 of file llprimitive.cpp.

Referenced by LLPanelObject::getState().

const F32 OBJECT_TWIST_LINEAR_INC

Definition at line 63 of file llprimitive.cpp.

Referenced by LLPanelObject::getState().

const F32 OBJECT_TWIST_LINEAR_MAX

Definition at line 62 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().

const F32 OBJECT_TWIST_LINEAR_MIN

Definition at line 61 of file llprimitive.cpp.

Referenced by LLPanelObject::getState().

const F32 OBJECT_TWIST_MAX

Definition at line 56 of file llprimitive.cpp.

Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().

const F32 OBJECT_TWIST_MIN

Definition at line 55 of file llprimitive.cpp.

Referenced by LLPanelObject::getState().

const char* SCULPT_DEFAULT_TEXTURE

Definition at line 113 of file llprimitive.cpp.

Referenced by LLSculptParams::LLSculptParams(), and LLPanelObject::postBuild().


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