DzSourceFileData Class Reference
[Basic Objects]

DzElementData implementation that stores the source file of an imported item. More...

Inheritance diagram for DzSourceFileData:

DzElementData DzCustomData DzBase QObject Object DzGeomSourceFileData List of all members.

Properties

String sourceFilePath

Constructors

 DzSourceFileData (String filePath="")

Methods

Boolean getGeometryChanged ()
String getPoserRuntimeRelativePath ()
void setGeometryChanged (Boolean onoff)

Detailed Description

DzElementData implementation that stores the source file of an imported item.

This class is mainly used by the framework to store source paths for imported Poser content. The class can be used as follows to retrieve the path of the CR2 file from which a figure was loaded:

Todo:
Examples:
This class could also be used by plugin developers for other custom importers to store the source file for imported items.


Constructor & Destructor Documentation

DzSourceFileData::DzSourceFileData ( String  filePath = ""  ) 

Creates a new Source File Data object that stores the given file path.


Member Function Documentation

Boolean DzSourceFileData::getGeometryChanged (  ) 

Returns:
true if the source geometry has changed, otherwise false.

QString DzSourceFileData::getPoserRuntimeRelativePath (  ) 

Tries to convert the source path into a "Poser" style Runtime-relative path (i.e. ":Runtime:Libraries:Character:FileName.cr2"). Returns the converted path if successful, and an empty string if unsuccessful.

Returns:
The source path.

DzSourceFileData::setGeometryChanged ( Boolean  onoff  ) 

Sets whether or not the source geometry has changed.


Member Data Documentation

String DzSourceFileData::sourceFilePath

The path to the source file.


Generated on Thu Sep 24 12:21:15 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.