LLVolumeFace Class Reference

#include <llvolume.h>

Collaboration diagram for LLVolumeFace:

Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  SINGLE_MASK = 0x0001, CAP_MASK = 0x0002, END_MASK = 0x0004, SIDE_MASK = 0x0008,
  INNER_MASK = 0x0010, OUTER_MASK = 0x0020, HOLLOW_MASK = 0x0040, OPEN_MASK = 0x0080,
  FLAT_MASK = 0x0100, TOP_MASK = 0x0200, BOTTOM_MASK = 0x0400
}

Public Member Functions

 LLVolumeFace ()
BOOL create (LLVolume *volume, BOOL partial_build=FALSE)
void createBinormals ()

Public Attributes

S32 mID
U32 mTypeMask
LLVector3 mCenter
BOOL mHasBinormals
S32 mBeginS
S32 mBeginT
S32 mNumS
S32 mNumT
LLVector3 mExtents [2]
std::vector< VertexDatamVertices
std::vector< U16mIndices
std::vector< S32mEdge

Private Member Functions

BOOL createUnCutCubeCap (LLVolume *volume, BOOL partial_build=FALSE)
BOOL createCap (LLVolume *volume, BOOL partial_build=FALSE)
BOOL createSide (LLVolume *volume, BOOL partial_build=FALSE)

Classes

class  VertexData


Detailed Description

Definition at line 761 of file llvolume.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
SINGLE_MASK 
CAP_MASK 
END_MASK 
SIDE_MASK 
INNER_MASK 
OUTER_MASK 
HOLLOW_MASK 
OPEN_MASK 
FLAT_MASK 
TOP_MASK 
BOTTOM_MASK 

Definition at line 787 of file llvolume.h.


Constructor & Destructor Documentation

LLVolumeFace::LLVolumeFace (  )  [inline]

Definition at line 764 of file llvolume.h.


Member Function Documentation

BOOL LLVolumeFace::create ( LLVolume volume,
BOOL  partial_build = FALSE 
)

Definition at line 4184 of file llvolume.cpp.

References CAP_MASK, createCap(), createSide(), END_MASK, FALSE, llendl, llerrs, mTypeMask, and SIDE_MASK.

Here is the call graph for this function:

void LLVolumeFace::createBinormals (  ) 

BOOL LLVolumeFace::createUnCutCubeCap ( LLVolume volume,
BOOL  partial_build = FALSE 
) [private]

BOOL LLVolumeFace::createCap ( LLVolume volume,
BOOL  partial_build = FALSE 
) [private]

BOOL LLVolumeFace::createSide ( LLVolume volume,
BOOL  partial_build = FALSE 
) [private]


Member Data Documentation

Definition at line 803 of file llvolume.h.

Referenced by LLVolume::createVolumeFaces().

Definition at line 805 of file llvolume.h.

Referenced by createCap(), createSide(), createUnCutCubeCap(), and LLFace::getGeometryVolume().

Definition at line 806 of file llvolume.h.

Referenced by createBinormals(), createCap(), and createUnCutCubeCap().

Definition at line 809 of file llvolume.h.

Referenced by createCap(), createSide(), createUnCutCubeCap(), and LLVolume::createVolumeFaces().

Definition at line 810 of file llvolume.h.

Referenced by createSide(), and LLVolume::createVolumeFaces().

Definition at line 811 of file llvolume.h.

Referenced by createSide(), and LLVolume::createVolumeFaces().

Definition at line 812 of file llvolume.h.

Referenced by createSide(), and LLVolume::createVolumeFaces().

Definition at line 814 of file llvolume.h.

Referenced by createCap(), createSide(), createUnCutCubeCap(), and LLFace::genVolumeBBoxes().

std::vector<S32> LLVolumeFace::mEdge

Definition at line 818 of file llvolume.h.

Referenced by createSide(), and LLVolume::generateSilhouetteVertices().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:37:35 2008 for SecondLife by  doxygen 1.5.5