LLProfileParams Class Reference

#include <llvolume.h>

List of all members.

Public Member Functions

 LLProfileParams ()
 LLProfileParams (U8 curve, F32 begin, F32 end, F32 hollow)
 LLProfileParams (U8 curve, U16 begin, U16 end, U16 hollow)
bool operator== (const LLProfileParams &params) const
bool operator!= (const LLProfileParams &params) const
bool operator< (const LLProfileParams &params) const
void copyParams (const LLProfileParams &params)
BOOL importFile (LLFILE *fp)
BOOL exportFile (LLFILE *fp) const
BOOL importLegacyStream (std::istream &input_stream)
BOOL exportLegacyStream (std::ostream &output_stream) const
LLSD asLLSD () const
 operator LLSD () const
bool fromLLSD (LLSD &sd)
const F32getBegin () const
const F32getEnd () const
const F32getHollow () const
const U8getCurveType () const
void setCurveType (const U32 type)
void setBegin (const F32 begin)
void setEnd (const F32 end)
void setHollow (const F32 hollow)

Protected Attributes

U8 mCurveType
F32 mBegin
F32 mEnd
F32 mHollow
U32 mCRC

Friends

std::ostream & operator<< (std::ostream &s, const LLProfileParams &profile_params)


Detailed Description

Definition at line 188 of file llvolume.h.


Constructor & Destructor Documentation

LLProfileParams::LLProfileParams (  )  [inline]

Definition at line 191 of file llvolume.h.

References LL_PCODE_PROFILE_SQUARE, mBegin, mCurveType, mEnd, and mHollow.

LLProfileParams::LLProfileParams ( U8  curve,
F32  begin,
F32  end,
F32  hollow 
) [inline]

Definition at line 199 of file llvolume.h.

LLProfileParams::LLProfileParams ( U8  curve,
U16  begin,
U16  end,
U16  hollow 
) [inline]

Definition at line 204 of file llvolume.h.

References CUT_QUANTA, HOLLOW_QUANTA, mBegin, mCurveType, mEnd, and mHollow.


Member Function Documentation

bool LLProfileParams::operator== ( const LLProfileParams params  )  const [inline]

Definition at line 265 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), and getHollow().

Here is the call graph for this function:

bool LLProfileParams::operator!= ( const LLProfileParams params  )  const [inline]

Definition at line 274 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), and getHollow().

Here is the call graph for this function:

bool LLProfileParams::operator< ( const LLProfileParams params  )  const [inline]

Definition at line 284 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), and getHollow().

Here is the call graph for this function:

void LLProfileParams::copyParams ( const LLProfileParams params  ) 

Definition at line 943 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getHollow(), LLMemType::MTYPE_VOLUME, setBegin(), setCurveType(), setEnd(), and setHollow().

Referenced by LLVolumeParams::copyParams().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLProfileParams::importFile ( LLFILE fp  ) 

Definition at line 773 of file llvolume.cpp.

References BUFSIZE, llendl, llwarns, LLMemType::MTYPE_VOLUME, NULL, S32, setBegin(), setCurveType(), setEnd(), setHollow(), and TRUE.

Referenced by LLVolumeParams::importFile().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLProfileParams::exportFile ( LLFILE fp  )  const

Definition at line 837 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getHollow(), and TRUE.

Referenced by LLVolumeParams::exportFile().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLProfileParams::importLegacyStream ( std::istream &  input_stream  ) 

Definition at line 850 of file llvolume.cpp.

References BUFSIZE, llendl, llwarns, LLMemType::MTYPE_VOLUME, S32, setBegin(), setCurveType(), setEnd(), setHollow(), and TRUE.

Referenced by LLVolumeParams::importLegacyStream().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLProfileParams::exportLegacyStream ( std::ostream &  output_stream  )  const

Definition at line 911 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getHollow(), S32, and TRUE.

Referenced by LLVolumeParams::exportLegacyStream().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD LLProfileParams::asLLSD (  )  const

Definition at line 923 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getHollow(), and tut::sd().

Referenced by LLPathParams::operator LLSD(), and operator LLSD().

Here is the call graph for this function:

Here is the caller graph for this function:

LLProfileParams::operator LLSD (  )  const [inline]

Definition at line 240 of file llvolume.h.

References asLLSD().

Here is the call graph for this function:

bool LLProfileParams::fromLLSD ( LLSD sd  ) 

Definition at line 934 of file llvolume.cpp.

References setBegin(), setCurveType(), setEnd(), and setHollow().

Referenced by LLVolumeParams::fromLLSD().

Here is the call graph for this function:

Here is the caller graph for this function:

const F32& LLProfileParams::getBegin (  )  const [inline]

const F32& LLProfileParams::getEnd (  )  const [inline]

const F32& LLProfileParams::getHollow (  )  const [inline]

const U8& LLProfileParams::getCurveType (  )  const [inline]

void LLProfileParams::setCurveType ( const U32  type  )  [inline]

Definition at line 248 of file llvolume.h.

References mCurveType.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setType(), and LLVolumeMessage::unpackProfileParams().

Here is the caller graph for this function:

void LLProfileParams::setBegin ( const F32  begin  )  [inline]

void LLProfileParams::setEnd ( const F32  end  )  [inline]

void LLProfileParams::setHollow ( const F32  hollow  )  [inline]

Definition at line 251 of file llvolume.h.

References mHollow.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setHollow(), and LLVolumeMessage::unpackProfileParams().

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLProfileParams profile_params 
) [friend]

Definition at line 4105 of file llvolume.cpp.


Member Data Documentation

Definition at line 260 of file llvolume.h.

Referenced by getHollow(), LLProfileParams(), operator<<(), and setHollow().

Definition at line 262 of file llvolume.h.


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

Generated on Fri May 16 09:00:54 2008 for SecondLife by  doxygen 1.5.5