Ürünlerimize göz atın
Aspose.3D for Java 19.7 lease elease Notes
Improvements ve Changes
Key | Summary | Category |
---|---|---|
THREEDNET-449 | Nodes dönüşüm değerleri ile Problem | Feature |
THREEDNET-526 | Add nokta bulut ihracat desteği Google Draco | Enhancement |
THREEDNET-524 | Add nokta bulut ithalat desteği Google Draco | Enhancement |
THREEDNET-523 | Add nokta bulut desteği PLY formatında | Enhancement |
Public API ve Backwards uyumlu Changes
See API halka yapılan herhangi bir değişiklik listesi, Aspose.3D for Java için yapılan herhangi bir geriye dönük olmayan uyumlu değişimin yanı sıra eklenen, yeniden adlandırılmış, kaldırılmış veya kullanımdan kaldırılmış üyeler. If listelenen herhangi bir değişiklik hakkında endişeleriniz var, lütfenAspose.3D destek forumu.
Added yeni sınıf com.aspose.threed. loud ointloud loud
This sınıfı Aspose.ThreeD.Entities. eoeometry doğrudan devralır ve bir dizi noktayı temsil etmek için kullanılır.
Aclass yeni yöntemler com.aspose.threed.DracoFormat için kod çözme
/**
* Decode the point cloud or mesh from specified file name
* @param fileName The file name contains the drc file
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance depends on the file content
*/
public Geometry decode(String fileName)
throws ImportException;
/**
* Decode the point cloud or mesh from memory data
* @param data The raw drc bytes
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance depends on the content
*/
public Geometry decode(byte[]data)
throws ImportException;
Bir sahne oluşturmadan doğrudan bir draco dosyasından bir örgü çözmek için yeterli kod
PointCloud pointCloud = (PointCloud)FileFormat.DRACO.decode("pointCloud.drc");
Aclass new methods class to class com.aspose.threed.DracoFormat
/**
* Encode the entity to specified stream
* @param entity The entity to be encoded
* @param stream The stream that encoded data will be written to
* @param options Extra options for encoding the point cloud
*/
public void encode(Entity entity, Stream stream, DracoSaveOptions options)
throws IOException;
/**
* Encode the entity to specified stream
* @param entity The entity to be encoded
* @param stream The stream that encoded data will be written to
*/
public void encode(Entity entity, Stream stream)
throws IOException;
/**
* Encode the entity to specified file
* @param entity The entity to be encoded
* @param fileName The file name to be written
*/
public void encode(Entity entity, String fileName)
throws IOException;
/**
* Encode the entity to Draco raw data
* @param entity The entity to be encoded
* @param options Extra options for encoding the point cloud
* @return The encoded draco data represented in bytes
*/
public byte[]encode(Entity entity, DracoSaveOptions options);
/**
* Encode the entity to Draco raw data
* @param entity The entity to be encoded
* @return The encoded draco data represented in bytes
*/
public byte[]encode(Entity entity);
Bir küre ağını bir sahne oluşturmadan doğrudan draco dosyasına kodlamak için yeterli kod
FileFormat.DRACO.encode(new Sphere(), "sphere.drc");
Added yeni getter/setter getdded ointloud loud/setPointloud loud to class com.aspose.threed. DracoSaveptions ptions
/**
* Export the scene as point cloud, default value is false.
*/
public boolean getPointCloud();
/**
* Export the scene as point cloud, default value is false.
* @param value New value
*/
public void setPointCloud(boolean value);
Bir küre ağını draco dosyasına bir nokta bulutu olarak kodlamak için yeterli kod
DracoSaveOptions opt = new DracoSaveOptions();
opt.setPointCloud(true);
FileFormat.DRACO.encode(new Sphere(), "sphere.drc", opt);
Aclass new methods class to class com.aspose.threed. Plylyormat
/**
* Encode the entity and save the result into the stream.
* @param entity The entity to encode
* @param stream The stream to write to, this method will not close this stream
* @param opt Save options
*/
public void encode(Entity entity, Stream stream, PlySaveOptions opt)
throws IOException;
/**
* Encode the entity and save the result into the stream.
* @param entity The entity to encode
* @param stream The stream to write to, this method will not close this stream
*/
public void encode(Entity entity, Stream stream)
throws IOException;
/**
* Encode the entity and save the result into an external file.
* @param entity The entity to encode
* @param fileName The file to write to
* @param opt Save options
*/
public void encode(Entity entity, String fileName, PlySaveOptions opt)
throws IOException;
/**
* Encode the entity and save the result into an external file.
* @param entity The entity to encode
* @param fileName The file to write to
*/
public void encode(Entity entity, String fileName)
throws IOException;
Bir sahne oluşturmadan doğrudan dosyayı katlamak için yeterli kod.
FileFormat.PLY.encode(new Sphere(), "sphere.ply");
Aclass yeni yöntemler com.aspose.threed. Plylyormat için kod çözme
/**
* Decode a point cloud or mesh from the specified stream.
* @param fileName The input stream
* @param opt The load option of PLY format
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance
*/
public Geometry decode(String fileName, PlyLoadOptions opt)
throws IOException;
/**
* Decode a point cloud or mesh from the specified stream.
* @param fileName The input stream
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance
*/
public Geometry decode(String fileName)
throws IOException;
/**
* Decode a point cloud or mesh from the specified stream.
* @param stream The input stream
* @param opt The load option of PLY format
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance
*/
public Geometry decode(Stream stream, PlyLoadOptions opt)
throws IOException;
/**
* Decode a point cloud or mesh from the specified stream.
* @param stream The input stream
* @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance
*/
public Geometry decode(Stream stream)
throws IOException;
Bir kat dosyasından bir örgü/nokta bulutu çözmek için yeterli kod:
Geometry geom = FileFormat.PLY.decode("sphere.ply");
Dded dded getter/setter getdded ointloud loud ve setPointloud loud to class com.aspose.threed. Plyaveaveaveptions
/**
* Export the scene as point cloud, the default value is false.
*/
public boolean getPointCloud();
/**
* Export the scene as point cloud, the default value is false.
* @param value New value
*/
public void setPointCloud(boolean value);
Bir sahneyi nokta bulutu olarak katlamak için yeterli kod
PlySaveOptions opt = new PlySaveOptions();
opt.setPointCloud(true);
FileFormat.PLY.encode(new Sphere(), "sphere.ply", opt);