SuperPixelSegmentationGUI::SuperPixelSegmentationGUI(const std::string& imageFileName) { DefaultConstructor(); this->SourceImageFileName = imageFileName; OpenImage(this->SourceImageFileName); }
CGUIEditControl::CGUIEditControl(int parentID, int controlID, float posX, float posY, float width, float height, const CTextureInfo &textureFocus, const CTextureInfo &textureNoFocus, const CLabelInfo& labelInfo, const std::string &text) : CGUIButtonControl(parentID, controlID, posX, posY, width, height, textureFocus, textureNoFocus, labelInfo) { DefaultConstructor(); SetLabel(text); }
int main(int argc, char* argv[]) { DefaultConstructor(); ManipulateNodesEdges(); SetNodeData(); UpdateNodeData(); SetEdgeData(); UpdateEdgeData(); SortNodeData(); }
void FTransaction::FObjectRecord::SerializeContents( FArchive& Ar, int32 InOper ) { if( Array ) { //UE_LOG( LogEditorTransaction, Log, TEXT("Array %s %i*%i: %i"), Object ? *Object->GetFullName() : TEXT("Invalid Object"), Index, ElementSize, InOper); check((SIZE_T)Array >= (SIZE_T)Object.Get() + sizeof(UObject)); check((SIZE_T)Array + sizeof(FScriptArray) <= (SIZE_T)Object.Get() + Object->GetClass()->GetPropertiesSize()); check(ElementSize!=0); check(DefaultConstructor!=NULL); check(Serializer!=NULL); check(Index>=0); check(Count>=0); if( InOper==1 ) { // "Saving add order" or "Undoing add order" or "Redoing remove order". if( Ar.IsLoading() ) { checkSlow(Index+Count<=Array->Num()); for( int32 i=Index; i<Index+Count; i++ ) { Destructor( (uint8*)Array->GetData() + i*ElementSize ); } Array->Remove( Index, Count, ElementSize ); } } else { // "Undo/Redo Modify" or "Saving remove order" or "Undoing remove order" or "Redoing add order". if( InOper==-1 && Ar.IsLoading() ) { Array->InsertZeroed( Index, Count, ElementSize ); for( int32 i=Index; i<Index+Count; i++ ) { DefaultConstructor( (uint8*)Array->GetData() + i*ElementSize ); } } // Serialize changed items. check(Index+Count<=Array->Num()); for( int32 i=Index; i<Index+Count; i++ ) { Serializer( Ar, (uint8*)Array->GetData() + i*ElementSize ); } } } else { //UE_LOG(LogEditorTransaction, Log, TEXT("Object %s"), *Object->GetFullName()); check(Index==0); check(ElementSize==0); check(DefaultConstructor==NULL); check(Serializer==NULL); Object->Serialize( Ar ); } }
int main(int argc, char* argv[]) { DefaultConstructor(); ManipulateNodesEdges(); ManipulateNodeEdgeAttributes(); GetSmallGraph(); }
// Default constructor SuperPixelSegmentationGUI::SuperPixelSegmentationGUI() { DefaultConstructor(); };
Patch::Patch(const itk::ImageRegion<2>& region) { DefaultConstructor(); this->Region = region; }
Patch::Patch() { DefaultConstructor(); }
CGUIEditControl::CGUIEditControl(const CGUIButtonControl &button) : CGUIButtonControl(button) { DefaultConstructor(); }
int main(int argc, char* argv[]) { DefaultConstructor(); ManipulateMMNet(); }