Bifrost SDK
Bifrost SDK documentation
Bifrost::Geometry::VolumeValidator Class Reference

This class validates volume objects have the correct structure. More...

#include <Validator.h>

Inheritance diagram for Bifrost::Geometry::VolumeValidator:
Bifrost::Geometry::GeoValidator

Public Member Functions

Status validate (const Bifrost::Object &object) override
 Validates the given object is a mesh geometry. More...
 
- Public Member Functions inherited from Bifrost::Geometry::GeoValidator
 GeoValidator ()
 
virtual ~GeoValidator ()
 
virtual Status validate (const Bifrost::Object &object)
 Validates the given object. More...
 

Additional Inherited Members

- Public Types inherited from Bifrost::Geometry::GeoValidator
enum class  ErrorCode {
  kNoError = 0 , kInvalidObject , kInvalidProperty , kInvalidSet ,
  kInvalidCount , kInvalidIndex , kMissingTarget , kInvalidTarget
}
 

Detailed Description

This class validates volume objects have the correct structure.

Definition at line 132 of file Validator.h.

Member Function Documentation

◆ validate()

Status Bifrost::Geometry::VolumeValidator::validate ( const Bifrost::Object object)
overridevirtual

Validates the given object is a mesh geometry.

Parameters
[in]objectThe object to validate
Returns
A status object that indicates the validity of the volume.

Reimplemented from Bifrost::Geometry::GeoValidator.