LLPathParams Class Reference

#include <llvolume.h>

Collaboration diagram for LLPathParams:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPathParams ()
 LLPathParams (U8 curve, F32 begin, F32 end, F32 scx, F32 scy, F32 shx, F32 shy, F32 twistend, F32 twistbegin, F32 radiusoffset, F32 tx, F32 ty, F32 revolutions, F32 skew)
 LLPathParams (U8 curve, U16 begin, U16 end, U8 scx, U8 scy, U8 shx, U8 shy, U8 twistend, U8 twistbegin, U8 radiusoffset, U8 tx, U8 ty, U8 revolutions, U8 skew)
bool operator== (const LLPathParams &params) const
bool operator!= (const LLPathParams &params) const
bool operator< (const LLPathParams &params) const
void copyParams (const LLPathParams &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 LLVector2getScale () const
const F32getScaleX () const
const F32getScaleY () const
const LLVector2 getBeginScale () const
const LLVector2 getEndScale () const
const LLVector2getShear () const
const F32getShearX () const
const F32getShearY () const
const U8getCurveType () const
const F32getTwistBegin () const
const F32getTwistEnd () const
const F32getTwist () const
const F32getRadiusOffset () const
const LLVector2getTaper () const
const F32getTaperX () const
const F32getTaperY () const
const F32getRevolutions () const
const F32getSkew () const
void setCurveType (const U8 type)
void setBegin (const F32 begin)
void setEnd (const F32 end)
void setScale (const F32 x, const F32 y)
void setScaleX (const F32 v)
void setScaleY (const F32 v)
void setShear (const F32 x, const F32 y)
void setShearX (const F32 v)
void setShearY (const F32 v)
void setTwistBegin (const F32 twist_begin)
void setTwistEnd (const F32 twist_end)
void setTwist (const F32 twist)
void setRadiusOffset (const F32 radius_offset)
void setTaper (const F32 x, const F32 y)
void setTaperX (const F32 v)
void setTaperY (const F32 v)
void setRevolutions (const F32 revolutions)
void setSkew (const F32 skew)

Protected Attributes

U8 mCurveType
F32 mBegin
F32 mEnd
LLVector2 mScale
LLVector2 mShear
F32 mTwistBegin
F32 mTwistEnd
F32 mRadiusOffset
LLVector2 mTaper
F32 mRevolutions
F32 mSkew
U32 mCRC

Friends

std::ostream & operator<< (std::ostream &s, const LLPathParams &path_params)


Detailed Description

Definition at line 308 of file llvolume.h.


Constructor & Destructor Documentation

LLPathParams::LLPathParams (  )  [inline]

LLPathParams::LLPathParams ( U8  curve,
F32  begin,
F32  end,
F32  scx,
F32  scy,
F32  shx,
F32  shy,
F32  twistend,
F32  twistbegin,
F32  radiusoffset,
F32  tx,
F32  ty,
F32  revolutions,
F32  skew 
) [inline]

Definition at line 326 of file llvolume.h.

LLPathParams::LLPathParams ( U8  curve,
U16  begin,
U16  end,
U8  scx,
U8  scy,
U8  shx,
U8  shy,
U8  twistend,
U8  twistbegin,
U8  radiusoffset,
U8  tx,
U8  ty,
U8  revolutions,
U8  skew 
) [inline]


Member Function Documentation

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

Definition at line 431 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScale(), getShear(), getSkew(), getTaper(), getTwist(), and getTwistBegin().

Here is the call graph for this function:

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

Definition at line 447 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScale(), getShear(), getSkew(), getTaper(), getTwist(), and getTwistBegin().

Here is the call graph for this function:

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

Definition at line 464 of file llvolume.h.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScale(), getShear(), getSkew(), getTaper(), getTwist(), and getTwistBegin().

Here is the call graph for this function:

void LLPathParams::copyParams ( const LLPathParams params  ) 

BOOL LLPathParams::importFile ( LLFILE fp  ) 

Definition at line 1285 of file llvolume.cpp.

References BUFSIZE, llendl, llwarns, LLMemType::MTYPE_VOLUME, NULL, S32, setBegin(), setCurveType(), setEnd(), setRadiusOffset(), setRevolutions(), setScale(), setScaleX(), setScaleY(), setShearX(), setShearY(), setSkew(), setTaperX(), setTaperY(), setTwist(), setTwistBegin(), and TRUE.

Referenced by LLVolumeParams::importFile().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPathParams::exportFile ( LLFILE fp  )  const

Definition at line 1406 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScaleX(), getScaleY(), getShearX(), getShearY(), getSkew(), getTaperX(), getTaperY(), getTwist(), getTwistBegin(), and TRUE.

Referenced by LLVolumeParams::exportFile().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1431 of file llvolume.cpp.

References BUFSIZE, llendl, llwarns, LLMemType::MTYPE_VOLUME, S32, setBegin(), setCurveType(), setEnd(), setRadiusOffset(), setRevolutions(), setScale(), setScaleX(), setScaleY(), setShearX(), setShearY(), setSkew(), setTaperX(), setTaperY(), setTwist(), setTwistBegin(), and TRUE.

Referenced by LLVolumeParams::importLegacyStream().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1548 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScaleX(), getScaleY(), getShearX(), getShearY(), getSkew(), getTaperX(), getTaperY(), getTwist(), getTwistBegin(), S32, and TRUE.

Referenced by LLVolumeParams::exportLegacyStream().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD LLPathParams::asLLSD (  )  const

Definition at line 1572 of file llvolume.cpp.

References getBegin(), getCurveType(), getEnd(), getRadiusOffset(), getRevolutions(), getScaleX(), getScaleY(), getShearX(), getShearY(), getSkew(), getTaperX(), getTaperY(), getTwist(), getTwistBegin(), and tut::sd().

Referenced by LLVolumeParams::operator LLSD().

Here is the call graph for this function:

Here is the caller graph for this function:

LLPathParams::operator LLSD (  )  const [inline]

Definition at line 365 of file llvolume.h.

References LLProfileParams::asLLSD().

Here is the call graph for this function:

bool LLPathParams::fromLLSD ( LLSD sd  ) 

Definition at line 1593 of file llvolume.cpp.

References setBegin(), setCurveType(), setEnd(), setRadiusOffset(), setRevolutions(), setScaleX(), setScaleY(), setShearX(), setShearY(), setSkew(), setTaperX(), setTaperY(), setTwist(), and setTwistBegin().

Referenced by LLVolumeParams::fromLLSD().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

const LLVector2& LLPathParams::getScale (  )  const [inline]

Definition at line 370 of file llvolume.h.

Referenced by LLVolumeXml::exportPathParams(), LLVolume::generate(), LLPath::generate(), operator!=(), operator<(), and operator==().

Here is the caller graph for this function:

const F32& LLPathParams::getScaleX (  )  const [inline]

const F32& LLPathParams::getScaleY (  )  const [inline]

const LLVector2 LLPathParams::getBeginScale (  )  const

Definition at line 1106 of file llvolume.cpp.

References getScaleX(), getScaleY(), and LLVector2::mV.

Referenced by LLPath::generate(), and LLVolumeImplFlexible::setAttributesOfAllSections().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLVector2 LLPathParams::getEndScale (  )  const

Definition at line 1120 of file llvolume.cpp.

References getScaleX(), getScaleY(), and LLVector2::mV.

Referenced by LLPath::generate(), and LLVolumeImplFlexible::setAttributesOfAllSections().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLVector2& LLPathParams::getShear (  )  const [inline]

Definition at line 375 of file llvolume.h.

Referenced by LLVolumeXml::exportPathParams(), LLPath::generate(), LLPath::genNGon(), operator!=(), operator<(), and operator==().

Here is the caller graph for this function:

const F32& LLPathParams::getShearX (  )  const [inline]

Definition at line 376 of file llvolume.h.

Referenced by asLLSD(), LLVolumeMessage::constrainVolumeParams(), copyParams(), exportFile(), exportLegacyStream(), and LLVolumeMessage::packPathParams().

Here is the caller graph for this function:

const F32& LLPathParams::getShearY (  )  const [inline]

Definition at line 377 of file llvolume.h.

Referenced by asLLSD(), LLVolumeMessage::constrainVolumeParams(), copyParams(), exportFile(), exportLegacyStream(), and LLVolumeMessage::packPathParams().

Here is the caller graph for this function:

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

const F32& LLPathParams::getTwistBegin (  )  const [inline]

const F32& LLPathParams::getTwistEnd (  )  const [inline]

Definition at line 381 of file llvolume.h.

Referenced by LLVolumeMessage::constrainVolumeParams().

Here is the caller graph for this function:

const F32& LLPathParams::getTwist (  )  const [inline]

const F32& LLPathParams::getRadiusOffset (  )  const [inline]

const LLVector2& LLPathParams::getTaper (  )  const [inline]

Definition at line 384 of file llvolume.h.

Referenced by LLVolumeXml::exportPathParams(), operator!=(), operator<(), and operator==().

Here is the caller graph for this function:

const F32& LLPathParams::getTaperX (  )  const [inline]

Definition at line 385 of file llvolume.h.

Referenced by asLLSD(), LLVolumeMessage::constrainVolumeParams(), copyParams(), exportFile(), exportLegacyStream(), LLPath::genNGon(), and LLVolumeMessage::packPathParams().

Here is the caller graph for this function:

const F32& LLPathParams::getTaperY (  )  const [inline]

Definition at line 386 of file llvolume.h.

Referenced by asLLSD(), LLVolumeMessage::constrainVolumeParams(), copyParams(), exportFile(), exportLegacyStream(), LLPath::genNGon(), and LLVolumeMessage::packPathParams().

Here is the caller graph for this function:

const F32& LLPathParams::getRevolutions (  )  const [inline]

const F32& LLPathParams::getSkew (  )  const [inline]

void LLPathParams::setCurveType ( const U8  type  )  [inline]

Definition at line 390 of file llvolume.h.

References LLProfileParams::mCurveType.

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

Here is the caller graph for this function:

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

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

void LLPathParams::setScale ( const F32  x,
const F32  y 
) [inline]

Definition at line 394 of file llvolume.h.

Referenced by copyParams(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setRatio(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setScaleX ( const F32  v  )  [inline]

Definition at line 395 of file llvolume.h.

References VX.

Referenced by fromLLSD(), importFile(), and importLegacyStream().

Here is the caller graph for this function:

void LLPathParams::setScaleY ( const F32  v  )  [inline]

Definition at line 396 of file llvolume.h.

References VY.

Referenced by fromLLSD(), importFile(), and importLegacyStream().

Here is the caller graph for this function:

void LLPathParams::setShear ( const F32  x,
const F32  y 
) [inline]

Definition at line 397 of file llvolume.h.

Referenced by copyParams(), LLVolumeParams::setCube(), LLVolumeParams::setShear(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setShearX ( const F32  v  )  [inline]

Definition at line 398 of file llvolume.h.

References VX.

Referenced by fromLLSD(), importFile(), and importLegacyStream().

Here is the caller graph for this function:

void LLPathParams::setShearY ( const F32  v  )  [inline]

Definition at line 399 of file llvolume.h.

References VY.

Referenced by fromLLSD(), importFile(), and importLegacyStream().

Here is the caller graph for this function:

void LLPathParams::setTwistBegin ( const F32  twist_begin  )  [inline]

Definition at line 401 of file llvolume.h.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setTwistBegin(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setTwistEnd ( const F32  twist_end  )  [inline]

Definition at line 402 of file llvolume.h.

Referenced by LLVolumeParams::setCube(), LLVolumeParams::setTwist(), and LLVolumeParams::setTwistEnd().

Here is the caller graph for this function:

void LLPathParams::setTwist ( const F32  twist  )  [inline]

Definition at line 403 of file llvolume.h.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setRadiusOffset ( const F32  radius_offset  )  [inline]

Definition at line 404 of file llvolume.h.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setRadiusOffset(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setTaper ( const F32  x,
const F32  y 
) [inline]

Definition at line 405 of file llvolume.h.

Referenced by copyParams(), LLVolumeParams::setCube(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setTaperX ( const F32  v  )  [inline]

Definition at line 406 of file llvolume.h.

References VX.

Referenced by fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setTaper(), LLVolumeParams::setTaperX(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setTaperY ( const F32  v  )  [inline]

Definition at line 407 of file llvolume.h.

References VY.

Referenced by fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setTaper(), LLVolumeParams::setTaperY(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setRevolutions ( const F32  revolutions  )  [inline]

Definition at line 408 of file llvolume.h.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setRevolutions(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:

void LLPathParams::setSkew ( const F32  skew  )  [inline]

Definition at line 409 of file llvolume.h.

Referenced by copyParams(), fromLLSD(), importFile(), importLegacyStream(), LLVolumeParams::setCube(), LLVolumeParams::setSkew(), and LLVolumeMessage::unpackPathParams().

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLPathParams path_params 
) [friend]

Definition at line 4116 of file llvolume.cpp.


Member Data Documentation

Definition at line 415 of file llvolume.h.

Referenced by operator<<().

Definition at line 416 of file llvolume.h.

Referenced by operator<<().

F32 LLPathParams::mEnd [protected]

Definition at line 417 of file llvolume.h.

Referenced by operator<<().

Definition at line 418 of file llvolume.h.

Referenced by operator<<(), and LLPath::PathPt::PathPt().

Definition at line 419 of file llvolume.h.

Referenced by operator<<().

Definition at line 421 of file llvolume.h.

Referenced by operator<<().

Definition at line 422 of file llvolume.h.

Referenced by operator<<().

Definition at line 423 of file llvolume.h.

Referenced by operator<<().

Definition at line 424 of file llvolume.h.

Referenced by operator<<().

Definition at line 425 of file llvolume.h.

Referenced by operator<<().

F32 LLPathParams::mSkew [protected]

Definition at line 426 of file llvolume.h.

Referenced by operator<<().

U32 LLPathParams::mCRC [protected]

Definition at line 428 of file llvolume.h.


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

Generated on Fri May 16 08:59:06 2008 for SecondLife by  doxygen 1.5.5